forked from docker/midPoint_container
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| This container composition is to be used outside other midPoint compositions like `demo/simple` or `demo/postgresql-full`. | ||
|
|
||
| Just start it along with the other midPoint composition. They should work together seamlessly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/usr/bin/env bats | ||
|
|
||
| load ../../../common | ||
| load ../../../library | ||
|
|
||
| @test "000 Cleanup before running the tests" { | ||
| cd ../simple ; docker-compose down -v ; true | ||
| run docker-compose down -v | ||
| } | ||
|
|
||
| @test "010 Initialize and start midPoint" { | ||
| cd ../simple ; docker-compose up -d | ||
| wait_for_midpoint_start simple_midpoint-server_1 | ||
| } | ||
|
|
||
| @test "020 Initialize and start Shibboleth" { | ||
| docker-compose up -d | ||
| # TODO implement wait_for_shibboleth_start | ||
| sleep 20 | ||
| } | ||
|
|
||
| @test "030 Check health" { | ||
| check_health | ||
| } | ||
|
|
||
| # TODO check that e.g. accessing some URLs results in shibboleth redirection (check login page, some REST calls etc) | ||
|
|
||
| @test "999 Clean up" { | ||
| cd ../simple ; docker-compose down -v ; true | ||
| run docker-compose down -v | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters