UI Mockup
Gliffy Diagram | ||||
---|---|---|---|---|
|
Application & Feature
Gliffy Diagram | ||||
---|---|---|---|---|
|
...
Each application is made up with serval features. And feature can share between applications. Feature does the basic job of the application. For example, Policies & Alerts in Eagle DAM is the base feature. Each application includes customized application using this feature wills both display the policies & Alerts in navigation bar. If you want to extend the application, you can customize feature. But avoid modify original feature for special usage.
UI Metadata
Feature Description Service
Features description and look-up service
- Service Name: FeatureDescService
- Table name: eagle_feature_desceagleFeatureDesc
Attributes | Type | Description | |
---|---|---|---|
Tags | feature | String | feature name/id |
Fields | versiondesc | Stringversion | numberFeature description |
Fields | descriptionversion | StringFeature | descriptionversion number |
Application Description Service
Describe how many applications that eagle currently supports, so that user could know how many applications are able to be selected from for certain site.
- Service Name: ApplicationDescService
- Table name: eagle_application_desceagleApplicationDesc
Attributes | Type | Description | |
---|---|---|---|
Tags | application | String | application name/id |
Fields | descriptiondesc | String | application description |
group | String | application group type. Will merge into one group in UI | |
alias | String | display name | |
features | List<String> | features name/id | |
config | String | resource resolver config for front end |
Site Description Service
- ServiceName: SiteDescService
- TableName: eagle_site_desceagleSiteDesc
Attributes | Type | Description | |
---|---|---|---|
Tags | site | String | site name/id |
Fields | enabled | Boolean | true/false |
Site Application Service
Like AlertDataSourceEntity
- ServiceName: SiteApplicationService
- TableName: eagle_site_applicationeagleSiteApplication
Attributes | Type | Description | |
---|---|---|---|
Tags | site | String | site name/id |
application | String | application name/id | |
Fields | configurationconfig | String | data source configuration json |
enabled | Boolean | enable or not |
RestAPIs
/module/siteApplication POST
create/update site and siteApplication entities
/module/site? site={siteName} DELETE
delete site by siteName
/module/application?application={applicationName} DELETE
delete application by applicationName
/module/feature?feature={featureName} DELETE
delete feature by featureName
/entities?query={query-string}&pageSize=1000 GET
get entities by service name
/entities?serviceName={serviceName} POST
create/update entities by service name