From a2ee98978a98adbd20d5519742824ee57f832620 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:53:19 +0100 Subject: [PATCH] chore: synchronize workspaces --- .../fixtures/hydra_client/client-22.json | 66 +++++++++---------- .../testdata/20240129174410_testdata.sql | 7 +- 2 files changed, 39 insertions(+), 34 deletions(-) diff --git a/persistence/sql/migratest/fixtures/hydra_client/client-22.json b/persistence/sql/migratest/fixtures/hydra_client/client-22.json index 417fa14fdc1..13a940c8416 100644 --- a/persistence/sql/migratest/fixtures/hydra_client/client-22.json +++ b/persistence/sql/migratest/fixtures/hydra_client/client-22.json @@ -1,32 +1,32 @@ { "AccessTokenStrategy": "", "AllowedCORSOrigins": [ - "http://cors/21_1", - "http://cors/21_2" + "http://cors/22_1", + "http://cors/22_2" ], "Audience": [ - "autdience-21_1", - "autdience-21_2" + "autdience-22_1", + "autdience-22_2" ], "BackChannelLogoutSessionRequired": true, - "BackChannelLogoutURI": "http://back_logout/21", - "ClientURI": "http://client/21", + "BackChannelLogoutURI": "http://back_logout/22", + "ClientURI": "http://client/22", "Contacts": [ - "contact-21_1", - "contact-21_2" + "contact-22_1", + "contact-22_2" ], "CreatedAt": "0001-01-01T00:00:00Z", "FrontChannelLogoutSessionRequired": true, - "FrontChannelLogoutURI": "http://front_logout/21", + "FrontChannelLogoutURI": "http://front_logout/22", "GrantTypes": [ - "grant-21_1", - "grant-21_2" + "grant-22_1", + "grant-22_2" ], "ID": "client-22", "JSONWebKeys": { "JSONWebKeySet": null }, - "JSONWebKeysURI": "http://jwks/21", + "JSONWebKeysURI": "http://jwks/22", "Lifespans": { "AuthorizationCodeGrantAccessTokenLifespan": { "Duration": 0, @@ -77,52 +77,52 @@ "Valid": false } }, - "LogoURI": "http://logo/21", + "LogoURI": "http://logo/22", "Metadata": { - "migration": "21" + "migration": "22" }, "NID": "00000000-0000-0000-0000-000000000000", - "Name": "Client 21", - "Owner": "owner-21", + "Name": "Client 22", + "Owner": "owner-22", "PK": { "String": "", "Valid": false }, "PKDeprecated": 0, - "PolicyURI": "http://policy/21", + "PolicyURI": "http://policy/22", "PostLogoutRedirectURIs": [ - "http://post_redirect/21_1", - "http://post_redirect/21_2" + "http://post_redirect/22_1", + "http://post_redirect/22_2" ], "RedirectURIs": [ - "http://redirect/21_1", - "http://redirect/21_2" + "http://redirect/22_1", + "http://redirect/22_2" ], "RegistrationAccessToken": "", "RegistrationAccessTokenSignature": "", "RegistrationClientURI": "", - "RequestObjectSigningAlgorithm": "r_alg-21", + "RequestObjectSigningAlgorithm": "r_alg-22", "RequestURIs": [ - "http://request/21_1", - "http://request/21_2" + "http://request/22_1", + "http://request/22_2" ], "ResponseTypes": [ - "response-21_1", - "response-21_2" + "response-22_1", + "response-22_2" ], - "Scope": "scope-21", - "Secret": "secret-21", + "Scope": "scope-22", + "Secret": "secret-22", "SecretExpiresAt": 0, - "SectorIdentifierURI": "http://sector_id/21", + "SectorIdentifierURI": "http://sector_id/22", "SkipConsent": true, "SkipLogoutConsent": { "Bool": true, "Valid": true }, - "SubjectType": "subject-21", - "TermsOfServiceURI": "http://tos/21", - "TokenEndpointAuthMethod": "token_auth-21", + "SubjectType": "subject-22", + "TermsOfServiceURI": "http://tos/22", + "TokenEndpointAuthMethod": "token_auth-22", "TokenEndpointAuthSigningAlgorithm": "", "UpdatedAt": "0001-01-01T00:00:00Z", - "UserinfoSignedResponseAlg": "u_alg-21" + "UserinfoSignedResponseAlg": "u_alg-22" } diff --git a/persistence/sql/migratest/testdata/20240129174410_testdata.sql b/persistence/sql/migratest/testdata/20240129174410_testdata.sql index 7daf265553e..b71277553ac 100644 --- a/persistence/sql/migratest/testdata/20240129174410_testdata.sql +++ b/persistence/sql/migratest/testdata/20240129174410_testdata.sql @@ -38,4 +38,9 @@ INSERT INTO hydra_client (id, skip_consent, skip_logout_consent) VALUES ('client-22', - (SELECT id FROM networks LIMIT 1), 'Client 21', 'secret-21', '["http://redirect/21_1","http://redirect/21_2"]', '["grant-21_1","grant-21_2"]', '["response-21_1","response-21_2"]', 'scope-21', 'owner-21', 'http://policy/21', 'http://tos/21', 'http://client/21', 'http://logo/21', '["contact-21_1","contact-21_2"]', 0, 'http://sector_id/21', '', 'http://jwks/21', '["http://request/21_1","http://request/21_2"]', 'token_auth-21', 'r_alg-21', 'u_alg-21', 'subject-21', '["http://cors/21_1","http://cors/21_2"]', 0, '["autdience-21_1","autdience-21_2"]', '2022-02-15 22:20:23.004598', '2022-02-15 22:20:23.004598', 'http://front_logout/21', true, '["http://post_redirect/21_1","http://post_redirect/21_2"]', 'http://back_logout/21', true, '{"migration": "21"}', '', '47434cc1-ae2d-4791-83d2-afb46cb84ee3', '', TRUE, TRUE ); + (SELECT id FROM networks LIMIT 1), 'Client 22', 'secret-22', '["http://redirect/22_1","http://redirect/22_2"]', '["grant-22_1","grant-22_2"]', + '["response-22_1","response-22_2"]', 'scope-22', 'owner-22', 'http://policy/22', 'http://tos/22', 'http://client/22', 'http://logo/22', + '["contact-22_1","contact-22_2"]', 0, 'http://sector_id/22', '', 'http://jwks/22', '["http://request/22_1","http://request/22_2"]', + 'token_auth-22', 'r_alg-22', 'u_alg-22', 'subject-22', '["http://cors/22_1","http://cors/22_2"]', 0, '["autdience-22_1","autdience-22_2"]', + '2022-02-15 22:20:23.004598', '2022-02-15 22:20:23.004598', 'http://front_logout/22', true, '["http://post_redirect/22_1","http://post_redirect/22_2"]', + 'http://back_logout/22', true, '{"migration": "22"}', '', '2ca3b77b-ee29-4b63-aa07-6384e6c650fb', '', TRUE, TRUE );