raing3 / local-api-gateway Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Currently if an error occurs in the gateway it requires re-running local-api-gateway up
.
The gateway container should be changed to that it automatically restarts, either always
or on-failure
.
Add options to allow configure host names to be resolved to specific IP addresses in all integrations.
Example:
integration_hosts:
my_host.local: ~ # resolve my_host.local in the container to the ip address the host resolves to
my_host2.local: 192.168.1.2 # resolve my_host2.local to a specific ip address (may be different to what the host resolves it to)
The presence of the configuration should result in the merged docker-compose.yml file containing "extra_hosts" with the mapping: https://docs.docker.com/compose/compose-file/compose-file-v3/#extra_hosts
Need to confirm compatiblity with different versions of Docker and add up-front warning if attempting to use tool with a version that is lower than what is supported.
Known to have issues with docker-compose 1.25.2:
ERROR: Version in ".../.local-api-gateway/docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
Things to document:
Ideas:
Command should:
Command would be beneficial for a CI pipeline.
For testing purposes it may be beneficial to modify files in the .local-api-gateway folder from what is compiled by the tool.
Current thoughts are to implement this as a CLI argument such as --no-build-config
or similar to disable rebuilding the config files.
Currently the "networks" key in docker-compose.yml isn't supported: https://docs.docker.com/compose/networking/
As part of this would be good to restrict container networking boundaries to avoid the potential of integrations communicating with other integrations directly. Maybe this should be a config?
Need to make the following changes:
Gateway should handle OPTIONS requests for CORS preflight.
More information: https://expressjs.com/en/resources/middleware/cors.html
There are issues when using a Dockerfile via docker-compose with a uppercase service name.
Possibly relates to: docker/compose#1416
Should look at disallowing/transforming uppercase characters.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.