Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tofazzaltopu/spring-integration-java-dsl


https://github.com/tofazzaltopu/spring-integration-java-dsl

Last synced: about 18 hours ago
JSON representation

Awesome Lists containing this project

README

        

Spring Integration Java DSL

Tech Stack:
```
Java- 8
Spring Boot- 2.7.2
Spring Integration

```

Swagger UI: http://localhost:8080/integration/swagger-ui.html/

MongoDB Collection stored under '/schema' folder

Grocery Endpoints
```
GET: localhost:8080/integration/grocery/2
POST: localhost:8080/integration/grocery
PUT: localhost:8080/integration/grocery
DELETE: localhost:8080/integration/grocery/2
```

POST Payload for Grocery:
```
"grocery": {
"name" : "Sugar",
"description": "1KG Sugar",
"ratings": 4,
"price": 1.0,
"currency": "USD",
"promoAvailable": true,
"discountAvailable": true,
"image": "sdfdsf",
"shopId": "234324234"
}
```

To call TopUp Wallet API:
```
POST: localhost:8080/integration/topup
POST: localhost:8080/integration/topup/rest

Payload:
{
"redirect" : "https://revenuemonster.my",
"amount": 10
}
```

MongoDB Collection for this project:
```
"grocery": {
"id": "d8d3cc6d-793f-49fe-8fa0-cac86357b033",
"name" : "Sugar",
"description": "1KG Sugar",
"ratings": 4,
"price": 1.0,
"currency": "USD",
"promoAvailable": true,
"discountAvailable": true,
"image": "sdfdsf",
"shopId": "234324234"
}

shop": {
"id" : "131da3f9-377d-41de-bde1-e4a726604666"
"shopName": "Shopno",
"distance": "3km",
"time": "23m",
"shopType": "Mart"
}
```

Flat File Writer API:
```
GET: localhost:8080/integration/write

Flat File Writer xml schema definition file stored under /resource folder.
Generated FlatFile will be stored under prject root directory.
```

Jasper Report File:
```
flatfile.jrxml
```