Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.

Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |

Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Create promotion schedule
This API creates schedules for promoting packages from one lifecycle stage to the next.
scheduledOn
- time of promotion of the package
fromStage
- lifecycle stage from which the package should be promoted to the next stage
URI | Method | Parameters | Returns |
---|---|---|---|
/codar/app/scheduler/{packageId}/promote | POST | packageId: Package ID of the package whose promote action needs to be scheduled. |
200 - updated |
Examples
The following URL was sent:
https://localhost:8444/csa/api/codar/app/scheduler/{packageId}/promote?packageId=8d40f511-0d8c-458a-bcb9-8281154c5350
The following JSON was sent:
{
"promotionSchedules":[
{
"name":"Schedule For Promote in testing",
"fromStage":"TESTING",
"scheduledOn": "04/29/2016 5:30 PM",
"comments": "Schedule for the Testing stage"
},
{
"name":"Schedule For Promote in staging",
"fromStage":"STAGING",
"scheduledOn": "04/30/2016 2:30 PM"
}
]
}
JSON attributes
JSON attribute | Description |
name
|
Job name of the schedule |
fromStage
|
Life cycle stage from which the package should be promoted at this schedule. The life cycle stage should be one of the valid lifecycle stages for the design of the package. |
scheduledOn
|
Schedule date and time in the format MM/dd/yyyy hh:mm a as shown in the example. |
comments
|
Comments that provide details of the schedule. |
The following JSON was returned:
{
"members": [
{
"@self": "/csa/api/codar/app/scheduler/d3529b45-19ec-4823-a704-7e87e06906f1",
"@type": "urn:x-hp:2012:software:cloud:data_model:scheduler",
"id": "d3529b45-19ec-4823-a704-7e87e06906f1",
"name": "Schedule For Promote in testing",
"scheduledOn": "2016-04-29T12:00:00.000Z",
"status": "PENDING",
"eventType": "ONE_TIME",
"type": "PROMOTION",
"createdBy": "admin",
"createdOn": "2016-04-28T08:41:38.063Z",
"promotionSchedule": {
"comments": "Schedule for the Testing stage",
"packageId": "8d40f511-0d8c-458a-bcb9-8281154c5350",
"fromStage": "TESTING",
"fromStageDisplayName": "Testing"
}
},
{
"@self": "/csa/api/codar/app/scheduler/bb0560ba-371d-48d7-8962-bfdb3419efb9",
"@type": "urn:x-hp:2012:software:cloud:data_model:scheduler",
"id": "bb0560ba-371d-48d7-8962-bfdb3419efb9",
"name": "Schedule For Promote in staging",
"scheduledOn": "2016-04-30T09:00:00.000Z",
"status": "PENDING",
"eventType": "ONE_TIME",
"type": "PROMOTION",
"createdBy": "admin",
"createdOn": "2016-04-28T08:41:38.084Z",
"promotionSchedule": {
"comments": "",
"packageId": "8d40f511-0d8c-458a-bcb9-8281154c5350",
"fromStage": "STAGING",
"fromStageDisplayName": "Staging"
}
}
]
}
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to clouddocs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: