Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pagopa-archive/mil-functions

SW Client Project - Multi-channel Integration Layer - End-user Service List
https://github.com/pagopa-archive/mil-functions

Last synced: about 2 months ago
JSON representation

SW Client Project - Multi-channel Integration Layer - End-user Service List

Awesome Lists containing this project

README

        

# Multi-channel Integration Layer - Functions
Handling of service list for Multi-channel Integration Layer of SW Client Project.

## Dependencies
This project depends on mil-common. If you don't want to clone and install it locally, run ```mvn validate -Dmaven.home=``` before.

## How to run dev mode
```shell script
mvn quarkus:dev
```

## How to play locally with native image
### Build native image
```shell script
mvn package -Pnative -Dquarkus.native.container-build=true -Dquarkus-profile=playground -Dmaven.home=
docker build -f src/main/docker/Dockerfile.native-micro -t pagopa/mil-functions .
```

### Create a network
```shell script
docker network create --driver bridge functions-net
```

### Run Mongo attached to network created before
```shell script
docker run -d -p 27017:27017 --name test-mongo --network functions-net mongo:latest
```

### Run mil-functions attached to network created before
```shell script
docker run -i --rm -p 8080:8080 --name mil-functions --network functions-net pagopa/mil-functions
```