Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titlePrerequisites
  1. Download WSO2 EI 6.4.0 and unzip the file.
  2. Set the path and hostname to EI in the <WSO2_OB_APIM_HOME>/repository/resources/finance/script/startup.properties file.

    Note

    If you are using Microsoft SQL Server or Oracle, create the bpsdb and bps_configdb databases.

  3. Go to the <WSO2_OB_APIM_HOME>/repository/resources/finance/scripts/wso2ei-bps directory and give execution permissions to the configure-bps.sh file.

  4. Run configure-bps.sh

  5. Add the following artifacts to the given locations:
    1. Download the ApplicationRegistrationWorkflowProcessthe ApplicationRegistrationWorkflowProcess_1.0.0.zip and UserSignupApprovalProcess and UserSignupApprovalProcess_1.0.0.zip BPEL artifcats and place them in the <WSO2_EI_HOME>/repository/deployment/server/bpel directory.
    2. Download the UserApprovalTask-1.0.0.zip and ApplicationRegistrationTask-1.0.0.zip human task artifacts and place them in the <WSO2_EI_HOME>/repository/deployment/server/humantask directory.
  6. Navigate to the wso2ei-6.4.0/wso2/business-process/bin directory, and execute the following command:

    Code Block
    ./wso2server.sh -Dsetup
  7. Sign in to the API management console https://<WSO2_OB_APIM_HOST>:9443/carbon.

    Note

    Sign in as a super admin. Default credentials are: - Username: admin@wso2.com - Password: wso2123

  8. On the Main tab, click Resources > Browse.

  9. Navigate to the /_system/governance/apimgt/applicationdata/workflow-extensions.xml registry file.

  10. In the workflow-extensions.xml registry file, navigate to Content and click Edit as text.

  11. Add the following configurations under ProductApplicationRegisteration and  UserSignup  in the registry file:

    Code Block
    languagexml
    <ProductionApplicationRegistration executor="com.wso2.finance.tpp.prodaccess.impl.TPPProdAccessWorkFlow">
    	<Property name="serviceEndpoint">http://localhost:9765/services/ApplicationRegistrationWorkFlowProcess/</Property>
    	<Property name="username">admin@wso2.com@carbon.super</Property>
    	<Property name="password">wso2123</Property>
    	<Property name="callbackURL">https://localhost:8243/services/WorkflowCallbackService</Property>
    </ProductionApplicationRegistration>
    Code Block
    languagexml
    <UserSignUp executor="com.wso2.finance.tpp.signup.impl.TPPSignUpWorkFlow">
    <Property name="serviceEndpoint">http://localhost:9765/services/UserSignupProcess/</Property>
    <Property name="username">admin@wso2.com@carbon.super</Property>
    <Property name="password">wso2123</Property>
    <Property name="callbackURL">https://localhost:8243/services/WorkflowCallbackService</Property>
    <Property name="aispRole">internal/aispRole</Property>
    <Property name="pispRole">internal/pispRole</Property>
    <Property name="piispRole">internal/piispRole</Property>
    </UserSignUp>
  12. Click  Save Content.

...