sonata-nfv / son-tests

SONATA's Service Platform Tests for Integration and Qualification environments
http://www.sonata-nfv.eu/
Apache License 2.0
0 stars 11 forks source link

Waiting for public-key endpoint on son-gtkusr before starting tests #287

Closed alfonsoegio closed 7 years ago

jbonnet commented 7 years ago

Hy, @alfonsoegio Please have in mind that the son-gtkusr should be invisible from the outside. What you should expect is the /api/v2/users/public-key endpoint exposed in the son-gtkapi. Integration tests should include the son-gtkapi, not the son-gtkusr, which will get tested in the end-to-end process. By the way, you already have that in the /api/v2/micro-services/public-key endpoint, though in error: I've suggested the son-gtkusr to return the public key in a JSON object, instead of in pain text.

alfonsoegio commented 7 years ago

ok, thanks for the warning, tomorrow we'll discuss together with @dang03 the best way to set up the integration tests regarding both modules

dang03 commented 7 years ago

Hi @jbonnet, This integration test, int-gtkusr-keycloak, is only and exclusively for son-gtkusr and keycloak in order to test the son-gtkusr (Adapter) API and features with Keycloak, as son-gtkusr can't work alone. The test you are referring to is called int-usr-management, which indeed will include son-gtkapi and BSS, and other components, to test end-to-end processes. However it is not finished yet because we first need to have son-gtkusr and keycloak working properly.