I am trying to create a custom workflow on the Wso2 api manager. Now, I will add a custom subscription workflow and define which API or arrows should be used.
For example with different levels:
- I am a developer and select the API A Bronze : When I subscribe to the API, Workflow 1 is executed.
- Choose another developer meter and I with the API A
Silver : When I subscribe to the API, Workflow 2 is executed.
I did not get the document about it. Is this possible? Should I code the normal custom workflow and use the switch case ?
Thank you very much
This is possible with wso2 API Manager and BPS. When you subscribe to an application, it will execute customized subscription flow To do this, you should extend membership flows by increasing the subscription purchase WSWorkflowExecutor.java
class. Override complete ()
method Create a jar file and run the following path & lt; APIIMOHME & gt;
/ Add to the repository / component / lib. Start the Impimenger Server, log into the API Management Console and choose Browse under resources. Go to the /_system/governance/apimgt/applicationdata/workflow-extensions.xml resource, disable Simple Workflow Executioner and enable the WS Workflow Executioner. Then change the working class in the newly created classroom.
No comments:
Post a Comment