Giter Club home page Giter Club logo

arken's Introduction

arken

Build Status

Arken is a daemon tool that takes care of an Arken cluster and exposes an API on top to that.

Usage

Starting

You can launch arken by with the following command

# arken serve

Rest API

Two endpoints provides some information on Arken.

GET http://localhost:8888/api/v1/services
GET http://localhost:8888/api/v1/services/{serviceId}
PUT http://localhost:8888/api/v1/services/{serviceId}?action=start
PUT http://localhost:8888/api/v1/services/{serviceId}?action=stop
PUT http://localhost:8888/api/v1/services/{serviceId}?action=passivate

GET http://localhost:8888/api/v1/domains/
GET http://localhost:8888/api/v1/domain/{domainName}

For complete API documentation go to the doc page : http://localhost:8888/doc/

Web Socket

A websocket is available at ws://localhost:8888/ws/ where ModelEvent are pushed.

Authentication

By adding some keys in the arken.yml configuration file, you can add your some credentials like that :

apiKeys:
  akey:
    accessKey: A23DR
    secretKey: secret

Report & Contribute

We are glad to welcome new developers on this initiative, and even simple usage feedback is great.

  • Ask your questions on Nuxeo Answers
  • Report issues on this github repository (see issues link on the right)
  • Contribute: Send pull requests!

About Nuxeo

Nuxeo provides a modular, extensible Java-based open source software platform for enterprise content management, and packaged applications for document management, digital asset management and case management.

Designed by developers for developers, the Nuxeo platform offers a modern architecture, a powerful plug-in model and extensive packaging capabilities for building content applications.

More information on: http://www.nuxeo.com/

arken's People

Stargazers

jdgroff avatar Remi Cattiau avatar

Watchers

Ryan McCue avatar Benoit Delbosc avatar Thierry Delprat avatar James Cloos avatar Jenkins Nuxeo avatar  avatar  avatar

Forkers

mcedica

arken's Issues

Rancher API Issues

I apologize in advance since this is not exactly a question about arken. However, I will say I just watched the August 2016 Rancher meetup and the arken system is very awesome. I hope to use it shortly :)

So to give some background I have been creating tools to work with the rancher api. One pain point for me is that the github.com/rancher/go-rancher (which this project uses for the Rancher driver) seems to give you the ability to work with only certain operations. For instance I am writing a custom cli for Rancher and I have found that when trying to create a stack through the api (Environment in api terms) I get the following error

Resource type [environment] is not creatable

In situations like this I just crafted the http request myself and off I went. However, after I found out about arken I started looking at your source code since I was wondering if you guys also did the same thing that I just described. But I was surprised to see this in the code. I have tried this myself (the error message I showed). So while I have not tried Arken I am assuming the code works since I watched the meetup and watched it in action.

So my questions are:

  • Does that work with specific Rancher versions? The validation that is preventing my request from working is feed by data that comes from /v1/schemas of Rancher's api. I was not using the same git hash as you for go-rancher but I git checkouted the version you are using and it seems to do the validation from the schemas from the api.

  • Have you ran into the issue that I am describing??

Again I apologize that this is a non Arken issue.

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.