Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EDH-3711] - Wrong DD about GRID agreement update to old OS #149

Open
EinarArro opened this issue Dec 11, 2024 · 0 comments
Open

[EDH-3711] - Wrong DD about GRID agreement update to old OS #149

EinarArro opened this issue Dec 11, 2024 · 0 comments
Labels
critical Will be fixed as soon as possible

Comments

@EinarArro
Copy link
Collaborator

Problem

When the GRID agreement is updated, then the old OS (SUPPLY agreement is not valid anymore), gets DD message

Steps to reproduce

  • Find MP, that has at least 2 SUPPLY agreements and where one of the SUPPLY agreements is not valid anymore. My agreements in the DEV environment:
id mp_eic type ser_pro_eic customer_eic valid_from valid_to
18630250 38ZGO-1000006D-7 GRID 38X-EIN-GO-----0 38X-AVP-V8JG00C9 2024-10-14 21:00:00
28347694 38ZGO-1000006D-7 GENERAL_SERVICE 38X-EIN-GO-----0 38X-AVP-V8JG00C9 2024-10-14 21:00:00 2024-10-31 22:00:00
18630256 38ZGO-1000006D-7 SUPPLY 38X-EIN-OS-----J 38X-AVP-V8JG00C9 2024-10-31 22:00:00 2024-11-30 22:00:00
28383280 38ZGO-1000006D-7 SUPPLY 38X-EIN-ALL----B 38X-AVP-V8JG00C9 2024-11-30 22:00:00 2024-12-10 22:00:00
28383282 38ZGO-1000006D-7 SUPPLY 38X-EIN-OS-----J 38X-AVP-V8JG00C9 2024-12-10 22:00:00
  • Update the GRID agreement

Expected result

No DD-s to the old OS "38X-EIN-ALL----B", because the SUPPLY agreement ended on "2024-12-10 22:00:00" UTC time and the current datetime is "2024-12-11 11:40" UTC time.

Actual Result

DD to old OS

Request:

{
  "marketParticipantContext": {
    "marketParticipantIdentification": "38X-EIN-ALL----B",
    "marketParticipantRole": "OPEN_SUPPLIER",
    "commodityType": "ELECTRICITY"
  },
  "dataDistributionAttributes": {
    "createdTimeFrom": "2024-12-11T13:28:54.082758+02:00",
    "createdTimeTo": "2024-12-11T13:33:54.082782+02:00",
    "resourceType": "AGREEMENT"
  },
  "pagination": {
    "page": 0,
    "pageSize": 100
  }
}

Response:

{
  "dataDistributions": [
    {
      "id": 180971166,
      "createdTime": "2024-12-11T11:32:23.737658300Z",
      "resourceType": "AGREEMENT",
      "reason": "UPDATE",
      "content": "{\"agreementId\":\"einar-2024-10-15T12:04:43.631853+03:00-EST\",\"meterEic\":\"38ZGO-1000006D-7\",\"agreementType\":\"GRID\",\"preliminaryTerminationFee\":false,\"commodityType\":\"ELECTRICITY\",\"validFrom\":\"2024-10-14T21:00Z\",\"validTo\":\"2025-01-14T22:00Z\"}",
      "hasContent": true
    }
  ],
  "pagination": {
    "page": 0,
    "totalPages": 1
  }
}

Impact (If known)

Confusion

Work-a-round

Just ignore those DD messages

@EinarArro EinarArro added the critical Will be fixed as soon as possible label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
critical Will be fixed as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant