THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Objective
To have a better user experience with EAGLE ui, we should provide an interface to manage a certain topology via the ui page, such as START, STOP, or STATUS
Schema
Topology Definition
- Service name: AppManagementService
- Table name: application_definition
Attribute | Type | Description | |
---|---|---|---|
tags | site | String | site name |
appName | String | application/topology name | |
fields | mainClass | String | application main class |
jarFile | String | jar file path | |
configFile | String | application configuration file path | |
deployEnvironment | String | cluster name | |
status | String | application status: INITIALIZED, STARTING, RUNING,STOPPING, STOPPED |
Cluster Definition
- Service name: ClusterDefinitionService
- Table name: cluster_definition
Attribute | Type | Description | |
---|---|---|---|
tags | name | String | cluster name |
type | String | e.g., storm, spark | |
config | String | cluster config |
Flow Chart
Use cases
- NEW
- create a topology definition entity, whose initial status is INITIALIZED
- START
- choose the deployed cluster
- click START button, and after updating the status to STARTING, a new thread is created to execute the submitting topology task
- STOP
- click STOP button, and a new thread is created to stop the topology