Versions Compared

Key

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

...

Info

These steps are not needed when Eagle 2017R2.35 and later is installed. Starting with Eagle 2017R2.35 the routing for MC2 is included in the core installation.

This page explains how to configure the SOAP and REST endpoints using System Management Center (SMC).

  1. Launch System Management Center. Sort the list of services by Type.

...

  1. Image Added
  2. To open a Web Server for customization, right click on it and choose Show Details. You need to change the configuration of all web servers on the region.

...

  1. Image Added

  2. Now open the Configuration tab and find starsecurity.ini in the list of config files.

...

  1. Image Added

  2. In the right part of the window you can now set the parameters in the [REDIRECTURL_2SITES] section. 
    The following parameters should be added to enable the EagleMLWebService30 Web Services/SOAP Endpoint and supported REST endpoints:

    Web Service

    Code Block
    languagetext

...

  1. [REDIRECTURL_2SITES]
    /EagleMLWebService30=/ext/starsecurity.dll?statelessrouter&format=soap&cmd=4600%26200%26ExecuteEagleMLRequest
    /EagleMLWebService30/=/ext/starsecurity.dll?statelessrouter&format=soap&cmd=4600%26200%26ExecuteEagleMLRequest
    /EagleMLWebService30?wsdl=/ext/starsecurity.dll?statelessrouter&format=soap&cmd=4600%26200%26wsdl20
    /eagle/v2=/ext/starsecurity.dll?statelessrouter&format=json&cmd=4600%26200%26eaglemlrest 
    /eagle/report/v1=/ext/starsecurity.dll?statelessrouter&format=json&cmd=4600%26200%26eaglemlrest
    /mc2=/ext/starsecurity.dll?statelessrouter&format=json&cmd=4600%26200%26eaglemlrest

    Save your changes with the button in the top pane

...

  1. Image Added

  2. Return to the Details tab and Restart  Web Server to apply the changes 

...

  1. Image Added

  2. Do not forget to apply this configuration to all web servers in the region.


The link to Swagger definitions for all supported REST resources may be retrieved using the link:

https://host/eagle/v2/api-doc

REST API will use the authentication provided by Eagle.

Swagger UI is available at:

https://host/mc2/swagger-ui.html