Giter VIP home page Giter VIP logo

flexy-osisoft-connector's People

Contributors

alexjhawk avatar it-hms avatar oliver-walker-hms avatar tomkimsey avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexy-osisoft-connector's Issues

Handle error of 0 tags

Connector crashes when 0 tags are being sent to OSIsoft. log message and shutdown instead.

Handle uncaught execption

The main method can throw an uncaught CorruptedTimeTrackerException.

Should have a catch all with generic logging as well.

add sleep on failed init

web pages are slow when can't connect because of the loop
add a sleep for if the request fails

align PIWEBAPI expected url format with other requests

There is a slash "/" expected at the end of the send data request for PIWEBAPI send data requests, but not for any other request type.

this line will need to append a slash to the connector URL to bring that align with the rest of the connector.

Capacity and delay

We are trying to use this interface to push into PI 100 points every seconds.
We are using the OCS interface and the version 3.0.14.

The Java program doesn't seem to be able to handle that number of points. Moreover, even with 10 points, the PI server received the values about every 5 seconds.

What can we do to increase the speed and the capacity ?

Thanks

HTTP Verbs are Case sensitive

GenericTypeBody always adds "format" key

fix checking for types "string" and "boolean". if check will always evaluate to true.

From function getGenericTypeBody, if expression always evaluate to true
if (!type.equalsIgnoreCase("string") || !type.equalsIgnoreCase("boolean"))

Simplify config file

Change "IP" parameter to "URL". Remove "proxyURL". This is just confusing. Also, do not dictate scheme, just let users put the full url in the config file.

Improve HTTP response file behavior

Improve the HTTP response file behavior by including a unique number or value in the name. This prevents the possibility of simultaneous requests overlapping and causing file access errors such as

32603  httpc-http request error
21317  eftp-Write operation is already in progress. New (/usr/responses/dataMessageResponse.json)

Additionally, the cleanup/deletion of response files is inconsistent and should be improved so all temporary response files are deleted once parsed/processed.

connector updates to fast for EBD

I saw it is possible for the connector to start missing data when the start time is equal to the end time in EBD calls.
it will grab no data points and move to the next set of data with a much higher chance of getting in the same state once again grabbing no data.

Limit the shortest EBD call to be 5 seconds from start to end.

make release script

For consistent releases, create release script. Consider using github actions.

Recover lost connections

When the application fails to connect or drops a connection it should reattempt connection indefinitely.

Investigate improved default values for data poll rate and data post rate

Currently, the default data poll rate is 5000ms, and the default data post rate is 5000ms.

After implementing the maximum payload restriction in #130, the connector frequently skips data polling because the payload queue is full.

  • Increasing the data post rate (lower value, such as 2000ms or 2500ms) causes a significant amount of HTTP failures that were not present at 5000ms (see #136).
  • Decreasing the data poll rate (higher value, such as 10000ms) has the unintended side effect of delaying data longer than expected or desired.

PIWEBAPI tag creation bug

There is a logical error in the PIWEBAPI tag creation section of the code, this needs to be fixed.
Expects https error code on tag not existing, receives empty json list with no https error code.

Improve error handling to reduce silent failures

Improve the error handling when sending configurations and/or payloads to OSIsoft.

Currently, if an error message is contained in a response from OSIsoft, there is no indication to the user.

For example, if a type definition error occurs, the connector continues to function as usual, despite data not being able to be processed by the server. An error message should be displayed, and either the connector should be paused until it's fixed or shut down altogether.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.