maiste / equinoxe Goto Github PK
View Code? Open in Web Editor NEWWrapper to Equinix API
License: MIT License
Wrapper to Equinix API
License: MIT License
The module should provide functionalities to get and update the user information.
It is possible to create tags on different machines.
Provide more functions to the API module:
It doesn't really make sense to have a package for the executable as it is only for internal manipulations.
Add some helpers to Ezjsonm
to easily parse JSON
Provide an Equinoxe.Ezcurl
Module.
Once the test system has been deployed, the library and the CLI can be released ๐
Add more functions to the device API.
Add more functions to projects api.
The goal is to provide a module to check if the metro
given has space to run a specific machine.
Maybe with
Alcotest
As the new interface has been proposed, a new release can be made.
Access print the wrong json:
let access field json =
try Ezjsonm.find json [ field ]
with Not_found ->
raise
(Ezjsonm.Parse_error
(`String field, Format.sprintf "access: field %s not found" field))
It must be:
raise
(Ezjsonm.Parse_error
(json, Format.sprintf "access: field %s not found" field))
Allow to get a token an execute a simple action:
$ equinoxe-cli user_id --token "path:/path/to/token" user_id
> The user id related to this token is 5555-422222-*
To allow people deploying their own system, we need to be able to provide a iPXE
system in Equinoxe.create
You probably don't want to call this
run
on all the http calls, rather the Equinoxe api should also produce Lwt values when the backend requires it. To stay compatible with "direct style" I/O, you can abstract the monad in the backend:type 'a m val return : 'a -> 'a m val bind : ('a -> 'b m) -> 'a m -> 'b m (* ... *) val post : t -> path:string -> Json.t -> Json.t mThen the backend can instantiate with
type 'a m = 'a Lwt.t
ortype 'a m = 'a
(here's an example of what it might look like)
I'm not sure that
Json.t = (Ezjsonm.value, ...) result
is the right type for the input? (the body of the request could be astring
orEzjsonm.value
, but the backend shouldn't care about an Error in the input?)
httpaf
.the command should be in Equinix format. For example:
$ equinix-cli /organizations/id <id>
This is related to #31 issue.
Add more functions to the organization API.
Define a Functor API to build an easy to use API but with a specific HTTP system.
The API must:
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.