Skip to content
Snippets Groups Projects
README.md 1.58 KiB
Newer Older
Jyrgen Hannus's avatar
Jyrgen Hannus committed
# Admin service
Enriko Käsper's avatar
Enriko Käsper committed

Jyrgen Hannus's avatar
Jyrgen Hannus committed
Admin service is a microservice which provides different administration tasks for administrative users.
atro's avatar
atro committed

Jyrgen Hannus's avatar
Jyrgen Hannus committed
## Features

Admin service is a Spring Boot application providing the following functionality:

* administration APIs (e.g. feature flag, deadline and parameter management)

## Requirements

* [OpenJDK 11](https://openjdk.java.net/projects/jdk/11/)
* [Rabbit MQ](https://www.rabbitmq.com/)
* [PostgreSQL](https://www.postgresql.org/)

See [how to run required dependencies](../../docs/blob/master/run-requirements.md).
Jyrgen Hannus's avatar
Jyrgen Hannus committed

Admin service depends on other TeIS libraries:

* [TeIS Gradle plugin](../../teis-gradle-plugin)
* [TeIS public commons libraries](../../commons-public)
* [TeIS commons libraries](../../commons)
* [TeIS common API gateway library](../../common-api-gateway)
Jyrgen Hannus's avatar
Jyrgen Hannus committed

## Run application

Spring Boot project can be run directly from [AdminServiceApp.main()](service/src/main/java/ee/sm/ti/teis/AdminServiceApp.java) 
method or via executable jar file. More info on running Spring applications: 
[running your application.](https://docs.spring.io/spring-boot/docs/current/reference/html/using-boot-running-your-application.html)

Visit [how to run application](../../docs/blob/master/run-application.md).
Jyrgen Hannus's avatar
Jyrgen Hannus committed

## Build and configure
Visit [how to build](../../docs/blob/master/build-configure.md) for more info.
Jyrgen Hannus's avatar
Jyrgen Hannus committed

## Default profiles
Visit [environment profiles](../../docs/blob/master/default-profiles.md) for more info.
Jyrgen Hannus's avatar
Jyrgen Hannus committed

## Tests

Run [integration](service/src/integTest) and [unit tests](service/src/test) via IDE or with Gradle in command line:

```jshelllanguage
./gradlew test
```