Default Gateway for ADempiere UI
This API Gateway allows define a gateway for ADempiere User Interface, as fisrt services exists:
The main scope for this project is use the gRPC transcoding
See this article for more info
You can also run it with docker compose
for develop enviroment. Note that this is a easy way for start the service with PostgreSQL and middleware.
docker compose version
Docker Compose version v2.16.0
Just clone it
git clone https://github.com/adempiere/adempiere-ui-gateway
cd adempiere-ui-gateway
docker compose -f docker-compose/docker-compose.yml up
This service just expose the 80
port and you should request using api.adempiere.io
(for linux just add this domain to /etc/hosts
).
The main service responding to all request a nginx
.
GNU nano 4.8 /etc/hosts
127.0.0.1 localhost
127.0.1.1 adempiere
<Your-IP-Here> api.adempiere.io
This request use the nginx
+ envoy
+ adempiere-grpc-server
using transcoding.
The base URL is /v1/
Example Request
curl --location 'http://api.adempiere.io/v1/open-id/services'
Response
{
"services": []
}
This request use the nginx
+ proxy-adempierer-api
using default http
The base URL is /api/
Example Request
curl --location 'http://api.adempiere.io/api/user/open-id/services'
Response
{
"code": 200,
"result": []
}
Error response format
{
"code": 1,
"message": "",
"deatils": []
}