Skip to content

Commit

Permalink
chore: update valid appsync function runtime in tests (#3670)
Browse files Browse the repository at this point in the history
  • Loading branch information
godwingrs22 authored Oct 23, 2024
1 parent c029c63 commit f70c9ad
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion tests/translator/input/graphqlapi_function_by_id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Resources:
DataSourceName: some-cool-datasource
Name: MyFunction
Runtime:
Name: some-runtime
Name: APPSYNC_JS
RuntimeVersion: 1.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ Resources:
CodeUri: my-code-uri
DataSource: NONE
Runtime:
Name: some-runtime
Name: APPSYNC_JS
Version: 1.2.3
AnotherFunction:
CodeUri: my-code-uri
DataSource: None
Runtime:
Name: some-runtime
Name: APPSYNC_JS
Version: 1.2.3
SimilarFunction:
CodeUri: my-code-uri
DataSource: none
Runtime:
Name: some-runtime
Name: APPSYNC_JS
Version: 1.2.3
GoodFunction:
CodeUri: my-code-uri
DataSource: nOnE
Runtime:
Name: some-runtime
Name: APPSYNC_JS
Version: 1.2.3
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Resources:
Functions:
MyFunction:
Runtime:
Name: some-runtime
Name: APPSYNC_JS
Version: 1.2.3
InlineCode: this is my epic code
DataSource: MyDataSource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"DataSourceName": "some-cool-datasource",
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"Name": "AnotherFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -88,7 +88,7 @@
},
"Name": "GoodFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand All @@ -111,7 +111,7 @@
},
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -159,7 +159,7 @@
},
"Name": "SimilarFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"MaxBatchSize": 10,
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"DataSourceName": "some-cool-datasource",
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"Name": "AnotherFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -88,7 +88,7 @@
},
"Name": "GoodFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand All @@ -111,7 +111,7 @@
},
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -159,7 +159,7 @@
},
"Name": "SimilarFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"MaxBatchSize": 10,
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
2 changes: 1 addition & 1 deletion tests/translator/output/graphqlapi_function_by_id.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"DataSourceName": "some-cool-datasource",
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"Name": "AnotherFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -88,7 +88,7 @@
},
"Name": "GoodFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand All @@ -111,7 +111,7 @@
},
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down Expand Up @@ -159,7 +159,7 @@
},
"Name": "SimilarFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"MaxBatchSize": 10,
"Name": "MyFunction",
"Runtime": {
"Name": "some-runtime",
"Name": "APPSYNC_JS",
"RuntimeVersion": "1.2.3"
}
},
Expand Down

0 comments on commit f70c9ad

Please sign in to comment.