Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Note: Please mind that Ignite Web Console in Beta

First beta was released as part of ignite-1.6 release.

Specific frameworks:

  • Main SPA stackFrontend: AngularJS  AngularJS 1.5.x / Bootstrap  Bootstrap 3.x / JADE / SASS / ...Webpack
  • Backend: NodeJS 46.x / fire-up

Web Agent

Ignite Web Agent is a java standalone application that allow to connect Ignite Grid to Ignite Web Console.
Ignite Web Agent communicates with grid nodes via REST interface and connects to Ignite Web Console via web-socket.

Two main functions of Ignite Web Agent:
1. Proxy between Ignite Web Console and Ignite Grid to execute SQL statements and collect metrics for monitoring.
You may need to specify URI for connect to Ignite REST server via "-n" option.

2. Proxy between Ignite Web Console and user RDBMS to collect database metadata for later CacheTypeMetadata configuration.
You may need to copy JDBC driver into "./jdbc-drivers" subfolder or specify path via "-d" option.

Usage example:
ignite-web-agent.sh

Configuration file:
Should be a file with simple line-oriented format as described here: http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html#load(java.io.Reader)

Available entries names:
tokens
server-uri
node-uri
driver-folder

Example configuration file:
tokens=1a2b3c4d5f,2j1s134d12
serverURI=https://console.example.com:3001

Security tokens:
1) By default security token of current user will be included into "default.properties" inside downloaded "ignite-web-agent-x.x.x.zip".
2) One can get/reset token in Web Console profile (https://<your_console_address>/settings/profile).
3) One may specify several comma separated tokens using configuration file or command line arguments of web agent.

Ignite Web agent requirements:

...

Ignite Web Console is an interactive configuration wizard and management tool for Apache Ignite.

Web console 1.7

How to deploy locally:

  1. Install locally MongoDB (version >=3.x) follow instructions from site http://docs.mongodb.org/manual/installation.
  2. Install locally NodeJS (version >=4.x) using installer from site https://nodejs.org for your OS.
  3. Change directory '$IGNITE_HOME/modules/web-console/src/main/js'.

  4. Run "npm install --no-optional" in terminal in directory '$IGNITE_HOME/modules/web-console/backend for download dependencies for backend.
  5. Run "npm install --no-optional" in terminal in directory '$IGNITE_HOME/modules/web-console/frontend for download dependencies for frontend.
  6. Build ignite-web-agent module follow instructions from 'modules/web-agent/README.txt'.
  7. Copy ignite-web-agent-<version>.zip from target of ignite-web-agent module to 'modules/web-console/backend/agent_dists' folder.

Steps 1 - 7 should be executed once.

How to run console in development mode:

  1. Configure MongoDB to run as service or in terminal start MongoDB by executing "mongod".
  2. In new terminal change directory to '$IGNITE_HOME/modules/web-console/backend'.
    If needed run "npm install --no-optional" (if dependencies changed) and run "npm start" to start backend.

  3. In new terminal change directory to '$IGNITE_HOME/modules/web-console/frontend'.
    If needed run "npm install --no-optional" (if dependencies changed) and start webpack in development mode "npm run dev".

  4. In browser open: http://localhost:9000

Web console 1.6

How to deploy locally:

  1. Install locally MongoDB (version >=3.x) follow instructions from site http://docs.mongodb.org/manual/installation.
  2. Install locally NodeJS (version >=4.x) using installer from site https://nodejs.org for your OS.
  3. Change directory '$IGNITE_HOME/modules/web-console/src/main/js'.
  4. Run "npm install" in terminal for download all dependenciesbackend dependencies.
  5. Run "jspm install" in terminal for download frontend dependencies.
  6. Build ignite-web-agent module follow instructions from 'modules/web-agent/README.txt'.
  7. Copy ignite-web-agent-<version>.zip from target of ignite-web-agent module to 'modules/web-console/src/main/js/serve/agent_dists' folder.

...