blob: c2e8023ae175a9f508ef706b5d618fcbeaa0c538 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.woorea.openstack.examples.simple;
public class OpenStackSimpleClient {
/**
* @param args
*/
public static void main(String[] args) {
// OpenStackClient client = new OpenStackClient(ExamplesConfiguration.KEYSTONE_AUTH_URL);
// Access access = client.request("/tokens").execute("POST", Entity.json("{\"auth\":{\"passwordCredentials\":{\"username\":\"\",\"password\":\"\"}}}"), Access.class);
// System.out.println(access);
}
}
|