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

Commit 956b6af

Browse files
committed
fix: copyright updated
1 parent e00620d commit 956b6af

26 files changed

+171
-35
lines changed

build.gradle

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/********************************************************************************
2+
* Copyright (c) 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
plugins {
221
id 'java'
322
id 'org.springframework.boot' version "${springBootVersion}"

src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/HoldersCredentialControllerApiDocs.java

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
package org.eclipse.tractusx.managedidentitywallets.apidocs;
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+
*/
221

3-
import java.lang.annotation.ElementType;
4-
import java.lang.annotation.Retention;
5-
import java.lang.annotation.RetentionPolicy;
6-
import java.lang.annotation.Target;
22+
package org.eclipse.tractusx.managedidentitywallets.apidocs;
723

824
import io.swagger.v3.oas.annotations.Operation;
925
import io.swagger.v3.oas.annotations.media.Content;
@@ -13,6 +29,11 @@
1329
import io.swagger.v3.oas.annotations.responses.ApiResponses;
1430
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
1531

32+
import java.lang.annotation.ElementType;
33+
import java.lang.annotation.Retention;
34+
import java.lang.annotation.RetentionPolicy;
35+
import java.lang.annotation.Target;
36+
1637
public class HoldersCredentialControllerApiDocs {
1738

1839
@Target(ElementType.METHOD)

src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java

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
package org.eclipse.tractusx.managedidentitywallets.apidocs;
223

324
import io.swagger.v3.oas.annotations.Operation;

src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/PresentationControllerApiDocs.java

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
package org.eclipse.tractusx.managedidentitywallets.apidocs;
223

324
import io.swagger.v3.oas.annotations.Operation;

src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/WalletControllerApiDocs.java

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
package org.eclipse.tractusx.managedidentitywallets.apidocs;
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+
*/
221

3-
import java.lang.annotation.ElementType;
4-
import java.lang.annotation.Retention;
5-
import java.lang.annotation.RetentionPolicy;
6-
import java.lang.annotation.Target;
22+
package org.eclipse.tractusx.managedidentitywallets.apidocs;
723

824
import io.swagger.v3.oas.annotations.Operation;
925
import io.swagger.v3.oas.annotations.Parameter;
@@ -14,6 +30,11 @@
1430
import io.swagger.v3.oas.annotations.responses.ApiResponses;
1531
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
1632

33+
import java.lang.annotation.ElementType;
34+
import java.lang.annotation.Retention;
35+
import java.lang.annotation.RetentionPolicy;
36+
import java.lang.annotation.Target;
37+
1738
public class WalletControllerApiDocs {
1839

1940
@Target(ElementType.METHOD)

src/main/java/org/eclipse/tractusx/managedidentitywallets/command/GetCredentialsCommand.java

Lines changed: 3 additions & 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.
@@ -21,12 +21,12 @@
2121

2222
package org.eclipse.tractusx.managedidentitywallets.command;
2323

24-
import java.util.List;
25-
2624
import lombok.Builder;
2725
import lombok.Getter;
2826
import lombok.Setter;
2927

28+
import java.util.List;
29+
3030
@Builder
3131
@Getter
3232
@Setter

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

Lines changed: 10 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.
@@ -26,7 +26,15 @@
2626
import jakarta.validation.ConstraintViolationException;
2727
import lombok.extern.slf4j.Slf4j;
2828
import org.apache.commons.lang3.exception.ExceptionUtils;
29-
import org.eclipse.tractusx.managedidentitywallets.exception.*;
29+
import org.eclipse.tractusx.managedidentitywallets.exception.BadDataException;
30+
import org.eclipse.tractusx.managedidentitywallets.exception.CredentialNotFoundProblem;
31+
import org.eclipse.tractusx.managedidentitywallets.exception.DuplicateCredentialProblem;
32+
import org.eclipse.tractusx.managedidentitywallets.exception.DuplicateSummaryCredentialProblem;
33+
import org.eclipse.tractusx.managedidentitywallets.exception.DuplicateWalletProblem;
34+
import org.eclipse.tractusx.managedidentitywallets.exception.ForbiddenException;
35+
import org.eclipse.tractusx.managedidentitywallets.exception.MissingVcTypesException;
36+
import org.eclipse.tractusx.managedidentitywallets.exception.PermissionViolationException;
37+
import org.eclipse.tractusx.managedidentitywallets.exception.WalletNotFoundProblem;
3038
import org.eclipse.tractusx.ssi.lib.exception.proof.NoVerificationKeyFoundException;
3139
import org.springframework.data.mapping.PropertyReferenceException;
3240
import org.springframework.http.HttpStatus;

src/main/java/org/eclipse/tractusx/managedidentitywallets/constant/MIWVerifiableCredentialType.java

Lines changed: 2 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.
@@ -30,7 +30,7 @@ public class MIWVerifiableCredentialType {
3030

3131
/** The constant MEMBERSHIP_CREDENTIAL. */
3232
public static final String MEMBERSHIP_CREDENTIAL = "MembershipCredential";
33-
33+
3434
public static final String DISMANTLER_CREDENTIAL = "DismantlerCredential";
3535
/**
3636
* The constant USE_CASE_FRAMEWORK_CONDITION_CX.

src/main/java/org/eclipse/tractusx/managedidentitywallets/constant/StringPool.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/controller/HoldersCredentialController.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/controller/IssuersCredentialController.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/repository/WalletKeyRepository.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/service/CommonService.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/service/DidDocumentResolverService.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/service/HoldersCredentialService.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/service/IssuersCredentialService.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/service/WalletKeyService.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/service/WalletService.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/utils/CommonUtils.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/test/java/org/eclipse/tractusx/managedidentitywallets/utils/TestUtils.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/test/java/org/eclipse/tractusx/managedidentitywallets/vc/FrameworkHoldersCredentialTest.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.
@@ -51,7 +51,11 @@
5151
import org.springframework.beans.factory.annotation.Autowired;
5252
import org.springframework.boot.test.context.SpringBootTest;
5353
import org.springframework.boot.test.web.client.TestRestTemplate;
54-
import org.springframework.http.*;
54+
import org.springframework.http.HttpEntity;
55+
import org.springframework.http.HttpHeaders;
56+
import org.springframework.http.HttpMethod;
57+
import org.springframework.http.HttpStatus;
58+
import org.springframework.http.ResponseEntity;
5559
import org.springframework.test.context.ContextConfiguration;
5660

5761
import java.util.List;

src/test/java/org/eclipse/tractusx/managedidentitywallets/vc/IssuersCredentialTest.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/test/java/org/eclipse/tractusx/managedidentitywallets/vc/MembershipHoldersCredentialTest.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/test/java/org/eclipse/tractusx/managedidentitywallets/vc/PresentationValidationTest.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/test/java/org/eclipse/tractusx/managedidentitywallets/vc/VerifiableCredentialIssuerEqualProofSignerTest.java

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
package org.eclipse.tractusx.managedidentitywallets.vc;
223

324
import com.fasterxml.jackson.core.JsonProcessingException;

src/test/java/org/eclipse/tractusx/managedidentitywallets/wallet/WalletTest.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.

0 commit comments

Comments
 (0)