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

https://github.com/alainpham/validator-example


https://github.com/alainpham/validator-example

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Spring Boot with camel and other useful things test

## To build this project use

```
mvn install
```

## To run this project with Maven use

```
mvn spring-boot:run
```

## For testing

```
curl http://localhost:8090/camel/api-docs
curl http://localhost:8090/camel/ping
```

## Acces Swagger UI with definition

```
http://localhost:8090/webjars/swagger-ui/3.23.5/index.html?url=/camel/api-docs
```

## Call the ping rest operation
```
curl http://localhost:8090/camel/restsvc/ping
```

## Run local container with specific network and IP address

```
docker build -t test .
docker run -d --net primenet --ip 172.18.0.10 --name test test
```