Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Buried-In-Code/Gallagher

Repository files navigation

Gallagher

Java Version Status

Gradle SpringBoot Spotless

Github - Version Github - License

Github Action - Tests Github Action - Build

TODO: Description

Local development

  1. Downstream services are mocked with Wiremock, run: docker compose -f docker-compose-local.yaml up -d
  2. Start project SPRING_PROFILES_ACTIVE=local gradle clean bootRun

Usage

  1. Create a .env file with your Gallagher details

    GALLAGHER__API_KEY=EXAM-PLE-API-KEY
    GALLAGHER__BASE_URL=https://example.com
    GALLAGHER__CERTIFICATE=Base64-Encode-of-certificate.pem
    GALLAGHER__PRIVATE_KEY=Base64-Encode-of-private-key.pem
    
    CREATE__USER__EMAIL=user@example.com
    CREATE__USER__FIRST_NAME=Joe
    CREATE__USER__LAST_NAME=Bloggs
    CREATE__USER__DIVISION_HREF=https://example.com/api/division/123
    CREATE__USER__ACCESS_GROUP_HREF=https://example.com/api/access-group/123
    CREATE__USER__EXTERNAL_ID=AAA-12345-BBB
    
    READ__USER__EMAIL=user@example.com
    
    UPDATE__CARD__TYPE_HREF=https://example.com/api/card-type/123
    UPDATE__CARD__NUMBER=12345
    UPDATE__USER__EMAIL=user@example.com
    
    DELETE__USER__EMAIL=user@example.com
  2. Create a folder nginx and download the nginx.conf file to the folder.

  3. Download the docker-compose.yaml file

  4. Run with: docker compose up -d

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •