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

Inconsistent results with similar HTTP requests #1289

Open
JakobVogelsang opened this issue Feb 13, 2024 · 0 comments
Open

Inconsistent results with similar HTTP requests #1289

JakobVogelsang opened this issue Feb 13, 2024 · 0 comments
Assignees

Comments

@JakobVogelsang
Copy link

I am building a config tool for a very specific north plugin and south plugin setup. In that I need to know all north and south services. I am working with these two requests:

curl http://localhost:8081/fledge/north and curl http://localhost:8081/fledge/south and get structurally different results:

[
  {
    "id": "ef64d968-6ef4-4a15-a514-a0c3c8654881",
    "name": "iec104north_c1",
    "processName": "north_C",
    "enabled": false,
    "execution": "service",
    "address": "",
    "managementPort": "",
    "servicePort": "",
    "protocol": "",
    "status": "",
    "sent": 5670,
    "plugin": {
      "name": "iec104",
      "version": "1.2.0"
    }
  }
]
{
  "services": [
    {
      "name": "iec61850south_s1",
      "address": "",
      "management_port": "",
      "service_port": "",
      "protocol": "",
      "status": "",
      "assets": [
        {
          "count": 5670,
          "asset": "TS1"
        }
      ],
      "plugin": {
        "name": "iec61850",
        "version": "0.0.1"
      },
      "schedule_enabled": false
    }
  ]
}

I kind of have the feeling this is not intentional.

It is not a major issue for me though as I can get the information the one or the other way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants