hms-networks / flexy-canary-connector Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Possibly make the repo public
Make a release, test, and send to [Customer Rep]
no -configuration options, that is blocked by #11
Move the construction of the RequestInfo
object into CanaryDataPayloadManager, which will allow the data poster thread to focus more directly on its intended functionality.
In the initialize phase, verify config options.
Missing config options that do not have default values, should result in error message logged and return false from init.
Mandatory config options (need to check that user has modified from defaults)
url, username, password
Add the extension library logger functionality to specify an exception/throwable with a regular message to improve the API.
Verify success, and response, parse
Related to #1
This needs to be tested when the connector runs and connects
Current web documentation regarding configuration is already in review. It must be updated to reflect the new aggregation period field added along with the data/payload functionality.
See: 2f26c59
Test the functionality for loading the non-abstract portion of the connector config and the configuration file integrity verification system at startup.
Specific errors such as bad tokens should not be passed up to the data poster. Handle them in the request sender class. only pass up unknown errors.
The performance of Thread.yield()
and Thread.sleep(long)
should be investigated.
Thread.yield()
is intended to signal to the OS that the thread can be suspended and immediately re-added to the ready queue, allowing other threads to run.
Thread.yield()
can result in indeterminate periods of delay, especially during scenarios where the other running threads may have a high-CPU load.Thread.sleep(long)
is intended to signal to the OS that the thread shall not run before the defined/specified time period has been met/passed. This is expected to be more predictable than Thread.yield()
but still allow other threads to execute as necessary while the calling thread sleeps.
Thread.sleep(long)
calls can result in the thread not being suspended by the OS, which necessitates the original need to use Thread.yield()
to force OS-level rescheduling.
Reference:
[1]: https://www.java67.com/2012/08/difference-between-yield-and-sleep-in.html
[2]: https://stackoverflow.com/questions/1600572/are-thread-sleep0-and-thread-yield-statements-equivalent
[3]: https://github.com/kifferltd/open-mika/blob/079bcf51dce9442deee2cc728ee1d4a303f738ed/core-vm/java/java/lang/Thread.java#L699
[4]: https://github.com/kifferltd/open-mika/blob/master/core-vm/src/native/java/lang/Thread.c#L582
Move the #connectorConfigLoad from the main class to the abstract level, so that it is required for connectors to implement, and that it can be managed.
email customer with update mid-sprint
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.