Enabling Cross Origin Resource Sharing
If you are going to be accessing 1Integrate from a web-based application (e.g business intelligence tooling) you will need to enable cross origin resource sharing (CORS).
Note: An origin refers to the location of the web-based application accessing 1Integrate. Examples of these and the format can be found below.
Enable in WildFly
This feature can be enabled by setting the following in the settings.properties file for WildFly:
cors.enabled=true
cors.allowed.origins=[<scheme>://<hostname>:<port>]
Example: https://1spatial:[port]
The port directive is optional and if unspecified then the default will be requested (e.g 443 for HTTPS).
Additional origins can be enabled by adding more in a comma separated list after the cors.allowed.origins=
parameter.
Enable in WebLogic
This feature can be enabled in the WebLogic Server Administration Console by including the following in the Server Start Arguments for the interface:
-Dcors.enabled=true
-Dcors.allowed.origins=[<scheme>://<hostname>:<port>]
Additional origins can be enabled by adding more in a comma separated list after the -Dcors.allowed.origins=
parameter.
Example: https://1spatial:[port]
The port directive is optional and if unspecified then the default will be requested (e.g 443 for HTTPS).
Note: These arguments will need to be reapplied on subsequent installations.