Apama 10.1 | Apama Documentation | Using Apama with Software AG Designer | Working with Projects | Adding resources to Apama projects | Adding adapters to projects | Adding the HTTP server connectivity plug-in to a project
 
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.
4. Double-click the HTTPServern.yaml file to configure the HTTP server connectivity plug-in. For further information, see The HTTP Server Transport Connectivity Plug-in.
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.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.