OpenCHAMI / deployment-recipes

Ochami deployment recipes
MIT License
8 stars 10 forks source link

Separate integration tests into authenticated and unauthenticated versions #25

Closed synackd closed 5 months ago

synackd commented 6 months ago

With the added feature of being able to enable JWT authentication in BSS and SMD, integration tests need to be added to test both unauthenticated and authenticated requests. This PR separates the hurl integration tests in lanl/docker-compose/tests/all into lanl/docker-compose/tests/auth and lanl/docker-compose/tests/noauth for authenticated and unauthenticated tests, respectively. The authenticated tests simply test that trying to access protected endpoints without a JWT returns a 401 Unauthorized.

This PR also:

synackd commented 6 months ago

Rebasing to include hydra healthcheck from #16.

synackd commented 6 months ago

Rebased again and added env vars for BSS OAuth2 integration, plus dependency on Hydra in ochami-services.yml.

synackd commented 6 months ago

Rebased to incorporate corrected Hydra healthcheck.

synackd commented 5 months ago

Rebased to incorporate #28 for hydra.

synackd commented 5 months ago

Rebased and incorporated SMD changes from v1.15.0 (https://github.com/OpenCHAMI/smd/pull/17)

synackd commented 5 months ago

Cleaned up some commits and rebased.

synackd commented 5 months ago

LGTM then!