Replace script-based approach for CGW/services creation,
in favor of multi-cgw templated generated compose file.
Also, add a new run-tests target, that executes / starts
test run, for the sake of convinience.
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
This change makes it possibly to fire make all / make run
without any additional prerequisites required.
It instructs Makefile to launch docker compose for thirdparty
services, as well as instructs CGW container to communicate
with newly created containers.
Also generates self-signed certs, in case if these are missing.
- Tweak docker-compose files for thirdparty services to resign
in a cgw-dedicated network, and use hostnames where needed;
- Change CGW app default network to cgw-dedicated network;
- Tweak PGSQL scripts to create tables in CGW DB, as well
as change ownership to them.
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
NOTE: CI changes will be made in other PRs.
This one only covers the buildsystem / application part;
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
- Use special build-env docker image that uses local project
directory (volume mount) to speedup build.
- Implement cgw-img (docker image) generation.
- Track cgw-img tag based on commit.
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
- Update readme;
- Add run script that helps running cgw;
(utilizes enviroment variables for starting app);
- Add makefile that will be used for building app
(build, deploy, run, run tests etc)
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
Change-Id: I5b72e35a121afa95f3102efad8f1748995910a76