Adding the HTTP server connectivity plug-in to a project
In Apama applications, you can configure and use the HTTP server connectivity plug-in provided with Apama.
To add the HTTP server connectivity plug-in to a project
1. In the Project Explorer view, right-click the project and select New > Connectivity and Adapters or Apama > Add Connectivity and Adapters.
2. In the Connectivity and Adapters dialog, select HTTP Server (HTTP server connectivity plug-in).
In the Project Explorer view, the following files are created in the Connectivity and Adapters > HTTP Server (HTTP server connectivity plug-in) > HTTPServern node:
HTTPServern.properties HTTPServern.yaml swagger_HTTPServern.json 3. Double-click the HTTPServern.properties file to configure the HTTP server port, that is, the port on which the server is listening for HTTP requests.
5. Double-click the swagger_HTTPServern.json file if you want to add more static files. For further information, see Swagger and Serving static files.