Skip to content

Commit aa6cfda

Browse files
adrianjhuntersliedig
authored andcommitted
fix: updates services to support Application Builder
1 parent 02baff9 commit aa6cfda

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

unicorn_approvals/infrastructure/state-machine/property_approval.asl.yaml renamed to unicorn_approvals/infrastructure/approvals-service/property_approval.asl.yaml

File renamed without changes.

unicorn_approvals/infrastructure/approvals-service.yaml renamed to unicorn_approvals/infrastructure/approvals-service/template.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Resources:
8383
ContractStatusChangedHandlerFunction:
8484
Type: AWS::Serverless::Function
8585
Properties:
86-
CodeUri: ../src/
86+
CodeUri: ../../src/
8787
Handler: approvals_service.contract_status_changed_event_handler.lambda_handler
8888
Policies:
8989
- DynamoDBWritePolicy:
@@ -126,7 +126,7 @@ Resources:
126126
PropertiesApprovalSyncFunction:
127127
Type: AWS::Serverless::Function
128128
Properties:
129-
CodeUri: ../src/
129+
CodeUri: ../../src/
130130
Handler: approvals_service.properties_approval_sync_function.lambda_handler
131131
Policies:
132132
- DynamoDBReadPolicy:
@@ -174,7 +174,7 @@ Resources:
174174
WaitForContractApprovalFunction:
175175
Type: AWS::Serverless::Function
176176
Properties:
177-
CodeUri: ../src/
177+
CodeUri: ../../src/
178178
Handler: approvals_service.wait_for_contract_approval_function.lambda_handler
179179
Policies:
180180
- DynamoDBCrudPolicy:
@@ -202,7 +202,7 @@ Resources:
202202
UpdateReplacePolicy: Delete
203203
Properties:
204204
Name: !Sub "${AWS::StackName}-ApprovalStateMachine"
205-
DefinitionUri: ./state-machine/property_approval.asl.yaml
205+
DefinitionUri: property_approval.asl.yaml
206206
Tracing:
207207
Enabled: true
208208
Policies:
File renamed without changes.

unicorn_contracts/infrastructure/contracts-service.yaml renamed to unicorn_contracts/infrastructure/contracts-service/template.yaml

File renamed without changes.
File renamed without changes.

unicorn_web/infrastructure/web-service.yaml renamed to unicorn_web/infrastructure/web-service/template.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Resources:
7878
SearchFunction:
7979
Type: AWS::Serverless::Function
8080
Properties:
81-
CodeUri: ../src/
81+
CodeUri: ../../src/
8282
Handler: search_service.property_search_function.lambda_handler
8383
Policies:
8484
- DynamoDBReadPolicy:
@@ -97,7 +97,7 @@ Resources:
9797
RequestApprovalFunction:
9898
Type: AWS::Serverless::Function
9999
Properties:
100-
CodeUri: ../src/
100+
CodeUri: ../../src/
101101
Handler: publication_manager_service.request_approval_function.lambda_handler
102102
Policies:
103103
- EventBridgePutEventsPolicy:
@@ -127,7 +127,7 @@ Resources:
127127
PublicationEvaluationEventHandlerFunction:
128128
Type: AWS::Serverless::Function
129129
Properties:
130-
CodeUri: ../src/
130+
CodeUri: ../../src/
131131
Handler: publication_manager_service.publication_evaluation_event_handler.lambda_handler
132132
Policies:
133133
- DynamoDBCrudPolicy:

0 commit comments

Comments
 (0)