Skip to content

Releases: eclipse-tractusx/item-relationship-service

5.4.1

19 Aug 10:33
cf0b76a
Compare
Choose a tag to compare

Fixed

  • Fixed already merged implementation from "Access and Usage Policy Validation flow correction. #757"
    where fallback to default policy was not implemented correctly.
  • Improved exception handling concerning invalid date format in search parameters for GET /irs/policies/paged. #639
  • Change policy to include full namespace https://w3id.org/catenax/policy/ instead of cx-policy:
    in some remaining code places (in context of #794).
  • Fixed flaky test InMemoryJobStoreTest.checkLastModifiedOnAfterCreation() (PR#857).
  • Fixed occasion where completed Job callbacks are called multiple times. #755
  • BPN and endpointURL(s) are set in the tombstone now. #841

Changed

  • The date search operators AFTER_LOCAL_DATE and BEFORE_LOCAL_DATE for fields createdOn and validUntil support any ISO date time now (relates to #639 and #750).
  • Improved documentation for GET /irs/policies/paged endpoint. #639
  • Cleanup in IrsApplicationTest.generatedOpenApiMatchesContract
    (removed obsolete ignoringFields, improved assertion message)
  • Allow local URLs as IRS Job complete callback URLs. eclipse-tractusx/traceability-foss#511

Full Changelog: 5.4.0...5.4.1

item-relationship-service-7.4.1

19 Aug 10:31
c5a008c
Compare
Choose a tag to compare

5.4.0

22 Jul 07:36
ba70205
Compare
Choose a tag to compare

Changed

  • Default policies are now configured using JSON in accordance with the ODRL schema. #542

Full Changelog: 5.3.0...5.4.0

item-relationship-service-7.4.0

22 Jul 07:36
ba70205
Compare
Choose a tag to compare

Changed

  • Update IRS version to 5.4.0
  • Changed configuration for default policies (#542) from:
    edc:
      catalog:
        acceptedPolicies:
          - leftOperand: "https://w3id.org/catenax/policy/FrameworkAgreement"
            operator: "eq"
            rightOperand: "traceability:1.0"
          - leftOperand: "https://w3id.org/catenax/policy/UsagePurpose"
            operator: "eq"
            rightOperand: "cx.core.industrycore:1"
    
    to:
    edc:
      catalog:
        acceptedPolicies: >
          [{
              "policyId": "default-policy",
              "createdOn": "2024-07-17T16:15:14.12345678Z",
              "validUntil": "9999-01-01T00:00:00.00000000Z",
              "permissions": [
                  {
                      "action": "use",
                      "constraint": {
                          "and": [
                              {
                                  "leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement",
                                  "operator": {
                                      "@id": "eq"
                                  },
                                  "rightOperand": "traceability:1.0"
                              },
                              {
                                  "leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
                                  "operator": {
                                      "@id": "eq"
                                  },
                                  "rightOperand": "cx.core.industrycore:1"
                              }
                          ]
                      }
                  }
              ]
          }]  
    

Full Changelog: item-relationship-service-7.3.1...item-relationship-service-7.4.0

item-relationship-service-7.3.1

16 Jul 13:09
2c71a52
Compare
Choose a tag to compare

Changed

  • Change default policy to include full namespace https://w3id.org/catenax/policy/ instead of cx-policy:

Full Changelog: item-relationship-service-7.3.0...item-relationship-service-7.3.1

5.3.0

15 Jul 14:31
5ca63e5
Compare
Choose a tag to compare

Added

  • Added filtering by "createdOn", "validUntil" to paging endpoint for Policy Store API: GET /irs/policies/paged. #750
  • Added autocomplete endpoint Policy Store API: GET /irs/policies/attributes/{attribute}. #750
  • Added get and delete functionality for contract definitions eclipse-tractusx/traceability-foss#1190

Fixed

  • Access and Usage Policy Validation flow correction. #757
  • GET /irs/policies and GET /irs/policies/paged return the configured default policies if no custom default policy is defined now. #734
  • IRS Policy Validation does not accept subset of AND constraint any longer. #649

Changed

  • Replaced technical error message when trying to delete the configured default policy with a user-friendly message.
  • Renamed EdcCreateContractDefinitionRequest to EdcContractDefinition because it's used for both get and post eclipse-tractusx/traceability-foss#1190

Known knowns

  • #755 Duplicate callbacks for jobs

Full Changelog: 5.2.0...5.3.0

item-relationship-service-7.3.0

15 Jul 14:26
5ca63e5
Compare
Choose a tag to compare

item-relationship-service-7.2.1

10 Jul 07:10
ed3a594
Compare
Choose a tag to compare

5.2.0

05 Jul 13:58
9436656
Compare
Choose a tag to compare

Fixed

Changed

  • Improved policy store API input validation. #528
  • Extended datamodel of EdcPolicyPermissionConstraint to include andConstraints
  • Marked createAccessPolicy requests with deprecation mark.
  • Remove edc namespace from EdcContractAgreementNegotiationResponse and
    EdcContractAgreementsResponse. eclipse-tractusx/traceability-foss#963
  • Added missing @context values in edc asset creation. eclipse-tractusx/traceability-foss#978
  • Switch to dct:type https://w3id.org/catenax/taxonomy# for notification asset creation. eclipse-tractusx/traceability-foss#978
  • Shells in Job response will contain all submodel descriptors returned by provider, instead filtered by aspect-type parameter. #510
  • Updated contributing, notice, and readme files for TRG 7 #681
  • Handling of expired policies when approving a notification eclipse-tractusx/traceability-foss#639

Added

  • Added tests for aspect version compatibility. #529
  • Added endpoint for dedicated removal of policy from BPNL. #559
  • Integration Test Policy Store API Unhappy Path. #519
  • Support for SingleLevelUsageAsPlanned. #470
  • Documentation to describe the delegate process. #470
  • Added file for CC BY 4.0 license for TRG 7 #681

Full Changelog: 5.1.4...5.2.0

4.5.3

05 Jul 13:12
Compare
Choose a tag to compare

Fixed

  • Fixed submodel request path by introducing configuration property irs-edc-client.submodel.submodel-suffix which will
    be appended to the href URL.
  • Fixed validation of json-schemas - IRS is creating tombstone instead collecting Submodel payload, when it not passes validation of schema #522

Full Changelog: 4.5.2...4.5.3