Giter Club home page Giter Club logo

fty-common's People

Contributors

aquette avatar arnaudquette-eaton avatar barraudl avatar boricj avatar eldoreijk avatar ericclappier-eaton avatar etnklendathu avatar francoisregisdegott-eaton avatar geraldguillaume avatar jana-rapava avatar jean-baptisteboric-eaton avatar jimklimov avatar kkathreen avatar michal42 avatar mimixav avatar nicodav avatar perrettecl avatar stark-dev avatar yarovyii avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fty-common's Issues

Create a singleton object

One possibility is to include in this common lib a singleton object which can store any usefull informations for other agents.
2 Examples :
-Store the id and or the uuid of the rackcontroller, so an agent can get this informations from this singleton object instead of make a request to fty-info. Of course the singleton object will make a request to fty-info the first time an agent will request this informations => less request to fty-info.

-In our case, etn-ipm1 send a message to etn-amqp to notify any changes and etn-amqp will try to send this change to an IPM1 connected to the IPC or not !. So if the etn-amqp store the information "the ipc is connected to an IPM1" in the singleton object , the etn-ipm1 will check this information and send or not the change to etn-amqp. => less useless messages send between agents.

Sources migrated into fty-common lack git history

Instead of doing a bit of git magic to introduce sources along with their commit history into fty-common repository (so we can later inspect who did what - and why, thanks to commit messages, regardless of which repo hosted the code at that time) a snapshot of source files were just copied into fty-common making it as if an initial commit happened a few days ago. Original files are removed from fty-rest in the meanwhile, making it complicated to inspect their history.

A possible solution may be to make a clone of fty-rest repo (as of Mar 5 2018 or so; maybe using the advanced git commands to cut codebases into submodules etc.), and apply a series of "git mv" and "git rm" commands to rearrange it into current state of fty-common (and then overlay the changes done in fty-common afterwards). If this works well, it will add the searchable history without changing the current codebase state and without requiring an invasive force-push to the fty-common upstream repo.

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.