Skip to content

Commit

Permalink
Merge pull request #364 from eclipse-tractusx/chore/license-headers-d…
Browse files Browse the repository at this point in the history
…pp-verification

chore(license-headers): update copyright headers in dpp verification
  • Loading branch information
saudkhan116 authored Jul 11, 2024
2 parents c800893 + 975b71c commit 74f8fdc
Show file tree
Hide file tree
Showing 22 changed files with 45 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ SPDX-License-Identifier: CC-BY-4.0

The digital product passport application provides a consumer user interface to request a battery passport from a battery manufacturer using the standardized components and technologies in a Catena-X network. The passport will be displayed in a human-readable from any browser. The data exchange standards given by Catena-X are used to provide the battery passport to different personas (roles) in the network.

In particular, the appliction is used to access the battery passport data provided by battery manufacturer. By scanning QR-code or knowing the manufacturer and battery-ID, a user can request the passport through **Eclipse Dataspace Connectors (EDCs)** over the Catena-X network. The passport provider will provide data attributes that is only visible to a permitted signed-in user.
In particular, the application is used to access the battery passport data provided by battery manufacturer. By scanning QR-code or knowing the manufacturer and battery-ID, a user can request the passport through **Eclipse Dataspace Connectors (EDCs)** over the Catena-X network. The passport provider will provide data attributes that is only visible to a permitted signed-in user.

### Software Version
#### Helm Chart Version
Expand Down
10 changes: 5 additions & 5 deletions dpp-verification/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!--
#######################################################################
Tractus-X - Digital Product Pass Verification Add-on
Copyright (c) 2023, 2024 BMW AG
Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Copyright (c) 2024 Contributors to the Eclipse Foundation
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2024 Contributors to the Eclipse Foundation
See the NOTICE file(s) distributed with this work for additional
information regarding copyright ownership.
Expand Down
2 changes: 1 addition & 1 deletion dpp-verification/charts/simple-wallet/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
5 changes: 3 additions & 2 deletions dpp-verification/charts/simple-wallet/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2022, 2024 BMW AG, Henkel AG & Co. KGaA
Copyright 2023, 2024 CGI Deutschland B.V. & Co. KG
Copyright 2023, 2024 BMW AG
Copyright 2023, 2024 CGI Deutschland B.V. & Co. KG
Copyright 2024 Contributors to the Eclipse Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{/********************************************************************************
* Tractus-X - Digital Product Passport Verification Add-on
* Tractus-X - Digital Product Pass Verification Add-on
*
* Copyright (c) 2023, 2024 BMW AG
* Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#################################################################################
# Tractus-X - Digital Product Passport Application
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2022, 2024 BMW AG, Henkel AG & Co. KGaA
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2022, 2024 Contributors to the Eclipse Foundation
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down Expand Up @@ -36,4 +36,4 @@ spec:
image: busybox
command: ['wget']
args: ['{{ include "simple-wallet.fullname" . }}:{{ .Values.service.port }}/health']
restartPolicy: Never
restartPolicy: Never
4 changes: 2 additions & 2 deletions dpp-verification/charts/simple-wallet/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down Expand Up @@ -165,4 +165,4 @@ volumes:
claimName: "{{ .Release.Name }}-pvc-wallet-data"
# -- temporary file system mount
- name: tmpfs
emptyDir: {}
emptyDir: {}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2024 BMW AG
# Copyright (c) 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
Expand Down
2 changes: 1 addition & 1 deletion dpp-verification/simple-wallet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
10 changes: 5 additions & 5 deletions dpp-verification/simple-wallet/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!--
#######################################################################
Tractus-X - Digital Product Passport Verification Add-on
Copyright (c) 2023 BMW AG
Copyright (c) 2023 CGI Deutschland B.V. & Co. KG
Copyright (c) 2024 Contributors to the Eclipse Foundation
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2024 Contributors to the Eclipse Foundation
See the NOTICE file(s) distributed with this work for additional
information regarding copyright ownership.
Expand Down
2 changes: 1 addition & 1 deletion dpp-verification/simple-wallet/config/configuration.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
4 changes: 2 additions & 2 deletions dpp-verification/simple-wallet/config/logging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down Expand Up @@ -59,4 +59,4 @@ loggers:

root:
level: INFO
handlers: [console, file]
handlers: [console, file]
10 changes: 5 additions & 5 deletions dpp-verification/simple-wallet/init.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2024 BMW AG
# Copyright (c) 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
Expand Down Expand Up @@ -359,10 +359,10 @@ def context():

# Initialize the server environment and get the comand line arguments
args = get_arguments()
# Configure the logging configuration depending on the configuration stated
# Configure the logging confiuration depending on the configuration stated
logger = logging.getLogger('staging')
if(args.debug):
logger = logging.getLogger('development')
# Start the flask application
app.run(host=args.host, port=args.port, debug=args.debug)
print("\nClosing the application... Thank you for using the Digital Product Pass Simple Wallet!")
print("\nClosing the application... Thank you for using the Digital Product Pass Simple Wallet!")
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
2 changes: 1 addition & 1 deletion dpp-verification/simple-wallet/utilities/cryptool.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down
4 changes: 2 additions & 2 deletions dpp-verification/simple-wallet/utilities/httpUtils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down Expand Up @@ -136,4 +136,4 @@ def is_authorized(request, bpn, config):
logger.error("The api key is not the same as the authorization key configured!")
return False

return True
return True
4 changes: 2 additions & 2 deletions dpp-verification/simple-wallet/utilities/operators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#################################################################################
# Tractus-X - Digital Product Passport Verification Add-on
# Tractus-X - Digital Product Pass Verification Add-on
#
# Copyright (c) 2023, 2024 BMW AG
# Copyright (c) 2023, 2024 CGI Deutschland B.V. & Co. KG
Expand Down Expand Up @@ -155,4 +155,4 @@ def get_attribute(sourceObject,attrPath,defaultValue=None,pathSep="."):

@staticmethod
def search_element_by_field(array, id, field="id"):
return next((x for x in array if x[field] == id), None)
return next((x for x in array if x[field] == id), None)

0 comments on commit 74f8fdc

Please sign in to comment.