Datacenter Store
master:
develop:
It manages all ernest datacenter storage through a NATS api
Installation
make deps
make install
Running Tests
make deps
make test
Endpoints
You have available the nats endpoints:
###datacenter.get
It receives as input a valid datacenter with only the id or name as required fields. It returns a valid datacenter.
###datacenter.del
It receives as input a valid datacenter with only the id as required field. And it deletes the row if it can find it.
###datacenter.set
It receives as input a valid datacenter with id or not, and it will create or update the datacenter with the given fields.
###datacenter.find
It receives as input a valid datacenter, and it will do a search on the database with the given fields.
Contributing
Please read through our
contributing guidelines.
Included are directions for opening issues, coding standards, and notes on
development.
Moreover, if your pull request contains patches or features, you must include
relevant unit tests.
Versioning
For transparency into our release cycle and in striving to maintain backward
compatibility, this project is maintained under the Semantic Versioning guidelines.
Copyright and License
Code and documentation copyright since 2015 ernest.io authors.
Code released under
the Mozilla Public License Version 2.0.