Reply
Golden
emarcus
Posts: 232
Registered: 05-28-2010
0

Zeus Plugin for Eclipse

[ Edited ]

About this extension:

  • Author:       Owen Garrett
  • Released:  21/03/2011 - 9:10am
  • License:     Eclipse Public License

 

Eclipse is one of the most popular IDEs (Integrated Development Environments). Its slick user interface makes it faster and easier to manage and edit your current software project.

 

eclipse-banner

 

The Zeus plugin allows you to edit your TrafficScript code in Eclipse, making it easier and faster to edit and deploy your rules:

  • Full syntax highlighting for TrafficScript rules, making it easier to edit and manage complex rules
  • TrafficScript auto-completion, code hints and online help to create powerful rules more quickly
  • The ability to manage rules on several Zeus clusters, comparing rules and copying rules from one cluster to another
  • Instant deployment of rules to a Zeus cluster for faster and more responsive implementation of changes
  • Syntax checking and validation, ensuring that a faulty rule is never deployed to a Zeus system



Installing the Plugin

 

To install the plugin you must have the following:

Eclipse installs plugins via an automatic update site, which is used to download and install the latest version of a particular plugin. To install the Zeus Plugin in Eclipse:

  • In Eclipse select the Help menu and then Software Updates...
  • Go to the Available Software tab.
  • Click the Add Site... button and enter into the dialog: http://www.zeus.com/eclipse

eclipse-2b

 

  • The Zeus update site should appear in the main site list, under which the Zeus Plug-in should be listed. Check the box next to it.
  • Click Install... and follow the instructions given by the install wizard. The plugin should be downloaded and configured.

Restart Eclipse after completing the installation when prompted.  The plugin should now be installed.

 

Getting started

 

Open the Zeus perspective, which sets up Eclipse to edit rules:

  • From the menu bar go Window -> Open Perspective -> Other... and select Zeus in the dialog that appears. Eclipse should then rearrange its self to display a Zeus Viewer on the left hand side.

Connecting to a Zeus Traffic Manager cluster

 

Eclipse keeps all its code in projects, and a Zeus Project connects to a Zeus Traffic Manager cluster and lets you edit its TrafficScript rules. To add a new project click the Add new Zeus project button at the top of the Zeus Viewer:

 

eclipse-3

 

The Create a New Zeus Project wizard will appear:

 

eclipse-4

 

Provide the details of the Zeus cluster you want to manage in Eclipse and hit OK. The plugin will then try and connect to the Zeus system you specified, and will create the project once successful. The Zeus Viewer should now show your Zeus Traffic Manager with all the rules on it.

 

You can now edit a TrafficScript rule and deploy it from within Eclipse.  When you edit a TrafficScript rule, Eclipse provides syntax highlighting, code completion and documentation to help you create your TrafficScript code more quickly and accurately:

 

eclipse-5

 

You can drag-and-drop rules between clusters, and when you save a rule, it is immediately deployed to the Zeus cluster.  If you have a syntax error in your rule, Eclipse will detect this and prevent the rule from being deployed.

 

You can manage several Zeus clusters within Eclipse, and drag-and-drop rules between each:

 

eclipse-6

 

You can use the Navigator to compare rules to determine how they differ.  The ‘Compare’ view allows you to copy individual changes from one rule to another.

 

eclipse-7

 

License

 

All parts of the Zeus Plugin for Eclipse are licensed under the Eclipse Public License , v. 1.0 (http://www.eclipse.org/legal/epl-v10.html), apart from the Apache Axis SOAP libraries, which are licensed under the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0).



Download this extension below:

 

‬‪‬‪‬‪