This repository was archived by the owner on Jan 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 13 files changed +78
-21
lines changed
java/org/eclipse/tractusx/managedidentitywallets
java/org/eclipse/tractusx/managedidentitywallets
db/signing-service-migration-test Expand file tree Collapse file tree 13 files changed +78
-21
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
45
45
46
46
import java .nio .charset .StandardCharsets ;
47
47
import java .util .EnumMap ;
48
- import java .util .HashMap ;
49
48
import java .util .List ;
50
49
import java .util .Map ;
51
50
Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
38
38
import lombok .Setter ;
39
39
import org .eclipse .tractusx .managedidentitywallets .domain .KeyPair ;
40
40
41
- import java .util .Objects ;
42
-
43
41
/**
44
42
* The type Wallet key.
45
43
*/
Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021; 2024 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
7
7
*
8
8
* This program and the accompanying materials are made available under the
9
- * terms of the Apache License; Version 2.0 which is available at
9
+ * terms of the Apache License, Version 2.0 which is available at
10
10
* https://www.apache.org/licenses/LICENSE-2.0.
11
11
*
12
- * Unless required by applicable law or agreed to in writing; software
13
- * distributed under the License is distributed on an "AS IS" BASIS; WITHOUT
14
- * WARRANTIES OR CONDITIONS OF ANY KIND; either express or implied. See the
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
15
* License for the specific language governing permissions and limitations
16
16
* under the License.
17
17
*
Original file line number Diff line number Diff line change 1
1
/*
2
2
* *******************************************************************************
3
- * Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3
+ * Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
4
*
5
5
* See the NOTICE file(s) distributed with this work for additional
6
6
* information regarding copyright ownership.
24
24
import jakarta .validation .constraints .NotBlank ;
25
25
import jakarta .validation .constraints .Pattern ;
26
26
import jakarta .validation .constraints .Size ;
27
- import lombok .*;
27
+ import lombok .AllArgsConstructor ;
28
+ import lombok .Builder ;
29
+ import lombok .Getter ;
30
+ import lombok .NoArgsConstructor ;
31
+ import lombok .Setter ;
28
32
import org .eclipse .tractusx .managedidentitywallets .constant .StringPool ;
29
33
import org .eclipse .tractusx .managedidentitywallets .domain .SigningServiceType ;
30
34
Original file line number Diff line number Diff line change
1
+ # ###############################################################################
2
+ # Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
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
+ # ###############################################################################
1
19
2
20
server :
3
21
port : ${APPLICATION_PORT:8087}
Original file line number Diff line number Diff line change 42
42
import org .eclipse .tractusx .managedidentitywallets .dao .repository .HoldersCredentialRepository ;
43
43
import org .eclipse .tractusx .managedidentitywallets .dao .repository .IssuersCredentialRepository ;
44
44
import org .eclipse .tractusx .managedidentitywallets .dao .repository .WalletRepository ;
45
- import org .eclipse .tractusx .managedidentitywallets .domain .KeyStorageType ;
46
45
import org .eclipse .tractusx .managedidentitywallets .domain .SigningServiceType ;
47
46
import org .eclipse .tractusx .managedidentitywallets .dto .CreateWalletRequest ;
48
47
import org .eclipse .tractusx .managedidentitywallets .dto .IssueFrameworkCredentialRequest ;
Original file line number Diff line number Diff line change 49
49
import org .springframework .beans .factory .annotation .Autowired ;
50
50
import org .springframework .boot .test .context .SpringBootTest ;
51
51
import org .springframework .boot .test .web .client .TestRestTemplate ;
52
- import org .springframework .http .*;
52
+ import org .springframework .http .HttpEntity ;
53
+ import org .springframework .http .HttpHeaders ;
54
+ import org .springframework .http .HttpMethod ;
55
+ import org .springframework .http .HttpStatus ;
56
+ import org .springframework .http .ResponseEntity ;
53
57
import org .springframework .test .context .ContextConfiguration ;
54
58
55
59
import java .util .List ;
@@ -244,4 +248,3 @@ private void generateBpnCredential(Wallet holderWallet) {
244
248
issuersCredentialService .issueBpnCredential (issuerWallet , holderWallet , false );
245
249
}
246
250
}
247
-
Original file line number Diff line number Diff line change @@ -250,4 +250,3 @@ private void generateBpnCredential(Wallet holderWallet) {
250
250
issuersCredentialService .issueBpnCredential (issuerWallet , holderWallet , false );
251
251
}
252
252
}
253
-
Original file line number Diff line number Diff line change 28
28
import org .eclipse .tractusx .managedidentitywallets .config .TestContextInitializer ;
29
29
import org .eclipse .tractusx .managedidentitywallets .constant .MIWVerifiableCredentialType ;
30
30
import org .eclipse .tractusx .managedidentitywallets .constant .RestURI ;
31
- import org .eclipse .tractusx .managedidentitywallets .constant .StringPool ;
32
31
import org .eclipse .tractusx .managedidentitywallets .constant .SupportedAlgorithms ;
33
32
import org .eclipse .tractusx .managedidentitywallets .dao .entity .HoldersCredential ;
34
33
import org .eclipse .tractusx .managedidentitywallets .dao .entity .Wallet ;
42
41
import org .eclipse .tractusx .managedidentitywallets .utils .AuthenticationUtils ;
43
42
import org .eclipse .tractusx .managedidentitywallets .utils .TestUtils ;
44
43
import org .eclipse .tractusx .ssi .lib .did .web .DidWebFactory ;
45
- import org .eclipse .tractusx .ssi .lib .model .verifiable .credential .VerifiableCredential ;
46
- import org .eclipse .tractusx .ssi .lib .model .verifiable .credential .VerifiableCredentialSubject ;
47
44
import org .json .JSONArray ;
48
45
import org .json .JSONException ;
49
46
import org .json .JSONObject ;
Original file line number Diff line number Diff line change
1
+ # ###############################################################################
2
+ # Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
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
+
1
20
spring :
2
21
main :
3
22
allow-circular-references : true
Original file line number Diff line number Diff line change
1
+ <!--
2
+ ~ /********************************************************************************
3
+ ~ Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
4
+ ~
5
+ ~ See the NOTICE file(s) distributed with this work for additional
6
+ ~ information regarding copyright ownership.
7
+ ~
8
+ ~ This program and the accompanying materials are made available under the
9
+ ~ terms of the Apache License, Version 2.0 which is available at
10
+ ~ https://www.apache.org/licenses/LICENSE-2.0.
11
+ ~
12
+ ~ Unless required by applicable law or agreed to in writing, software
13
+ ~ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
+ ~ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
+ ~ License for the specific language governing permissions and limitations
16
+ ~ under the License.
17
+ ~
18
+ ~ SPDX-License-Identifier: Apache-2.0
19
+ ~ ********************************************************************************/
20
+ -->
21
+
1
22
<databaseChangeLog
2
23
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
24
xmlns =" http://www.liquibase.org/xml/ns/dbchangelog"
You can’t perform that action at this time.
0 commit comments