Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Update README.md, add build.sh, set Central TZ
Building is now more straightforward and better documented. To quickly see timezone problems we have set Central timezone for various containers.
Showing
10 changed files
with
99 additions
and
17 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
# midPoint_container | ||
[](https://jenkins.testbed.tier.internet2.edu/job/docker/job/midPoint_container/job/master/) | ||
|
||
In the [grouper-midpoint](grouper-midpoint) directory there is a [midPoint <-> Grouper integration demo](https://spaces.at.internet2.edu/display/TIERENTREG/midPoint+-+Grouper+integration+demo). | ||
This repository contains sources for TIER-supported images related to [Evolveum midPoint](http://midpoint.evolveum.com). | ||
|
||
In the [midpoint](midpoint) directory there is a dockerized version of midPoint suitable for the use within TIER environment. | ||
# Images | ||
- `midpoint` contains the midPoint application along with some TIER-specific components: Apache reverse proxy with optional Shibboleth filter and TIER Beacon. | ||
- `midpoint-mariadb` hosts the default MariaDB database tailored to meet midPoint needs. It can be exchanged for another repository implementation. | ||
|
||
Both are in progress. | ||
# Supported tags | ||
These tags apply to both containers: | ||
- latest | ||
- midPoint version-specific tags, e.g. 3.9, 3.9.1, 4.0, etc. | ||
|
||
# Content | ||
- `midpoint` directory contains build instructions for both containers (`midpoint` and `midpoint-mariadb`), | ||
- `demo` directory contains three demonstration scenarios: | ||
-- `shibboleth` to show integration with Shibboleth IdP, | ||
-- `postgresql` to show how to change the repository implementation, | ||
-- `complex` to demonstrate more complex deployment of midPoint in a sample university environment, featuring midPoint along with Grouper, LDAP directory, RabbitMQ, Shibboleth IdP, source and target systems. | ||
|
||
# Build instructions | ||
Please see specific subdirectories: [midpoint](midpoint) and [demo/complex](demo/complex). | ||
|
||
# Documentation | ||
- For the `midpoint` and `midpoint-mariadb` containers themselves please see [Dockerized midPoint](https://spaces.at.internet2.edu/display/MID/Dockerized+midPoint) wiki page. | ||
- For the complex demo please see [midPoint - Grouper integration demo](https://spaces.at.internet2.edu/display/MID/midPoint+-+Grouper+integration+demo) wiki page. | ||
|
||
This is a work in progress. For its current status please see [Status of the work](https://spaces.at.internet2.edu/display/MID/Status+of+the+work). |
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,9 @@ | ||
This is a demonstration of using midPoint dockerization for TIER environment in a broader context. It is a work in progress. | ||
|
||
# Building and execution | ||
``` | ||
$ ../../midpoint/build.sh | ||
$ docker-compose up --build | ||
``` | ||
|
||
Please see a detailed description [here](https://spaces.at.internet2.edu/display/MID/midPoint+-+Grouper+integration+demo). |
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
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
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Overview | ||
|
||
This is a midPoint dockerization for TIER environment. It is a work in progress. | ||
|
||
Please see a detailed description, including installation instructions [here](https://spaces.at.internet2.edu/display/MID/Dockerized+midPoint). | ||
# Building and execution | ||
``` | ||
$ ./build.sh | ||
$ docker-compose up | ||
``` | ||
|
||
Please see a detailed description [here](https://spaces.at.internet2.edu/display/MID/Dockerized+midPoint). |
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,34 @@ | ||
#!/bin/bash | ||
|
||
function normalize_path() | ||
{ | ||
# Remove all /./ sequences. | ||
local path=${1//\/.\//\/} | ||
|
||
# Remove dir/.. sequences. | ||
while [[ $path =~ ([^/][^/]*/\.\./) ]] | ||
do | ||
path=${path/${BASH_REMATCH[0]}/} | ||
done | ||
echo $path | ||
} | ||
|
||
cd "$(dirname "$0")" | ||
./download-midpoint | ||
cd midpoint-data | ||
docker build --tag tier/midpoint-mariadb:latest . | ||
cd ../midpoint-server | ||
docker build --tag tier/midpoint:latest . | ||
cd .. | ||
echo "---------------------------------------------------------------------------------------" | ||
echo "The midPoint containers were successfully built. To start them, execute the following:" | ||
echo "" | ||
echo "(for standalone execution)" | ||
echo "" | ||
echo "$ cd" `pwd` | ||
echo "$ docker-compose up" | ||
echo "" | ||
echo "(for complex demo)" | ||
echo "" | ||
echo "$ cd" $(normalize_path `pwd`/../demo/complex) | ||
echo "$ docker-compose up --build" |
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
8 changes: 0 additions & 8 deletions
8
midpoint/midpoint-server/container_files/usr-local-bin/set-timezone.sh
This file was deleted.
Oops, something went wrong.