Skip to content

ahsankamal/edgeworkers-intellij

 
 

Repository files navigation

Akamai EdgeWorkers IntelliJ Plugin

Install

  1. Install IntelliJ IDEA: https://www.jetbrains.com/idea/download/

  2. Create or open a Project

  3. Open IntelliJ Preferences and go to the Plugins interface:

  1. Search for "EdgeWorkers" and hit the Install button.

  2. After a moment it should be installed.

Dependencies / Usage

  1. The EdgeWorkers Explorer pane is available by going to View -> Tool Window -> EdgeWorkers Explorer. After selecting this it will appear on the left side of the window.

  2. The EdgeWorkers VSCode extension depends on the Akamai CLI, minimum version 1.3.0 with EdgeWorkers command minimum version 1.4.1. Many of our customers will already have this set up, but if not on first launch of the EdgeWorkers panel they will be prompted to install and set up OPEN API credentials in .edgerc as outlined in the developer docs. Usage from here assumes you have completed this step and have met the minimum version requirement.

  3. Additional configuration is available in the IntelliJ Preferences; most customers will not need to use this but if they use multiple .edgerc sections or a custom edgerc path they will, and Akamai internal users will likely need to fill in Account Key here:

Functionality

  1. List EdgeWorkers in the explorer by using the refresh button as highlighted on the left:

  1. See EdgeWorker versions and version file contents by clicking through the tree:

  1. View file contents by clicking on them:

  1. Download a full EdgeWorker via right-click menu:

  1. Activate an EdgeWorker version via the same menu:

  1. Or by using the icon at the top of the pane:

  1. A brand new EdgeWorker can be registered by using the icon right of it:

  1. And a new version for an existing EdgeWorker can by added via the icon left:

  1. Finally a new EdgeWorker bundle/tgz can be created and automatically validated by right clicking on an EdgeWorker bundle.json source file in the Project pane:

  1. And that produced tgz, or any other EdgeWorker tgz, can be

  2. Tested in EdgeWorker sandbox or

  3. uploaded as a new version

via right click menu on the file:

About

IntelliJ plugin for Akamai EdgeWorkers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.4%
  • JavaScript 0.6%