Versions Compared

Key

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

The below sections describe how you can change the endpoint reference of a deployed proxy service without changing its own configuration. For example, in this scenario, you have two endpoints to manage two environments (i.e., Dev and QA). The endpoint URLs for the services hosted in the Dev and QA environments respectively are as follows:

See the topics given below for instructions.

Table of Contents
maxLevel3
 

Creating the endpoint reference projects

Follow the steps below to create two ESB Config Projects containing the two endpoint values for the Dev and QA environments.

  1. Open WSO2 Integration Studio and click Miscelleneous → Create New Config Project in the Getting Started tab.
    Image RemovedImage Added

  2. In the New ESB Project dialog that opens, select New ESB Config Project and click Next.

  3. Enter HelloWorldDevResources as the project name and click Finish.

  4. Right-click the HelloWorldResources project in the Project Explorer and go toNew -> Endpoint
  5. Select Create a New Endpoint and click Next

  6. Fill in the information as in the table below and click Finish.

    FieldValue
    Endpoint NameHelloWorldEP
    Endpoint TypeAddress Endpoint
    Addresshttp://localhost:8280/services/echo
  7. Similarly, to create resources for the QA environment, create another ESB Config project named HelloWorldQAResources and create an endpoint named HelloWorldEP. Provide the following endpoint address:
    http://localhost:8280/services/echo

Creating the proxy service 

In this section, you will create an ESB Solutions Project containing the Proxy Service configuration.

...