Skip to content

Commit

Permalink
Deploy STA in DEV (#63)
Browse files Browse the repository at this point in the history
* Align staging to dev (#37)

Add staging pipeline file (#36)

* add file

* fix

* Update staging (#39)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

---------

Co-authored-by: Norbert Nagy <nagy.norbert1989@gmail.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>

* fix(cli): fix seeder to handle empty data (#42)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* chore(cli): cleanup

* fix(cli): azure pipeline

* [17584] Deploy to staging (#47)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

---------

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>
Co-authored-by: Norbert Nagy <nagy.norbert1989@gmail.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>

* [18810] Deploy to staging (#50)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

---------

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>
Co-authored-by: Norbert Nagy <nagy.norbert1989@gmail.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>

* [18630] Deploy renamed seeder to staging (#53)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

---------

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>
Co-authored-by: Norbert Nagy <nagy.norbert1989@gmail.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>

* 18941 Deploy dev into stage (#62)

* Add staging pipeline file (#36)

* add file

* fix

* feat(cli): update seeder (#35)

* Add deploy stage to logto-admin (#38)

* fix(cli): fix logto pipeline (#40)

* fix(cli): fix seeder to handle empty data (#41)

fix(cli): fix seeder to handle empty values

* feat: logto uat changes (#43)

* feat: logto uat changes

* Update pipeline-variables/uat.yml

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

---------

Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>

* Test migration command in Terraform (#48)

fix: remove seed commands from dockerfile

* 18630 seed real roles (#45)

* feat(cli): seed roles and permissions into db

* fix(cli): cleanup code

* chore(cli): small update

* chore(cli): refactoring roles

* chore(cli): refactoring organization roles

* chore(cli): update

* chore(cli): rename seeder file (#52)

* chore(cli): rename seeder file

* chore(cli): fix eof new line

* chore: use port 7001 instead of 5001 to avoid conflicts with forms (#56)

* fix(cli): remove secrets from local seeder (#59)

* feat(cli): seed is_third_party flag (#57)

* feat(cli): seed is_third_party flag

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* Reverted .gitleaksignore change

---------

Co-authored-by: alfonsograziano <alfonsohack0019@gmail.com>
Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>

* feat(cli): seed multiple redurect uris (#58)

* Feature(ogcio): messaging integration (#60)

* feat(ogcio): added messaging permissions locally

* feat(core): updated seeder for deployments

* chore(core): added EOL

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>

* Add MyGovId Mock service to Logto (#55)

* feat(demo-app): copied mock service from life events repo

* feat(demo-app): add mock users + fix build

* feat(demo-app): changed port to not clash with 3005 in life-events auth-service

* fix(demo-app): trying to ignore the entire seeder local file from gitleaks

* feat(cli): seeder updates already existing entries (#61)

* feat(cli): seeder updates already existing entries

* feat(cli): seeder file updated

* feat(cli): update

* feat(cli): documenting the seeders limitations

* feat(cli): updated documentation

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>
Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>
Co-authored-by: Marius Sebastian Besel <145235082+msebastianb@users.noreply.github.com>
Co-authored-by: alfonsograziano <alfonsohack0019@gmail.com>
Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>

---------

Co-authored-by: Alfonso Graziano <alfonso.graziano@nearform.com>
Co-authored-by: William Monteiro <williamwd@users.noreply.github.com>
Co-authored-by: Sara Zanellato <47299026+peschina@users.noreply.github.com>
Co-authored-by: Marius Sebastian Besel <145235082+msebastianb@users.noreply.github.com>
Co-authored-by: alfonsograziano <alfonsohack0019@gmail.com>
Co-authored-by: SamSalvatico <40636569+SamSalvatico@users.noreply.github.com>
  • Loading branch information
7 people authored Jul 4, 2024
1 parent 7364969 commit 5f9a2db
Showing 1 changed file with 114 additions and 0 deletions.
114 changes: 114 additions & 0 deletions packages/cli/src/commands/database/ogcio/ogcio-seeder-dev.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"default": {
"organizations": [
{
"name": "OGCIO",
"description": "OGCIO Organization",
"id": "ogcio"
}
],
"applications": [
{
"name": "Payments Building Block",
"description": "Payments App of Life Events",
"type": "Traditional",
"redirect_uri": "<SEEDER_PAYMENTS_APP_REDIRECT_URI>",
"logout_redirect_uri": "<SEEDER_PAYMENTS_APP_LOGOUT_REDIRECT_URI>",
"secret": "<SEEDER_PAYMENTS_APP_SECRET>",
"id": "r5f56tpkytpqyyshiutd2"
},
{
"name": "Messaging Building Block",
"description": "Messaging App of Life Events",
"type": "Traditional",
"redirect_uri": "<SEEDER_MESSAGING_APP_REDIRECT_URI>",
"logout_redirect_uri": "<SEEDER_MESSAGING_APP_LOGOUT_REDIRECT_URI>",
"secret": "<SEEDER_MESSAGING_APP_SECRET>",
"id": "1lvmteh2ao3xrswyq7j3e"
}
],
"resources": [
{
"id": "payments-api",
"name": "Payments Building Block API",
"indicator": "<SEEDER_PAYMENTS_API_INDICATOR>"
},
{
"id": "messaging-api",
"name": "Messaging Building Block API",
"indicator": "<SEEDER_MESSAGING_API_INDICATOR>"
}
],
"connectors": [
{
"id": "mygovid",
"sync_profile": false,
"connector_id": "mygovid",
"config": {
"scope": "openid profile email",
"clientId": "<SEEDER_MYGOVID_CONNECTOR_CLIENT_ID>",
"clientSecret": "<SEEDER_MYGOVID_CONNECTOR_CLIENT_SECRET>",
"tokenEndpoint": "<SEEDER_MYGOVID_CONNECTOR_TOKEN_ENDPOINT>",
"authorizationEndpoint": "<SEEDER_MYGOVID_CONNECTOR_AUTHORIZATION_ENDPOINT>",
"tokenEndpointAuthMethod": "client_secret_post",
"idTokenVerificationConfig": {
"jwksUri": "<SEEDER_MYGOVID_CONNECTOR_JWS_URI>"
},
"clientSecretJwtSigningAlgorithm": "HS256"
},
"metadata": {
"logo": "https://mygovidstatic.blob.core.windows.net/assets/images/favicon_196x196.png",
"name": {
"en": "MyGovId"
},
"target": "MyGovId (MyGovId connector)"
}
}
],
"sign_in_experiences": [
{
"id": "default",
"color": {
"primaryColor": "#007DA6",
"darkPrimaryColor": "#007DA6",
"isDarkModeEnabled": false
},
"branding": {
"logoUrl": "https://mygovidstatic.blob.core.windows.net/assets/images/helpchat-logo.png",
"darkLogoUrl": "https://mygovidstatic.blob.core.windows.net/assets/images/helpchat-logo.png"
},
"language_info": {
"autoDetect": true,
"fallbackLanguage": "en"
},
"sign_in": {
"methods": []
},
"sign_up": {
"verify": false,
"password": false,
"identifiers": []
},
"social_sign_in_connector_targets": [
"MyGovId (MyGovId connector)"
],
"sign_in_mode": "SignInAndRegister"
}
],
"webhooks": [
{
"id": "login_webhook",
"name": "User log in",
"events": [
"PostRegister",
"PostSignIn"
],
"config": {
"url": "<SEEDER_WEBHOOK_LOGIN_URL>"
},
"signing_key": "<SEEDER_WEBHOOK_SIGNING_KEY>",
"enabled": true
}
]
}
}

0 comments on commit 5f9a2db

Please sign in to comment.