Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit b2959e6

Browse files
committed
fix: ficense header updated
1 parent 83e338b commit b2959e6

File tree

13 files changed

+78
-21
lines changed

13 files changed

+78
-21
lines changed

src/main/java/org/eclipse/tractusx/managedidentitywallets/config/ApplicationConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.
@@ -45,7 +45,6 @@
4545

4646
import java.nio.charset.StandardCharsets;
4747
import java.util.EnumMap;
48-
import java.util.HashMap;
4948
import java.util.List;
5049
import java.util.Map;
5150

src/main/java/org/eclipse/tractusx/managedidentitywallets/config/MIWSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.

src/main/java/org/eclipse/tractusx/managedidentitywallets/dao/entity/Wallet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.

src/main/java/org/eclipse/tractusx/managedidentitywallets/dao/entity/WalletKey.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.
@@ -38,8 +38,6 @@
3838
import lombok.Setter;
3939
import org.eclipse.tractusx.managedidentitywallets.domain.KeyPair;
4040

41-
import java.util.Objects;
42-
4341
/**
4442
* The type Wallet key.
4543
*/

src/main/java/org/eclipse/tractusx/managedidentitywallets/domain/CredentialCreationConfig.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021;2024 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.
77
*
88
* 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
1010
* https://www.apache.org/licenses/LICENSE-2.0.
1111
*
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
1515
* License for the specific language governing permissions and limitations
1616
* under the License.
1717
*

src/main/java/org/eclipse/tractusx/managedidentitywallets/dto/CreateWalletRequest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* *******************************************************************************
3-
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation
3+
* Copyright (c) 2021,2024 Contributors to the Eclipse Foundation
44
*
55
* See the NOTICE file(s) distributed with this work for additional
66
* information regarding copyright ownership.
@@ -24,7 +24,11 @@
2424
import jakarta.validation.constraints.NotBlank;
2525
import jakarta.validation.constraints.Pattern;
2626
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;
2832
import org.eclipse.tractusx.managedidentitywallets.constant.StringPool;
2933
import org.eclipse.tractusx.managedidentitywallets.domain.SigningServiceType;
3034

src/main/resources/application.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
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+
################################################################################
119

220
server:
321
port: ${APPLICATION_PORT:8087}

src/test/java/org/eclipse/tractusx/managedidentitywallets/utils/TestUtils.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import org.eclipse.tractusx.managedidentitywallets.dao.repository.HoldersCredentialRepository;
4343
import org.eclipse.tractusx.managedidentitywallets.dao.repository.IssuersCredentialRepository;
4444
import org.eclipse.tractusx.managedidentitywallets.dao.repository.WalletRepository;
45-
import org.eclipse.tractusx.managedidentitywallets.domain.KeyStorageType;
4645
import org.eclipse.tractusx.managedidentitywallets.domain.SigningServiceType;
4746
import org.eclipse.tractusx.managedidentitywallets.dto.CreateWalletRequest;
4847
import org.eclipse.tractusx.managedidentitywallets.dto.IssueFrameworkCredentialRequest;

src/test/java/org/eclipse/tractusx/managedidentitywallets/vc/DismantlerHoldersCredentialTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@
4949
import org.springframework.beans.factory.annotation.Autowired;
5050
import org.springframework.boot.test.context.SpringBootTest;
5151
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;
5357
import org.springframework.test.context.ContextConfiguration;
5458

5559
import java.util.List;
@@ -244,4 +248,3 @@ private void generateBpnCredential(Wallet holderWallet) {
244248
issuersCredentialService.issueBpnCredential(issuerWallet, holderWallet, false);
245249
}
246250
}
247-

src/test/java/org/eclipse/tractusx/managedidentitywallets/vc/FrameworkHoldersCredentialTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,4 +250,3 @@ private void generateBpnCredential(Wallet holderWallet) {
250250
issuersCredentialService.issueBpnCredential(issuerWallet, holderWallet, false);
251251
}
252252
}
253-

src/test/java/org/eclipse/tractusx/managedidentitywallets/wallet/WalletTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import org.eclipse.tractusx.managedidentitywallets.config.TestContextInitializer;
2929
import org.eclipse.tractusx.managedidentitywallets.constant.MIWVerifiableCredentialType;
3030
import org.eclipse.tractusx.managedidentitywallets.constant.RestURI;
31-
import org.eclipse.tractusx.managedidentitywallets.constant.StringPool;
3231
import org.eclipse.tractusx.managedidentitywallets.constant.SupportedAlgorithms;
3332
import org.eclipse.tractusx.managedidentitywallets.dao.entity.HoldersCredential;
3433
import org.eclipse.tractusx.managedidentitywallets.dao.entity.Wallet;
@@ -42,8 +41,6 @@
4241
import org.eclipse.tractusx.managedidentitywallets.utils.AuthenticationUtils;
4342
import org.eclipse.tractusx.managedidentitywallets.utils.TestUtils;
4443
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;
4744
import org.json.JSONArray;
4845
import org.json.JSONException;
4946
import org.json.JSONObject;

src/test/resources/application-test.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
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+
120
spring:
221
main:
322
allow-circular-references: true

src/test/resources/db/signing-service-migration-test/without-changes.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
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+
122
<databaseChangeLog
223
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
324
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"

0 commit comments

Comments
 (0)