Registering and Managing Applications¶
EnOS™ provides developers with the ability to create applications, delete applications, purchase applications, and manage the organization’s application users, where menu and permission management are mainly for application portal developers.
Registering an Application¶
When calling EnOS REST APIs for application development, a service account (SA) issued by EnOS is required as parameters. The SA consists of the
secretKey, which are generated by registering an application on EnOS through the following steps.
Navigate to the Application Registration page of the EnOS Management Console via the navigation menu on the left and click Create App.
Fill in the application information.
Field Description Name The name of application, limited to 100 characters. Internationalization of the name is optional. If not given, the text entered in this field would be used. Identifier The ID for this application. URL The URL of the application, limited to 2000 characters. Category The industry or business that the application will be used for. Type The application type, whether it is used for Web or mobile. Icon The icon for the application. The icon has to be either jpg or png, 200x200 pixels, with a maximum size of 50KB. Description The description of the application, limited to 1000 characters for both English and Chinese text. Internationalization of the description is optional. If not given, the text entered in this field would be used.
Click Confirm to finish.
After the application is created, it will be listed under the Apps of This OU tab. Click the application name to view its detailed information (such as the
Permission refers to an independent permission resource in an application. For example, there are three remote functions in an application menu: remote start, remote stop, and remote reset. Among the users who can access this application, only a few users have the permission to use those functions.
Click Permission > Create Access Point in the App Detail page, and fill in the information in the pop-up window.
|Name||The name of the menu, limited to 40 characters. Internationalization of the name is optional. If not given, the text entered in this field would be used.|
|Identifier||The access point ID. This field supports letters, numbers, underscore (_) and period (.), and needs to be within 4 to 30 characters.|
|Description||The menu description, limited to 500 characters. Internationalization is optional. If not given, the text entered in this field would be used.|
After the access points are created, they can be viewed and edited under the Permission tab.
Managing Application Users¶
When clients or other developers send requests to purchase your application through EnOS, you will need to process the requests and manage the resource authorization in the App Detail page.
Click the Requests Pending Approval tab to view the pending client requests.
Approve or reject the purchase requests by clicking the icon .
All approved requests are listed under the Customer tab in the App Detail page, where the application developer can view and modify the menu and permission authorization.
Purchasing an Application¶
Application developers can sell or purchase applications through EnOS. This facilitates application sharing and reduces the repetitive developing of similar applications.
If you want to purchase an application that is developed on EnOS, go to Application Registration in the EnOS Management Console, click the Purchased tab and click the Purchase Application button. Provide the
accessKey in the window to search for the application and submit the purchase request. Contact the application developer offline about the purchase request if needed. The application developer will then approve your purchase request and allocate the relevant application resources to you, after which you can find the application under the Purchased tab.