-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Does this lib is supporting specific env like pivotal/bluemix or any other CF env ?
1 .I mean I just need const endpoint = "https://api.cf.mycompany.com"; and it should work?
2. In cf the app is bounded to a spaces so how should i works with your example
CloudController.getInfo().then( (result) => {
UsersUAA.setEndPoint(result.authorization_endpoint);
return UsersUAA.login(username, password);
}).then( (result) => {
Apps.setToken(result);
return Apps.getApps();
}).then( (result) => {
console.log(result);
}).catch( (reason) => {
console.error("Error: " + reason);
});
where does the space is handled here ? since when I connect from the cli it ask me to which space I want to connect...
Btw, I try to run it against our API (until I receive your input ...) and its not working and Im not getting no error message in the console, what it can be ?