Skip to content

Commit fd2bc7f

Browse files
authored
Merge branch 'main' into feature/CCM-13194_lint-lambdas
2 parents 9e49006 + fa493dc commit fd2bc7f

File tree

18 files changed

+71
-8
lines changed

18 files changed

+71
-8
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ publish-oas:
4545
$(MAKE) copy-examples
4646
npm run publish-oas
4747

48+
set-authorization: guard-APIM_ENV
49+
@ AUTHORIZATION=authorization-$$APIM_ENV.yml \
50+
envsubst '$${AUTHORIZATION}' \
51+
< specification/api/components/parameters/authorization/authorization-template.yml > specification/api/components/parameters/authorization/authorization.yml
52+
4853
set-target: guard-APIM_ENV
4954
@ TARGET=target-$$APIM_ENV.yml \
5055
envsubst '$${TARGET}' \
@@ -64,6 +69,7 @@ set-security: guard-APIM_ENV
6469
< specification/api/components/security-schemes/security-schemes-template.yml > specification/api/components/security-schemes/security-schemes.yml
6570

6671
construct-spec: guard-APIM_ENV
72+
$(MAKE) set-authorization APIM_ENV=$$APIM_ENV
6773
$(MAKE) set-target APIM_ENV=$$APIM_ENV
6874
$(MAKE) set-access APIM_ENV=$$APIM_ENV
6975
$(MAKE) set-security APIM_ENV=$$APIM_ENV

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.0-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash}
1+
1.0.1-${yyyy}${mm}${dd}.${HH}${MM}${SS}+${hash}

infrastructure/terraform/bin/terraform.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,6 @@ readonly backend_config="terraform {
599599
region = \"${region}\"
600600
bucket = \"${bucket}\"
601601
key = \"${backend_key}\"
602-
dynamodb_table = \"${bucket}\"
603602
use_lockfile = true
604603
}
605604
}";

sdk/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ VERSION ?= ""
33
SHELL = /bin/bash
44

55
build: version # Build the project artefact @Pipeline
6-
VER=$$(cat .version) && cd .. && npm run build --buildver=$$VER && cd sdk
6+
VER=$$(cat .version) && cd .. && make build-yml-oas-spec APIM_ENV=prod && npm run generate --buildver=$$VER && cd sdk
77
./swagger-static.sh
88

99
clean: # Clean-up project resources (main) @Operations

sdk/_config.version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 0.2.0-20251120.121539+0c18993
1+
version: 1.0.1-20251125.131623+3d60875
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Authorization
2+
in: header
3+
description: |-
4+
An OAuth 2.0 bearer token. Required in integration and production environments.
5+
required: true
6+
schema:
7+
type: string
8+
pattern: ^Bearer [[:ascii:]]+$
9+
example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: apikey
2+
in: header
3+
description: |-
4+
API Key to authorize in dynamic environments only.
5+
required: false
6+
schema:
7+
type: string
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Authorization
2+
in: header
3+
description: |-
4+
An OAuth 2.0 bearer token. Required in integration and production environments.
5+
required: false
6+
schema:
7+
type: string
8+
pattern: ^Bearer [[:ascii:]]+$
9+
example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Authorization
2+
in: header
3+
description: |-
4+
An OAuth 2.0 bearer token. Required in integration and production environments.
5+
required: true
6+
schema:
7+
type: string
8+
pattern: ^Bearer [[:ascii:]]+$
9+
example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: Authorization
2+
in: header
3+
description: |-
4+
An OAuth 2.0 bearer token. Required in integration and production environments.
5+
required: true
6+
schema:
7+
type: string
8+
pattern: ^Bearer [[:ascii:]]+$
9+
example: Bearer g1112R_ccQ1Ebbb4gtHBP1aaaNM

0 commit comments

Comments
 (0)