feat(env): add MATRICULE variable to configuration files
This change introduces the MATRICULE variable in the environment configuration to allow dynamic endpoint generation.
This commit is contained in:
parent
f1c3100ef5
commit
df04ab87ac
3 changed files with 7 additions and 3 deletions
1
documentation/Bruno/Arcadia Api/.env.example
Normal file
1
documentation/Bruno/Arcadia Api/.env.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
MATRICULE=
|
||||
4
documentation/Bruno/Arcadia Api/.gitignore
vendored
4
documentation/Bruno/Arcadia Api/.gitignore
vendored
|
|
@ -1,9 +1,9 @@
|
|||
# Secrets
|
||||
.env*
|
||||
.env
|
||||
|
||||
# Dependencies
|
||||
node_modules
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
Thumbs.db
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
name: VM Linux
|
||||
variables:
|
||||
- name: ENDPOINT
|
||||
value: https://arcadia-api-MONMATRICULE.s-web.fr
|
||||
value: https://arcadia-api-{{MATRICULE}}.s-web.fr
|
||||
description: ""
|
||||
- name: APIV1
|
||||
value: v1
|
||||
|
|
@ -21,3 +21,6 @@ variables:
|
|||
- name: CLIENT_SECRET
|
||||
value: arcadia_sec_00000000000000000000000000000000000000000000000000000000000000000000000000000000000001
|
||||
description: API Client Secret for HMAC Authentication
|
||||
- name: MATRICULE
|
||||
value: "{{process.env.MATRICULE}}"
|
||||
description: ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue