triton-graphql -> Joyent cloudapi-graphql (#22)

This brings the name of the application inline with the terminology in
the Joyent triton / cloud api documentation.
This commit is contained in:
Tom Gallacher 2016-10-14 12:51:09 +01:00 committed by Raoul Millais
parent fe5b7ffc5c
commit e71fc374bc
65 changed files with 7 additions and 6 deletions

View File

@ -11,9 +11,9 @@ We will also include multiple PoC's of various bits of functionality from UI's p
``` ```
. .
└── triton-graphql └── cloudapi-graphql
``` ```
### triton-graphql ### cloudapi-graphql
An implementation of the [Joyent CloudAPI](https://apidocs.joyent.com/cloudapi/) in GraphQL. An implementation of the [Joyent CloudAPI](https://apidocs.joyent.com/cloudapi/) in GraphQL.

View File

@ -1,6 +1,6 @@
# triton-graphql # cloudapi-graphql
Proof-of-Concept of the Triton API running on GraphQL. Proof-of-Concept of the [Joyent Cloud API](https://apidocs.joyent.com/cloudapi/) running on GraphQL.
## Setup ## Setup

View File

@ -1,5 +1,5 @@
{ {
"name": "triton-graphql", "name": "cloudapi-graphql",
"private": true, "private": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"version": "1.0.0", "version": "1.0.0",

View File

@ -3,9 +3,10 @@ const credentials = require('../../credentials.json');
const auth = require('smartdc-auth'); const auth = require('smartdc-auth');
const cloudapi = require('triton/lib/cloudapi2'); const cloudapi = require('triton/lib/cloudapi2');
const bunyan = require('bunyan'); const bunyan = require('bunyan');
const pkg = require('../../package.json');
var log = bunyan.createLogger({ var log = bunyan.createLogger({
name: 'triton-graphql' name: pkg.name,
}); });
var client = cloudapi.createClient({ var client = cloudapi.createClient({