UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 13db2c08 authored by Al Fontaine's avatar Al Fontaine
Browse files

Merge branch 'development' into 'master'

Master

See merge request !24
parents 28ddbd4f 7b442781
No related branches found
No related tags found
2 merge requests!33Agg update,!24Master
Pipeline #1196778 failed
ARG BASE_REGISTRY=registry1.dso.mil
ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk17
ARG BASE_TAG=1.17
ARG DEPENDENCY=target/dependency
FROM registry1.dso.mil/ironbank/opensource/maven/maven-openjdk-17:3.8.5-openjdk-17 as base
USER 0
......
# elrraggregator
ELRR service which aggregates learner profiles
# Requirements
For building and running the elrraggregator you need:
- JDK 1.8
- Maven 3
# Build the application
- mvn clean install -Dmaven.test.skip=false
# Deploying the application on Docker
The easiest way to deploy the sample application to Docker is to follow below steps:
- mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
- docker build --build-arg JAR_FILE="./target/elrraggregator-0.0.1-SNAPSHOT.jar" --file Dockerfile -t <docker_hub>/test:elrraggregator-dck-img
- docker run -p Port:Port -t <docker_hub>/test:elrraggregator-dck-img
# Running the application locally
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.deloitte.elrr.elrrconsolidate.ElrrConsolidateApplication class from your IDE
# Alternatively you can use the Spring Boot Maven plugin:
- mvn spring-boot:run
# Optional step
- docker push <docker_hub>/test:elrraggregator-dck-img
# elrraggregator
ELRR service which aggregates learner profiles
# Requirements
For building and running the elrraggregator you need:
- JDK 1.8
- Maven 3
# Build the application
- mvn clean install -Dmaven.test.skip=false
# Deploying the application on Docker
The easiest way to deploy the sample application to Docker is to follow below steps:
- mkdir -p target/dependency && (cd target/dependency; jar -xf ../*.jar)
- docker build --build-arg JAR_FILE="./target/elrraggregator-0.0.1-SNAPSHOT.jar" --file Dockerfile -t <docker_hub>/test:elrraggregator-dck-img
- docker run -p Port:Port -t <docker_hub>/test:elrraggregator-dck-img
# Running the application locally
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.deloitte.elrr.elrrconsolidate.ElrrConsolidateApplication class from your IDE
# Alternatively you can use the Spring Boot Maven plugin:
- mvn spring-boot:run
# Optional step
- docker push <docker_hub>/test:elrraggregator-dck-img
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/adl-initiative/elrr/elrr-aggregator"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "1.0.0"
- "latest"
# Build args passed to Dockerfile-COPY ARGs
args:
BASE_IMAGE: "redhat/openjdk/openjdk17"
BASE_TAG: "1.17"
# Docker image labels
labels:
org.opencontainers.image.title: "elrraggregator"
org.opencontainers.image.description: "Image for Enterprise Learner Record Repository (ELRR) service which aggregates learner profiles"
# URL to find more information on the image
org.opencontainers.image.licenses: "Oracle Technology Network License"
org.opencontainers.image.url: "https://github.com/US-ELRR/elrraggregator"
org.opencontainers.image.vendor: "Enterprise Learner Record Repository (ELRR)"
org.opencontainers.image.version: "1.0.0"
mil.dso.ironbank.image.keywords: "elrr, aggregator, elrraggregator, enterprise learner record repository"
# Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "Enterprise Learner Record Repository (ELRR)"
# List of resources to make available to the offline build context
resources:
- url: "https://github.com/US-ELRR/elrraggregator/archive/refs/tags/v1.1.tar.gz"
filename: "elrraggregator-1.1.tar.gz"
validation:
type: "sha256"
value: "1ebee25bfe811af3b10df02cad3adafb1ad27b4206a18679d9f0b69736208ec5"
# List of project maintainers
maintainers:
- email: "simeransandhu@deloitte.com"
name: "Simeranjeet Sandhu"
username: "ssandhu"
- email: "micson@deloitte.com"
name: "Michael Son"
username: "micson-us"
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/adl-initiative/elrr/elrr-aggregator"
# List of tags to push for the repository in registry1
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags:
- "1.0.0"
- "latest"
# Build args passed to Dockerfile-COPY ARGs
args:
BASE_IMAGE: "redhat/openjdk/openjdk17"
BASE_TAG: "1.17"
# Docker image labels
labels:
org.opencontainers.image.title: "elrraggregator"
org.opencontainers.image.description: "Image for Enterprise Learner Record Repository (ELRR) service which aggregates learner profiles"
# URL to find more information on the image
org.opencontainers.image.licenses: "Oracle Technology Network License"
org.opencontainers.image.url: "https://github.com/US-ELRR/elrraggregator"
org.opencontainers.image.vendor: "Enterprise Learner Record Repository (ELRR)"
org.opencontainers.image.version: "1.0.0"
mil.dso.ironbank.image.keywords: "elrr, aggregator, elrraggregator, enterprise learner record repository"
# Product the image belongs to for grouping multiple images
mil.dso.ironbank.product.name: "Enterprise Learner Record Repository (ELRR)"
# List of resources to make available to the offline build context
resources:
- url: "https://github.com/US-ELRR/elrraggregator/archive/refs/tags/v1.1.tar.gz"
filename: "elrraggregator-1.1.tar.gz"
validation:
type: "sha256"
value: "1ebee25bfe811af3b10df02cad3adafb1ad27b4206a18679d9f0b69736208ec5"
# List of project maintainers
maintainers:
- email: "simeransandhu@deloitte.com"
name: "Simeranjeet Sandhu"
username: "ssandhu"
- email: "micson@deloitte.com"
name: "Michael Son"
username: "micson-us"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment