You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
When publishing a new API version with Require re-subscription when publishing the API ticked, on lifecycle change it executes with incorrect check list.
Approach:
Log into the carbon management console (https://<APIM_HOST>:<APIM_PORT>/carbon)
Select the "Browse" under the "Resources" section.
You will be able to see a file named "APILifeCycle".
Click the "Actions" drop-down in front of that file and click the "Download" button.
After that, click the "Delete" button to remove the current APILifeCycle file.
Back up the downloaded APILifeCycle file and search for the below phrases.
Deprecate old versions after publish the API
Require re-subscription when publish the API
You will be able to see two occurrences as below,
<state id="Created">
<datamodel>
<data name="checkItems">
<item name="Deprecate old versions after publishing the API" forEvent="">
</item>
<item name="Require re-subscription when publish the API" forEvent="">
</item>
- - - - - - -
</data>
- - - - - - -
</state>
<state id="Prototyped">
<datamodel>
<data name="checkItems">
<item name="Deprecate old versions after publishing the API" forEvent="">
</item>
<item name="Require re-subscription when publish the API" forEvent="">
</item>
- - - - -
</data>
- - - - - -
</state>
Replace both occurrences with the below phrase (Please refer to the attached sample APILifeCycle file ).
Deprecate old versions after publishing the API
Requires re-subscription when publishing the API
After modifying the APILifeCycle file click the "Add Resource" button under the same registry path (/_system/config/repository/components/org.wso2.carbon.governance/lifecycles)
Upload the modified file and define the resource name as APILifeCycle as below.
Click the Add button to upload the modified APILifeCycle file.
The text was updated successfully, but these errors were encountered:
Description:
When publishing a new API version with
Require re-subscription when publishing the API
ticked, on lifecycle change it executes with incorrect check list.Approach:
The text was updated successfully, but these errors were encountered: