File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
edc-extensions/migrations/control-plane-migration/src/main
java/org/eclipse/tractusx/edc/postgresql/migration
org/eclipse/tractusx/edc/postgresql/migration/jti-validation Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ /********************************************************************************
2
+ * Copyright (c) 2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3
+ *
4
+ * See the NOTICE file(s) distributed with this work for additional
5
+ * information regarding copyright ownership.
6
+ *
7
+ * This program and the accompanying materials are made available under the
8
+ * terms of the Apache License, Version 2.0 which is available at
9
+ * https://www.apache.org/licenses/LICENSE-2.0.
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
+ * License for the specific language governing permissions and limitations
15
+ * under the License.
16
+ *
17
+ * SPDX-License-Identifier: Apache-2.0
18
+ ********************************************************************************/
19
+
20
+ package org .eclipse .tractusx .edc .postgresql .migration ;
21
+
22
+ public class JtiValidationPostgresqlMigrationExtension extends AbstractPostgresqlMigrationExtension {
23
+ private static final String NAME_SUBSYSTEM = "jti-validation" ;
24
+
25
+ @ Override
26
+ protected String getSubsystemName () {
27
+ return NAME_SUBSYSTEM ;
28
+ }
29
+
30
+ @ Override
31
+ protected String getMigrationSubsystem () {
32
+ return NAME_SUBSYSTEM ;
33
+ }
34
+ }
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ org.eclipse.tractusx.edc.postgresql.migration.ContractNegotiationPostgresqlMigra
27
27
org.eclipse.tractusx.edc.postgresql.migration.DataPlaneInstancePostgresqlMigrationExtension
28
28
org.eclipse.tractusx.edc.postgresql.migration.EdrIndexPostgresqlMigrationExtension
29
29
org.eclipse.tractusx.edc.postgresql.migration.FederatedCatalogCacheMigrationExtension
30
+ org.eclipse.tractusx.edc.postgresql.migration.JtiValidationPostgresqlMigrationExtension
30
31
org.eclipse.tractusx.edc.postgresql.migration.PolicyMonitorPostgresqlMigrationExtension
31
32
org.eclipse.tractusx.edc.postgresql.migration.PolicyPostgresqlMigrationExtension
32
33
org.eclipse.tractusx.edc.postgresql.migration.TransferProcessPostgresqlMigrationExtension
Original file line number Diff line number Diff line change
1
+ --
2
+ -- Copyright (c) 2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3
+ --
4
+ -- This program and the accompanying materials are made available under the
5
+ -- terms of the Apache License, Version 2.0 which is available at
6
+ -- https://www.apache.org/licenses/LICENSE-2.0
7
+ --
8
+ -- SPDX-License-Identifier: Apache-2.0
9
+ --
10
+ -- Contributors:
11
+ -- Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
12
+ --
13
+
14
+ --
15
+ -- table: edc_jti_validation
16
+ --
17
+
18
+ CREATE TABLE IF NOT EXISTS edc_jti_validation
19
+ (
20
+ token_id VARCHAR NOT NULL PRIMARY KEY ,
21
+ expires_at BIGINT -- expiry time in epoch millis
22
+ );
23
+
24
+
You can’t perform that action at this time.
0 commit comments