Scada-LTS icon indicating copy to clipboard operation
Scada-LTS copied to clipboard

Removal of unnecessary api calls

Open Limraj opened this issue 3 years ago • 0 comments

Expected Behavior Removal of unnecessary api calls.

Actual Behavior Currently, on some pages, api/websocket is called, although the data is not displayed or used anywhere. An example of such a page is an anonymous view and calls:

  1. http://localhost:8080/ScadaBR/api/auth/user;

  2. ws://localhost:8080/ScadaBR/ws-scada/alarmLevel

  3. http://localhost:8080/ScadaBR/api/events/highestUnsilencedLevelAlarm

  4. http://localhost:8080/ScadaBR/api/events/search : ...\Scada-LTS\scadalts-ui\src\store\events\index.js ...\Scada-LTS\scadalts-ui\src\components\GraphicalView\ViewComponents\VCAlarmList\index.vue ...\Scada-LTS\scadalts-ui\src\views\Alarms\EventList.vue EventsAPI.getEvents

  5. http://localhost:8080/ScadaBR/api/alarms/live/0/1

  6. http://localhost:8080/ScadaBR/api/view/getModificationTime/1

Specifications Version: 2.6.10

Limraj avatar Dec 16 '21 07:12 Limraj