Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

solop-develop/adempiere-ui-gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

adempiere-ui-gateway

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

Some Advantages

Run Docker Compose

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.

Requirements

docker compose version
Docker Compose version v2.16.0

Run it

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

Some Info

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

Request using transcoding

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": []
}

Request using legacy node server

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": []
}

About

Default Gateway for ADempiere UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 52.8%
  • Shell 47.2%