Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
5f50e01
Added fix for Internal transform failure on bad Condition syntax
Apr 28, 2019
75e3f85
removed un unsed exception import and lint
Apr 28, 2019
f761208
added test file in end to end terst
Apr 28, 2019
8ff0993
Added test file in error check condition
Apr 29, 2019
a954bf5
updated test file with different type
Apr 29, 2019
b2a2b13
Added condition in template
May 1, 2019
0218b45
Added fix for Internal transform failure on bad Condition syntax
Apr 28, 2019
d9e2c4c
removed un unsed exception import and lint
Apr 28, 2019
a0c3935
added test file in end to end terst
Apr 28, 2019
1168702
Added test file in error check condition
Apr 29, 2019
b7aeccd
updated test file with different type
Apr 29, 2019
67507b4
Added condition in template
May 1, 2019
8de24bf
Updated conditionvalidation in resouce file also updated error respon…
May 3, 2019
80e31f4
handle unicode string compare for condition
May 3, 2019
a987866
Added check for python version
May 3, 2019
b772caa
Added check for condition name
May 3, 2019
0db06e8
updated condition check
May 3, 2019
c334da0
Merge branch 'master' of https://github.com/jadhavmanoj/serverless-ap…
May 3, 2019
9e7fd28
Merge branch 'master' into develop
May 3, 2019
1d435ba
use string_types from six for type checking
keetonian May 3, 2019
fb5631e
use is_str helper function for str type checking
keetonian May 3, 2019
17a3014
Merge branch 'develop' of https://github.com/jadhavmanoj/serverless-a…
May 5, 2019
733bdd7
Added fix for Internal transform failure on path parameters
May 6, 2019
0c0e289
address feedback
keetonian May 7, 2019
2146897
address feedback
keetonian May 7, 2019
3231816
Merge branch 'develop' of https://github.com/jadhavmanoj/serverless-a…
May 9, 2019
06d9619
Merge branch 'develop' of https://github.com/jadhavmanoj/serverless-a…
May 9, 2019
b20ed69
Merge branch 'swagger-bug' into develop
May 9, 2019
4678bf9
Merge remote-tracking branch 'upstream/develop' into develop
May 9, 2019
b9c726b
Merge branch 'develop' of https://github.com/awslabs/serverless-appli…
May 18, 2019
9b2f921
Added test case to handle error on semantic version check
May 20, 2019
5c6e6c6
Update error_invalid_document_empty_semantic_version.yaml
keetonian May 20, 2019
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Resources:
helloworld:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-east-1:077246666028:applications/hello-world
SemanticVersion:
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"errors": [
{
"errorMessage": "Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [helloworld] is invalid. Property 'SemanticVersion' cannot be blank."
}
],
"errorMessage": "Invalid Serverless Application Specification document. Number of errors found: 1. Resource with id [helloworld] is invalid. Property 'SemanticVersion' cannot be blank."
}
3 changes: 2 additions & 1 deletion tests/translator/test_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,8 @@ def _generate_new_deployment_hash(self, logical_id, dict_to_hash, rest_api_to_sw
'error_function_policy_template_invalid_value',
'error_function_with_unknown_policy_template',
'error_function_with_invalid_policy_statement',
'error_function_with_invalid_condition_name'
'error_function_with_invalid_condition_name',
'error_invalid_document_empty_semantic_version'
])
@patch('boto3.session.Session.region_name', 'ap-southeast-1')
@patch('samtranslator.plugins.application.serverless_app_plugin.ServerlessAppPlugin._sar_service_call', mock_sar_service_call)
Expand Down