Skip to content

Commit

Permalink
Merge pull request #128 hotfix/v1.0.1 - Support DTR Hotfix
Browse files Browse the repository at this point in the history
Hotfix/v1.0.1: Enabled support to latest Digital Twin Registry Hotfix
  • Loading branch information
matbmoser authored Aug 31, 2023
2 parents c532cc9 + cea4a81 commit d58cb0f
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@

The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [released]
## [1.0.1] - 31-08-2023

## Updated
- Fixed model parsing from payloads incoming from the `Digital Twin Registry` due to their latest hotfix.
- Ignored extra attributes not relevant for the Digital Product Pass application.

- Added footer License notes in the all the documents inside `/docs` to comply with the TRGs.

- Updated the Trivy workflow to fix a bug related with the configuration

## [released]
## [1.0.0] - 16-08-2023
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ In particular, the appliction is used to access the battery passport data provid

### Software Version
#### Helm Chart Version
<pre id="helm-version"><a href="https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/digital-product-pass-1.0.0">1.0.0</a></pre>
<pre id="helm-version"><a href="https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/digital-product-pass-1.0.1">1.0.1</a></pre>
#### Application Version
<pre id="app-version"><a href="https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/v1.0.0">v1.0.0</a></pre>
<pre id="app-version"><a href="https://github.com/eclipse-tractusx/digital-product-pass/releases/tag/v1.0.1">v1.0.1</a></pre>


## Application Preview
Expand Down
4 changes: 2 additions & 2 deletions charts/digital-product-pass/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 1.0.0
version: 1.0.1


# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.0"
appVersion: "1.0.1"
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@

package org.eclipse.tractusx.productpass.models.dtregistry;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;

import java.util.ArrayList;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DigitalTwin3 {
@JsonProperty("description")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

package org.eclipse.tractusx.productpass.models.dtregistry;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.common.base.Splitter;
Expand All @@ -31,6 +32,7 @@
import java.util.List;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class EndPoint3 {
@JsonProperty("interface")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@

package org.eclipse.tractusx.productpass.models.dtregistry;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;

import java.util.ArrayList;


@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SubModel3 {
@JsonProperty("description")
ArrayList<JsonNode> description;
Expand Down
10 changes: 10 additions & 0 deletions docs/RELEASE_USER.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
# Release Notes Digital Product Pass Application
User friendly relase notes without especific technical details.

**August 31 2023 (Version 1.0.1)**
*31.08.2023*

### Updated

#### Fixed the parsing of new attributes by ignoring any extra attributes incoming from the DTR.
Due to the latest hotfix released `v0.3.15-M1` of the `Digital Twin Registry`, was necesarry
to implement a hotfix that ignored all the extra attributes incoming from the DTR that were not relevant
to the Digital Product Pass Application core functionality.

**August 15 2023 (Version 1.0.0)**
*15.08.2023*

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "productpass-consumer-ui",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"scripts": {
"serve": "vite --host localhost",
Expand Down

0 comments on commit d58cb0f

Please sign in to comment.