You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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
 AttributeTypeDescription
tagssiteStringsite name
 appNameStringapplication/topology name
fieldsmainClassStringapplication main class
 jarFileStringjar file path
 configFileStringapplication configuration file path
 deployEnvironmentStringcluster name
 statusStringapplication status: INITIALIZED, RUNING, FAILED, STOPPED

Cluster Definition

  • Service name: ClusterDefinitionService
  • Table name: cluster_definition
 AttributeTypeDescription
tagsnameStringcluster name
 typeStringe.g., storm, spark
 configjsoncluster config

Flow Chart

topologyManageChart

Use cases

  1. NEW
    1. create a topology definition entity, whose initial status is INITIALIZED
  2. START
    1. choose the deployed cluster
    2. click START button, and after updating the status to STARTING, a new thread is created to execute the submitting topology task
  3. STOP
    1. click STOP button

 

 

  • No labels