Question
Allianz
DE
Last activity: 5 Sep 2017 20:26 EDT
Pega API to get branch conflicts returns Pega_API_029 (Missing Application) error code - PRPC 7.3
When i test the API call to check for conflicts (http://URL/prweb/api/v1/branches/<Branch name>/conflicts), this returns the error code Pega_API_029 (Missing application):
{ "pxObjClass":"Pega-API-CI-Branch" ,"errors":[ { "ID":"Pega_API_029" ,"message":"Missing Application" ,"pxObjClass":"Pega-API-Error" } ] }
This error is not documented, and i cannot find any reference to this error in PDN.
I am trying to setup a build pipeline for Pega, using 7.3.x version (now with 7.3), but the first call i do to the API fails.
I called the method /branches/<branch name>/reviews, and created a review using the API, but getConflicts returns an error.
***Updated by moderator: Lochan to add SR details***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Hello!
On reviewing the corresponding SR, we see that it has been resolved. SA-42110 was created as a result of the investigation. Please reference that if you have the same question.
Thank you,
Sopra Steria Group
FR
Hello, I have the same problem, can you please look into this ? Is there an explanation or do we need to create a Service Request to get this fixed ?
JPMorgan Chase & Company
US
Hi,
Could you please let us know are you trying to commit the changes to branch or building the application ?
Allianz
DE
I am ultimately trying to deploy the application automatically, as part of our CI/CD strategy.
One of the steps of our build pipeline is to check for merge conflicts.
Cognizant Technology Solutions Australia Pty Ltd
AU
Hi, Can you please help us establish CI and CD using Bamboo CI tool. We need to perform the below steps and looking for help on the below items:
1. Locking the rule set and creating higher rule set version for next release using CI tools or some command line
Sopra Steria Group
FR
I'm trying to check for conflicts on a specific branch.
Sopra Steria Group
FR
Raised SR-B68935 on that matter.
Pegasystems Inc.
IN
Hi Sebastien
SR-B70495 is raised for this issue not SR-68935.
Regards
Saran Kolla
Pegasystems Inc.
IN
Thank you!
I have tagged SR-B70495 to the original post above.
Pegasystems Inc.
IN
You need to set the values for Param.ApplicationName and Param.ApplicationVersion in pySetApplicationDefaults Data Transform in Pega-API-CI-Branch.
If you are also going to merge, you're also need to update pySetVersionPasswordDefaults assuming you have a locked ruleset or want to lock your ruleset. (You really need to keep your rulesets locked at all times when using branches.)
Updated: 30 Aug 2017 6:53 EDT
Allianz
DE
Yes, exactly, i learned also this recently.
There is another Data Transform called pySetVersionDefaults, for the merge operation, to set the version of the Ruleset after merge.
Now, this works for me with 7.3.0.
On 7.3.1, they came up with a slightly different solution, with more parameters sent through the request.
Accepted Solution
Pegasystems Inc.
IN
Hello!
On reviewing the corresponding SR, we see that it has been resolved. SA-42110 was created as a result of the investigation. Please reference that if you have the same question.
Thank you,