serverless-shared-gateway
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "serverless-shared-gateway", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "publishConfig": |
# serverless-shared-gateway | ||
Lets make your life easier with share gateway inside serverless | ||
Serverless shared gateway, was developed originally by [kalarrs](https://github.com/kalarrs/serverless-shared-api-gateway), but I saw that it was a little bit abandoned. So I fix a few bugs that the plugin had, and add some extra functionality. Currently I am working on a Enterprise plugin for the Serverless Framework, so I will be updating this package regularly. | ||
This plugin was origially developed by [kalarrs](https://github.com/kalarrs/serverless-shared-api-gateway), but with some modifications. | ||
Note: I know that the code inside of the index.js is a little bit messy, but it works and I am working on a cleaner version that is backward compatible. | ||
@@ -9,11 +9,11 @@ Add in your "custom" property the following tag: | ||
custom: | ||
sharedGateway: | ||
gatewayName: your-cool-api-gateway-name | ||
outputResources: true # Optional | ||
outputFilename: hello_world # Optional | ||
``` | ||
the outputResources will generate a ``` .output ``` file, with the resource name and resource id. | ||
### To-do | ||
- Make the rootResourceId and apiGatewayId enviormental variable | ||
sharedGateway: | ||
# This should be your gateway name | ||
gatewayName: api-gateway-name | ||
# will create a file once the api-gateway is recognized by serverless-framework | ||
outputResources: true | ||
# This is the file name, usually you want to set it as a .env (default is .output) | ||
outputFilename: hello_world | ||
# This option will remove the "create api gateway functionality, and will spit out the resourceId insted of overighting the gateway | ||
domainManagerCompatible: true | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12302