Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ This Serverless Framework plugin supports the AWS service proxy integration feat
- [Customizing request parameters](#customizing-request-parameters-1)
- [Customizing request templates](#customizing-request-templates)
- [Customize the Path Override in API Gateway](#customize-the-path-override-in-api-gateway)
- [Can use greedy, for deeper Folders](#can-use-greedy--for-deeper-folders)
- [Can use greedy, for deeper Folders](#can-use-greedy-for-deeper-folders)
- [Customizing responses](#customizing-responses-1)
- [Allow Bindary Types](#allow-binary-type)
- [Allow Binary Types](#allow-binary-type)
- [SNS](#sns)
- [Customizing responses](#customizing-responses-2)
- [DynamoDB](#dynamodb)
Expand Down Expand Up @@ -51,7 +51,7 @@ serverless plugin install -n serverless-apigateway-service-proxy
## Supported AWS services

Here is a services list which this plugin supports for now. But will expand to other services in the feature.
Please pull request if you are intersted in it.
Please pull request if you are interested in it.

- Kinesis Streams
- SQS
Expand Down Expand Up @@ -351,11 +351,11 @@ custom:
```

This will result in API Gateway setting the Path Override attribute to `{bucket}/{folder}/{file}.xml`
So for example if you navigate to the API Gatway endpoint `/language/en` it will fetch the file in S3 from `{bucket}/language/en.xml`
So for example if you navigate to the API Gateway endpoint `/language/en` it will fetch the file in S3 from `{bucket}/language/en.xml`

##### Can use greedy, for deeper Folders

The forementioned example can also be shortened by a greedy approach. Thanks to @taylorreece for mentioning this.
The aforementioned example can also be shortened by a greedy approach. Thanks to @taylorreece for mentioning this.

```yaml
custom:
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class ServerlessApigatewayServiceProxy {
let serviceProxyMessages = ''

const endpointInfo = this.gatheredData.info.endpoints
message += `${chalk.yellow.underline('Serverless APIGateway Service Proxy OutPuts')}\n`
message += `${chalk.yellow.underline('Serverless APIGateway Service Proxy Outputs')}\n`
message += `${chalk.yellow('endpoints:')}`

proxies.forEach((serviceProxy) => {
Expand Down
2 changes: 1 addition & 1 deletion lib/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ describe('#index()', () => {
}

const expectedMessage = `${chalk.yellow.underline(
'Serverless APIGateway Service Proxy OutPuts'
'Serverless APIGateway Service Proxy Outputs'
)}
${chalk.yellow('endpoints:')}
POST - https://xxxxxx.execute-api.us-east-1.amazonaws.com/dev/kinesis
Expand Down
2 changes: 1 addition & 1 deletion lib/utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('#utils()', () => {
})

describe('#getAllServiceProxies()', () => {
it('should return this plugin configutration', () => {
it('should return this plugin configuration', () => {
serverless.service.custom = {
apiGatewayServiceProxies: [
{
Expand Down