Promotion

Promotion is the movement of selected content from a source system to an already configured target system. Sometimes called partial promotion, promotion of metadata content is typically used to support movement across development, test, and production environments. It is possible to have multiple such environments depending on the workflow and policies of the organization.
For SAS Micro Analytic Service, content refers to the modules that have been deployed.
The source code for the modules can be retrieved from a source system using the REST API call:
GET http:/host:port/SASMicroAnalyticService/rest/modules/{moduleId}/source
This returns a JSON object that contains the source code of the module.
The same source code can be posted to the target system using the REST API call:
POST http:/host:port/SASMicroAnalyticService/rest/modules
In SAS Micro Analytic Service 2.2, the module ID is based on the DS2 package name and is not a generated GUID. This ensures that the modules created from the same package have the same module ID.