Book a Demo

Author Topic: Multiple configs in Cloud Services  (Read 3430 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Multiple configs in Cloud Services
« on: August 15, 2015, 01:11:24 am »
Hi,

I've been trying setting up multiple configurations in the Cloud Services.
I have 4 EA projects defined in the Cloud Service client app e.g. projects A, B, C, and D.
I set up a conf for Project A where SSL and Model authentication are enabled.
I set up a conf for Project B where a Global authentication using Project C users is enabled.
I set up a default conf for other projects.

I copied below a sample of my SSCloudServices.config file.

Perhaps I haven't properly understood the goal of the Cloud Services dealing with multiple configurations so I need some clarification.
I expected Project A to be solely accessed from the Cloud Service via port 812 with an https + model authentication.
However if I use a different port e.g. 810, I can access Project A on http without any http authentication. Also port 812 makes it possible to use https for other projects.
It looks to me that that DEFAULT_MODEL doesn't restrict a conf to a specific model, however this is not consistent with Sparx description :
Quote
DEFAULT_MODEL allows a single model to be exposed on a port, making it possible to use a different port for each model.

Any advice will be useful.

Code: [Select]
# default
(
SERVER_PORT=810
REQUIRE_SSL=0
DEFAULT_MODEL=
MODEL_AUTHENTICATION=
GLOBAL_AUTHENTICATION=
OSLC_SUPPORT=0
)
# Project B
(
SERVER_PORT=811
REQUIRE_SSL=0
DEFAULT_MODEL=projectb
MODEL_AUTHENTICATION=
GLOBAL_AUTHENTICATION=projectc
OSLC_SUPPORT=0
)
# Project A
(
SERVER_PORT=812
REQUIRE_SSL=1
DEFAULT_MODEL=projecta
MODEL_AUTHENTICATION=1
GLOBAL_AUTHENTICATION=
OSLC_SUPPORT=0
)
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com