Giter Club home page Giter Club logo

impulses's People

Contributors

dependabot[bot] avatar joaocac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tasofia fossabot

impulses's Issues

Create Channel documentation

As a contributor and developer, I need to have a clear understanding of why, how and what is the Channel Class

Produce a document that we can export and use in the documentation site explaining the reason and how it is expected to work as well o what it accomplishes.

It would be nice to have illustrations if possible (visual is always better and clear).

Codecove nolonger get the report

Code cove is currently failing on dev because CircleCI cannot send the report to Codecove.
The reason was the update of the coverage cli to NYC and not well configured to generate lcov report.

Should be possible to cancel a message

As an Entity, I should be able to cancel a message.

After the message being sent, it would be good to have a cancellation of that broadcast if it didn't have already started or sent.

In some cases, we need this mechanism so we remove from the queue a specific message allowing the system to be freed and preventing extra actions and communication to make the message action to roll-back.

Create Queue documentation

As a contributor and developer, I need to have a clear understanding of why, how and what is the Queue Class

Produce a document that we can export and use in the documentation site explaining the reason and how it is expected to work as well o what it accomplishes.

It would be nice to have illustrations if possible (visual is always better and clear).

Create Bus documentation

As a contributor and developer, I need to have a clear understanding of why, how and what is the Bus Class

Produce a document that we can export and use in the documentation site explaining the reason and how it is expected to work as well o what it accomplishes.

It would be nice to have illustrations if possible (visual is always better and clear).

Create Values documentation

As a contributor and developer, I need to have a clear understanding of why, how and what is the Values Class

Produce a document that we can export and use in the documentation site explaining the reason and how it is expected to work as well o what it accomplishes.

It would be nice to have illustrations if possible (visual is always better and clear).

Correct tests behaviour

Tests are currently failing in CircleCI dues to the update of mocha libs and its correction on when the test termination should occur.

We need to find a better approach for testing but for now, we need to add an extra flag so it behaves as before.

Create API Class

As a developer, I need a class to integrate my code and map functionality

  • It will allow the developer to use the concept of a public and private bus (leave open the fact that we might need more than one bus as public and private.
  • It could be good to have a class that we could extend
  • We should only have an external method that will install the API based on a configuration object (need definition)

Create a message class

Explanation

A message class will implement all the required functionality to deal with message-related information.
This will serve as an interface between the client and the API

Current Need

  • Set/Get message content
  • Get tracking information (if active)
  • Set/Get envelope header (entity, channel, return address, etc...)

Future

  • Encryption / Decryption so we can securely send messages (for now they can be set externally)

Do not allow an invalid listener to be registered in the channel

Need to prevent the registration of any provided listener that is invalid. Preventing it from hitting the cache and consuming resources.

Observation

We can currently add a "bad" listener and still get a queued id. if it still in the queue when we call listenerInfo the channel will get the id instead of null.

Consideration

While it is wrong to accept an invalid listener, we are also queuing it for future processing. This is consuming resources (memory and processing) with no need.

Expected result

If a listener is invalid we should immediately throw an error and if listenerInfo is called then we will reply null as expected

Need a way to prevent replying to itself

Example:

  • An API listener is set to reply a message every time it senses a signal
  • As it sends a signal back, it will also sense it, so we have a loop generation or replying to its own replies

Possible solution:

  • Add a sender hash (API object based) to the message
  • Mark with a hash the listener (API object based)
  • If the listener to be called have the same hash of the message sender, then it will be skipped

Create API documentation

As a contributor and developer, I need to have a clear understanding of why, how and what is the API Class

Produce a document that we can export and use in the documentation site explaining the reason and how it is expected to work as well o what it accomplishes.

It would be nice to have illustrations if possible (visual is always better and clear).

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.