Difference between revisions of "42Q-MES0166 Customization Platform"

From 42Q
Jump to navigation Jump to search
Line 237: Line 237:
 
 
 
 
  
== <span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application"><span class="mw-headline" id="Active_.2F_Disable_an_Application">Active / Disable an Application</span></span></span></span></span></span></span></span></span></span></span></span></span></span> ==
 
 
Users are able to activate or disable current applications listed in the Launchpad Maintenance portlet.
 
 
In order to activate or disable an application, users must follow the next steps below: &nbsp;
 
 
#'''Select''' an application from the list.
 
#Click the&nbsp;'''Active/Disable''' button to activate or disable the selected application.
 
 
&nbsp;
 
 
&nbsp;'''Figure 9: Disabling an Application'''
 
 
[[File:CP DisablinganApp.png|700px|CP DisablinganApp.png]]
 
 
&nbsp;
 
 
'''<u>Note:</u>&nbsp;'''Applications that are currently active are marked with a blue checked icon under the&nbsp;'''“Active” '''column.
 
  
 
&nbsp;
 
&nbsp;
 
'''Figure 10: Application Disabled'''
 
 
[[File:CP AppDisabled.png|700px|CP AppDisabled.png]]
 
  
 
&nbsp;
 
&nbsp;

Revision as of 20:26, 18 July 2023

42Q Home > Administration > Customization Platfom
 

 



  Administration

Customization Platform 

Version MES 15.77

Revision B1

 

 

 


Introduction

The Customization Application Platform provides a platform that allows customization teams or customers to develop customized applications that can access MES data through an API.

Process of Customization Platform for External Customers:

 

  1. Developer Register
  2. The support team configures the app and assigns the APIs to the developer
  3. The developer develops the custom app
  4. Dev-Ops run Terraform script to create a Sandbox server to host custom apps
  5. The support team configures the Sandbox information into Server Information 
  6. Site admin uploads and deploys the custom apps

 

Process of customization platform for 42Q:

  1. The customization team develops custom apps
  2. Dev-Ops run TF script to deploy the custom apps to a Sandbox server

 

  The Customization Application Platform is organized by the following portlets:

  • Server Information Configuration
  • Customizations Apps
    • Custom Apps Management
    • Target Info


 

Server Information Configuration

 

The Server Information form must be filled in by the 42Q support team; Below are the steps listed to set up the configuration for Server Information:

From the menu panel, navigate to Administration > Server Information

 

Figure 1: Server Information Portlet

SIP test.jpg

 

To add new server information, click the Add button.

  1. Fill in the fields with the corresponding information.
  2. To save the server information, click the Save button or Cancel to abort

 

Figure 2: Filling In The New Server Information

SIP FillingInTheNewServerInfo.png

 

 


Customization Apps

The Customization Apps Section is groped by the following three portlets: Custom Apps Management, Launch Pad MAintenance, and Target Info, below, each of these portlets will be explained.

 

Figure 3: Customization Apps

SIP CustomizationApps.png

 

 

Custom Apps Management

The Site administrator utilizes this portlet to effortlessly upload and deploy custom apps. Users have the freedom to develop their application and package it as a .war file. By using the launching pad upload page, users can easily upload the .war file. Once uploaded, users can navigate to the launchpad, where they will find their application's icon, ready to be launched and opened.

 

Upload 

To upload a new file packed .war file. users can take a .war file as an installation package.

 

Figure 4: Customization Apps Upload

SIP Upload.png

 

 

Deploy All Custom Apps

To access the Custom Apps Management portlet, navigate toAdministration > Customization Apps > Custom Apps Management.

To deploy all the custom applications, click on the Deploy All button and a pop-up window will display, users may notice that the column Status indicates whether the deployment was successful (blue tick icon) or not (red ex icon).


Figure 5: Deploying All The Custom Apps

SIP DeployAll.png

 

Note: It is not possible to deploy only one or various custom apps; By clicking on the Deploy All button, all the apps listed will be deployed.

Press the Deploy All button as seen to retry deploying all the apps that failed to be deployed, however, if users retry the deployment, the Deployment History ID and Time values will change.

 

Figure 6: Deployment Details

SIP DeployAllDetails.png

 

Note: Users may have to wait between  5 and 15 minutes to run the launchpad after deploying successfully.

 

 

Delete a Custom App

To delete a custom app, select the app to be deleted and click on the Delete button.


Figure 7: Select and Delete Custom App

SIP SelectandDelete.png

 

 

Launchpad Maintenance Configuration

TheLaunchpad Maintenance Configuration Portlet is used by the 42Q support team, site admin, and customization team to maintain the custom app entry in the MES Portal.   

 


Add a New Application

From the menu panel, navigate to Administration > Customization Apps > LaunchPad Maintenance

To add a new application, click the Add button.  

  1. Enter a name for the application.
  2. Enter the URL of the application.
  3. In the Icon field, enter the image address of the application icon.
  4. Notice that the Type field is filled in automatically with the default value ‘Iframe’.
  5. Enter the application’s version
  6. Click the Save button to save the information or Cancel to abort


Figure 8: Filling In The App Information

SIP AddAppInfo.png

 

Edit will change how the application shows when opening.

Note: To Edit an application, select an application from the list and click the edit button on the header. Change the information of the app and click to Save or Cancel.


Active / Disable an Application

Users are able to activate or disable current applications listed in the Launchpad Maintenance portlet.

In order to activate or disable an application, users must follow the next steps below:  

  1. Select an application from the list.
  2. Click SIP icon1.png  the  button on the header to activate or disable the selected application

Note: Applications that are currently active are marked with a blue checked icon under the “Active” column, and applications that have been disabled are marked with a gray checked icon under the“Active” column.

 

Figure 9: Active / Disable

SIP Active Disable.png

 

 

Target Info 

This portlet is used by the 42Q administrator to generate the site-target string and add this string to the app attribute in Apigee. Doing so will allow the app to gain access to the site/target’s data defined in the string.

From the menu panel, navigate to Administration > Customization Apps > Target Info.

This portlet will be used by the 42Q support team in order to provide external Engineers with the Target.

 

Targets

To visualize the user’s Target, select the Site and click on the Targets button, to close the pop-up window click on the OK button.

 

Figure 10: Target Provided By The 42Q Support Team

SIP Targets.png

 


 

 

 


 


 

 

Custom Apps Management

The Site administrator uses this portlet to upload and deploy the custom apps.

 

 

Deploy All Custom Apps

To access the Custom Apps Management portlet, navigate to Administration > Customization Apps > Custom Apps Management.

To deploy all the custom applications, click on the Deploy All button, a pop-up window will display as in Figure 12, users may notice that the column Status indicates whether the deployment was successful (blue tick icon) or not (red ex icon).

 

Figure 11: Deploying All The Custom Apps

CP DeployingAllTheCustomApps.png

Note: It is not possible to deploy only one or various custom apps; By clicking on the Deploy All button, all the apps listed will be deployed.

 

Press the Deploy All button as seen in Figure 12 to retry deploying all the apps that failed to be deployed, however, if users retry the deployment, the Deployment History ID and Time values will change.

 

Figure 12: Deployment Details

CP DeployDetails.png

Note: Users may have to wait between  5 and 15 minutes to run the launchpad after deploying successfully.

 

 

 


 


 

 

Figure 19: Server Information Shop Floor ID

CP ServerInfoShopOrderID.png

Note: Notice that the Target matches with the Shop Floor ID from the server information portlet.