Skip to content

Commit d69e3ea

Browse files
author
Thomas Desplaces
committed
some changes
1 parent 8f4fe4e commit d69e3ea

33 files changed

+57
-41
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.3.0
4+
hooks:
5+
- id: check-xml
6+
- id: check-json
7+
- id: end-of-file-fixer
8+
- id: trailing-whitespace
9+
- id: detect-private-key
10+

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
0.0.1 - 2023-01-24
2+
===================
3+
4+
### Features
5+
- Add CHANGELOG.md.
6+
- Add MAINTAINERS.md.
7+
- Add pre-commit file.
8+
9+
### Updating
10+
- Update README : delete Author and version informations.

MAINTAINERS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [@thomasdesplaces](https://github.com/thomasdesplaces)

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![Apigee](https://upload.wikimedia.org/wikipedia/commons/a/aa/Apigee_logo.svg)](https://cloud.google.com/apigee)
44

5+
![alt version](https://img.shields.io/badge/Version-0.0.1-violet)
6+
![alt production](https://img.shields.io/badge/Production--Ready-No-green)
7+
![alt docker](https://img.shields.io/badge/Deployment_tool-Maven-orange)
8+
59
This is a code to deploy sharedflows which are used when your backend is secured by GCP OAuth (via Service Account) or IAP (via Service Account).
610

711
## Prerequisite
@@ -30,12 +34,3 @@ How to use it :
3034
cd sharedflows/gcp-token-oauth
3135
mvn install -P=dev -Dusername=XXXX -Dpassword=YYYY -Dorganization=ZZZZ
3236
```
33-
34-
## Versions
35-
36-
**Last version :** 1.0
37-
38-
## Auteurs
39-
40-
* **Thomas** _alias_ [@tonyglandyl](https://github.com/tonyglandyl28)
41-

sharedflows/gcp-token-iap/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Once the token has been retrieved, then it is cached for the duration defined in
77
[Documentation Google](https://developers.google.com/identity/protocols/oauth2/service-account)
88

99
## Pré-requis
10-
Lors de l'utilisation de ce sharedflow dans un proxy il faut d'abord prévoir :
10+
When using this sharedflow in a proxy you must first provide :
1111

1212
- A service account that has the rights to call an API on GCP via IAP
1313
- The JSON of this service account
@@ -65,4 +65,4 @@ This policy caches the value of the _google-credentials.access-token_ variable i
6565
- Environment name
6666
- Proxy name
6767
- Revision number
68-
- Target name
68+
- Target name

sharedflows/gcp-token-iap/env/dev/caches.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"valuesNull": false
1010
}
1111
}
12-
]
12+
]

sharedflows/gcp-token-iap/env/prd/caches.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"valuesNull": false
1010
}
1111
}
12-
]
12+
]

sharedflows/gcp-token-iap/env/test/caches.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
"valuesNull": false
1010
}
1111
}
12-
]
12+
]

sharedflows/gcp-token-iap/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
<name>gcp-token-oauth</name>
1414
<version>1.0</version>
1515
<packaging>pom</packaging>
16-
</project>
16+
</project>

sharedflows/gcp-token-iap/sharedflowbundle/policies/am.add-authorization.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
</Headers>
88
</Add>
99
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
10-
</AssignMessage>
10+
</AssignMessage>

0 commit comments

Comments
 (0)