prosociallearneu / cf-nodejs-client Goto Github PK
View Code? Open in Web Editor NEWA Cloud Foundry Client for Node.js
Home Page: https://prosociallearneu.github.io/cf-nodejs-client/
License: Apache License 2.0
A Cloud Foundry Client for Node.js
Home Page: https://prosociallearneu.github.io/cf-nodejs-client/
License: Apache License 2.0
Apps.prototype.uploadApp = function (token_type, access_token, appName, app_guid, filePath)
From the point of view of the user, it is better if the user only use objects from the library.
It is a bit puzzle AppMacros with Examples.
It is necessary to research about the usage of field: refresh_token
Error: {
"code": 310006,
"description": "You have exceeded the total routes for your organization's quota.",
"error_code": "CF-OrgQuotaTotalRoutesExceeded"
}
http://apidocs.cloudfoundry.org/217/service_bindings/list_all_service_bindings.html
GET /v2/service_bindings
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/stats
output:
{"0":{"state":"DOWN","since":1439817518}}
Application Security Groups
cf start appdevelopment
Starting app appdevelopment in org DevBox / space dev as admin...
FAILED
Server error, status code: 400, error code: 170001, message: Staging error: no a
vailable stage
Error: the string "{\n \"code\": 100005,\n \"description\": \"You have ex
ceeded your organization's memory limit.\",\n \"error_code\": \"CF-AppMemoryQuo
taExceeded\"\n}\n" was thrown, throw an Error :)
método necesario para macro: start app
/v2/spaces/e558b66a-1b9c-4c66-a779-5cf46e3b060c/apps?q=name%3Aapp2aside6&inline-relations-depth=1
GET /v2/apps/d2c6634d-b9da-462c-b420-54ac155e6327/instances/0/files/path_to_file
http://apidocs.cloudfoundry.org/217/files/retrieve_file.html
GET /v2/user_provided_service_instances/:guid
WEBSOCKET REQUEST: [2015-08-10T09:52:53+02:00]
GET /tail/?app=c2821f8f-3671-48ff-b3ba-20eeb15e255e HTTP/1.1
Host: wss://loggregator.MY_IP.xip.io:4443
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Version: 13
Sec-WebSocket-Key: [HIDDEN]
Origin: http://localhost
Authorization: [PRIVATE DATA HIDDEN]
WEBSOCKET RESPONSE: [2015-08-10T09:52:54+02:00]
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-Websocket-Accept: xdXbtZjCfzGQ2sKQ1ahMLgFD8II=
Starting app StaticWebsiteHelloWorld in org DevBox / space dev as admin...
It is necessary to avoid this kind of errors:
undefined
^
SyntaxError: Unexpected token u
at Object.parse (native)
at Request._callback (C:\Users\PATH\cf-nodejs-client\lib\utils\HttpUtils.js:76:31)
at self.callback (C:\Users\PATH\cf-nodejs-client\node_modules\request\request.js:198:22)
at Request.emit (events.js:107:17)
at Request.onRequestError (C:\Users\PATH\cf-nodejs-client\node_modules\request\request.js:861:8)
at ClientRequest.emit (events.js:107:17)
at TLSSocket.socketErrorListener (_http_client.js:271:9)
at TLSSocket.emit (events.js:129:20)
at net.js:950:16
at process._tickCallback (node.js:355:11)
Associate Cloud foundry documentation about every REST call in every method.
GET /v2/apps/2afa40de-8979-4988-9877-52b1c21ae81a/instances
Move big functions used in the testCases to macros folder in examples.
It is necessary to improve the options to create an App.
http://apidocs.cloudfoundry.org/218/apps/creating_an_app.html
A good improvement, could be if the method accept this new parameters:
memory 1024 512
instances 2 6 10
disk_quota 1204 2048
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.