on 02-22-2017 10:48 AM - last edited on 02-04-2024 3:45 AM by postmig_api_4
We pretend to retry a publication. We have two publications: the first with id 1, and the second with id 2. We pretend to retry with a POST call:
POST http://localhost:8080/datahub-webapp/v1/pools/GLOBAL/publications
We try to publish again the second publication:
Body with actionId=2
{
"actionId":"2",
"type":"RETRY_ITEMS_PUBLICATION",
"targetSystemPublications": [
{
"targetSystemName": "HybrisCore"
}
]
}
But only the first publication is attempted again. Also tried with an unknown action id, and also retries the first publication.
Body with actionID unknown
{
"actionId":"999",
"type":"RETRY_ITEMS_PUBLICATION",
"targetSystemPublications": [
{
"targetSystemName": "HybrisCore"
}
]
}
In these tables you can see the result:
Publicationaction
Publicationretry
How this POST call works? How can we retry one desired publication?
Here is the relevant quote from the help page about Manual Retry Publications (emphasis mine):
The retry publication retries every IGNORED or FAILED canonical items, it does not differentiate between publicationsThe publication attempts to manually publish any canonical item that has a canonical item publication status of FAILURE or IGNORED. It does not include items that have been created, updated, or marked as deleted to a given target system. The retry includes all items that have a CanonicalItemPublicationStatus status of IGNORED or FAILURE for a given target system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.