This projects is part of the CME environment and aims at delivering of files from secured gitlab domains. It uses specific users to connect with gitlab hosts.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to run the project
* IDE (Eclipse / Intellij IDEA etc.)
* Maven
* Java 8 SDK
* .env file (src/main/resources) which contains your environment variables
For successful running of the microservice you need to provide following environment parameters:
gitlab_personal_access_token=token-a,token-b
gitlab_hosts=mygitlab-a.com,theirgitlab-b.com
token_scope=aws.bla.cme-workbench
mvn test
or
by running the test files directly
The gitlab-adapter microservice is deployed on k8s and provides two REST API paths
GET /gitlab-adapter/<microservice-name>/content/<file-name-root-level>
GET /gitlab-adapter/<microservice-name>/metadata/<file-name-root-level>
- Paul Krugel - Initial work