Overview
Application Management component is using to store, deploy, undeploy Applications (Locally or Remotely) over different A-Stack (Edge/Device). This also maintains states of Deployed Applications on Edge/Device.
Models
<!-- A-Stack Model --> <DataModel name="AStackDetail"> <Sid name="sysId" /> <String name="Type" /> <String name="Name" /> <String name="AStackId" /> <String name="URL" /> </DataModel> <!--Application Model --> <DataModel Name="Application" Documentation="Application Model"> <Sid Name="AppId" /> <String Name="Name" /> <String Name="Version" /> <String Name="AppDownloadURL" /> <String Name="AppShortName" /> <String Name="tqlFacetName"/> <Boolean Name="IsTargetSchemaApplication"/> <Boolean Name="IsAppConfigurable" default="True" cardinality="1"/> </DataModel> <!--Application Deploy mapping Model --> <DataModel Name="DeployedApp" Documentation="Application mapping with A-Stack"> <Sid Name="sysId" /> <String Name="AppId" /> <String Name="AStackId" /> <String Name="State" /> <DateTime Name="InstalledDate" Cardinality="1" Format="$SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')"/> <DateTime Name="LastActivated" Cardinality="1" Format="$SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')"/> <DateTime Name="LastStopped" Cardinality="1" Format="$SimpleDateFormat(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')"/> </DataModel>
Features
As shown above Application Management is having following features in sequence.
Register Application
Register A-Stack
Mapping of Application with A-Stack
Deploy Application on Registered A-Stack
UnDeploy Application on Registered A-Stack
Find Deployed Applications Details by A-Stack
Find A-Stacks Details by DeployedApplication
Deploy Application Locally
UnDeploy Application Locally
Delete Application from AStack
Delete AllApplications from AStack
Get Application List
Get Application config Parameters (from resources/<APP_FOLDER>/config/<APP_SHORT_NAME>.config.xml, if present)
Update Application config Parameters (in resources/<APP_FOLDER>/config/<APP_SHORT_NAME>.config.xml, if present)
Installation Prerequisites
This component requires sff.bundle.tqlconsole.jar in sff.auto.launch folder.
Installation
This is independent TQL project. This will be deployed as a server side to get/store the data related to Applications & A-stacks to show on ManagmentDashboard component. It should be deployed to remotely deploy Application at client (Edge/Device) end.
Default Endpoint : http://<IP_Address>:<Port>/fid-AppManagement