diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V1__Initial_Schema.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V1__Initial_Schema.sql index 860b3647e..bd792737a 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V1__Initial_Schema.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V1__Initial_Schema.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- User create type user_registration_status as enum ('FIRST_USER', 'CREATED', 'PENDING', 'APPROVED', 'REJECTED'); diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V2__Schema_Extension.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V2__Schema_Extension.sql index 72eb052cf..599d64773 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V2__Schema_Extension.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V2__Schema_Extension.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- User alter type user_registration_status add value 'INVITED' before 'CREATED'; alter type user_registration_status add value 'DEACTIVATED' after 'REJECTED'; diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V3__Schema_Extension.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V3__Schema_Extension.sql index e10f75442..e9aafee70 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V3__Schema_Extension.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V3__Schema_Extension.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- User ALTER TABLE "user" ADD COLUMN email text, diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V4__Schema_Extension.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V4__Schema_Extension.sql index 8f2235ba9..bfe8162fa 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V4__Schema_Extension.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V4__Schema_Extension.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- Components create table "component" ( id text primary key, diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V5__Schema_Extension.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V5__Schema_Extension.sql index 22ee60a55..ec89fa6bb 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V5__Schema_Extension.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V5__Schema_Extension.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- User create type user_onboarding_type as enum ('INVITATION', 'SELF_REGISTRATION'); diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V6__AP_Release_1_0_0.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V6__AP_Release_1_0_0.sql index 4e6ba1e0b..1aef70850 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V6__AP_Release_1_0_0.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V6__AP_Release_1_0_0.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- Edit Enum: Remove UserRegistrationStatus.CREATED, UserRegistrationStatus.FIRST_USER delete from "user" diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V7__Schema_Extension.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V7__Schema_Extension.sql index 0408f8dad..0818d9c03 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V7__Schema_Extension.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/migration/V7__Schema_Extension.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- Organization alter table "organization" add column industry text; diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V1_1__Initial_Schema_Test_Data.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V1_1__Initial_Schema_Test_Data.sql index 65d45f319..c7cab204b 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V1_1__Initial_Schema_Test_Data.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V1_1__Initial_Schema_Test_Data.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation -- Insert example data insert into "user" (id, organization_mds_id, registration_status) values ('9525c6ea-34d5-4c11-b9f8-133dc2086f00', null, 'APPROVED'); diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V5_1__Test_Data.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V5_1__Test_Data.sql index 0c1850e45..9d2a774e0 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V5_1__Test_Data.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V5_1__Test_Data.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation update "user" set email = 'user_01@test.sovity.io', first_name = 'First Name 01', last_name = 'Last Name 01', job_title = 'Job Title 01', phone = '+49 0000 01' where id = '00000000-0000-0000-0000-000000000001'; update "user" set email = 'user_02@test.sovity.io', first_name = 'First Name 02', last_name = 'Last Name 02', job_title = 'Job Title 02', phone = '+49 0000 02' where id = '00000000-0000-0000-0000-000000000002'; update "user" set email = 'user_03@test.sovity.io', first_name = 'First Name 03', last_name = 'Last Name 03', job_title = 'Job Title 03', phone = '+49 0000 03' where id = '00000000-0000-0000-0000-000000000003'; diff --git a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V7_1__Test_Data.sql b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V7_1__Test_Data.sql index cbc9f2e8e..6e168fe17 100644 --- a/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V7_1__Test_Data.sql +++ b/authority-portal-backend/authority-portal-db/src/main/resources/db/testdata/V7_1__Test_Data.sql @@ -1,13 +1,3 @@ --- Copyright (c) 2024 sovity GmbH --- --- This program and the accompanying materials are made available under the --- terms of the Apache License, Version 2.0 which is available at --- https://www.apache.org/licenses/LICENSE-2.0 --- --- SPDX-License-Identifier: Apache-2.0 --- --- Contributors: --- sovity GmbH - initial implementation update "organization" set industry = 'Finance' diff --git a/authority-portal-backend/authority-portal-quarkus/src/main/resources/application.properties b/authority-portal-backend/authority-portal-quarkus/src/main/resources/application.properties index aa2dcd19b..14c84d9e0 100644 --- a/authority-portal-backend/authority-portal-quarkus/src/main/resources/application.properties +++ b/authority-portal-backend/authority-portal-quarkus/src/main/resources/application.properties @@ -122,7 +122,7 @@ quarkus.oidc-client.sovity.early-tokens-acquisition=false # Test properties %test.authority-portal.deployment.environments.test.title=Test Environment %test.authority-portal.deployment.environments.test.position=0 -%test.authority-portal.deployment.environments.test.broker.url=url +%test.authority-portal.deployment.environments.test.broker.url=https://url %test.authority-portal.deployment.environments.test.broker.admin-api-key=DefaultBrokerServerAdminApiKey %test.authority-portal.deployment.environments.test.broker.api-key=ApiKeyDefaultValue %test.authority-portal.deployment.environments.test.broker.kuma-name="DEV mds catalog"