File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
unicorn_web/tests/unit/events Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Resources:
1919 DeletionPolicy : Delete
2020 UpdateReplacePolicy : Delete
2121 Properties :
22- Name : unicorn.properties -ContractStatusChanged
22+ Name : unicorn.approvals -ContractStatusChanged
2323 Description : Contract Status Changed subscription
2424 EventBusName :
2525 Fn::Sub : " {{resolve:ssm:/uni-prop/${Stage}/UnicornContractsEventBusArn}}"
@@ -42,7 +42,7 @@ Resources:
4242 DeletionPolicy : Delete
4343 UpdateReplacePolicy : Delete
4444 Properties :
45- Name : unicorn.properties -PublicationApprovalRequested
45+ Name : unicorn.approvals -PublicationApprovalRequested
4646 Description : Publication evaluation completed subscription
4747 EventBusName :
4848 Fn::Sub : " {{resolve:ssm:/uni-prop/${Stage}/UnicornWebEventBusArn}}"
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ Resources:
105105 StatusChangedEvent :
106106 Type : EventBridgeRule
107107 Properties :
108- RuleName : unicorn.properties -ContractStatusChanged
108+ RuleName : unicorn.approvals -ContractStatusChanged
109109 EventBusName : !GetAtt UnicornApprovalsEventBus.Name
110110 Pattern :
111111 source :
Original file line number Diff line number Diff line change 22 "version" : " 0" ,
33 "id" : " f849f683-76e1-1c84-669d-544a9828dfef" ,
44 "detail-type" : " PublicationEvaluationCompleted" ,
5- "source" : " unicorn.properties " ,
5+ "source" : " unicorn.approvals " ,
66 "account" : " 123456789012" ,
77 "time" : " 2022-08-16T06:33:05Z" ,
88 "region" : " ap-southeast-2" ,
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ def return_env_vars_dict(k={}):
1818 "AWS_DEFAULT_REGION" : "ap-southeast-2" ,
1919 "CONTRACT_STATUS_TABLE" : TABLE_NAME ,
2020 "EVENT_BUS" : EVENTBUS_NAME ,
21- "SERVICE_NAMESPACE" : "unicorn.properties " ,
22- "POWERTOOLS_SERVICE_NAME" : "unicorn.properties " ,
21+ "SERVICE_NAMESPACE" : "unicorn.approvals " ,
22+ "POWERTOOLS_SERVICE_NAME" : "unicorn.approvals " ,
2323 "POWERTOOLS_TRACE_DISABLED" : "true" ,
2424 "POWERTOOLS_LOGGER_LOG_EVENT" : "true" ,
2525 "POWERTOOLS_LOGGER_SAMPLE_RATE" : "0.1" ,
26- "POWERTOOLS_METRICS_NAMESPACE" : "unicorn.properties " ,
26+ "POWERTOOLS_METRICS_NAMESPACE" : "unicorn.approvals " ,
2727 "LOG_LEVEL" : "INFO" ,
2828 }
2929 d .update (k )
Original file line number Diff line number Diff line change 22 "version" : " 0" ,
33 "id" : " a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa" ,
44 "detail-type" : " PublicationEvaluationCompleted" ,
5- "source" : " unicorn.properties " ,
5+ "source" : " unicorn.approvals " ,
66 "account" : " 111122223333" ,
77 "time" : " 2022-12-01T01:01:01Z" ,
88 "region" : " ap-southeast-1" ,
You can’t perform that action at this time.
0 commit comments