Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use latest stable jersey library

  • Loading branch information...
commit dbe1a605ddcb1d6b90abb5302d0100c845af6541 1 parent c51a33d
@woorea authored
View
7 ceilometer-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>ceilometer-model</artifactId>
<name>OpenStack Ceilometer Model</name>
<description>OpenStack Ceilometer Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
View
7 glance-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>glance-model</artifactId>
<name>OpenStack Glance Model</name>
<description>OpenStack Glance Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
View
7 keystone-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>keystone-model</artifactId>
<name>OpenStack Keystone Model</name>
<description>OpenStack Keystone Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
View
7 nova-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>nova-model</artifactId>
<name>OpenStack Nova Model</name>
<description>OpenStack Nova Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
View
14 openstack-client/pom.xml
@@ -13,22 +13,12 @@
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
- <version>2.0-SNAPSHOT</version>
+ <version>2.0-m12</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
- <version>2.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-jaxrs</artifactId>
- <version>1.9.8</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-xc</artifactId>
- <version>1.9.8</version>
+ <version>2.0-m12</version>
</dependency>
</dependencies>
</project>
View
7 openstack-examples/src/main/java/org/openstack/examples/keystone/KeystoneCreateTenant.java
@@ -10,11 +10,11 @@
public class KeystoneCreateTenant {
- private static final String KEYSTONE_AUTH_URL = "http://10.1.245.150:5000/v2.0";
+ private static final String KEYSTONE_AUTH_URL = "http://identity.x.org/v2.0";
private static final String KEYSTONE_USERNAME = "admin";
- private static final String KEYSTONE_PASSWORD = "admin";
+ private static final String KEYSTONE_PASSWORD = "secret0";
/**
* @param args
@@ -31,8 +31,7 @@ public static void main(String[] args) {
tenant.setDescription("benn.cs");
tenant.setEnabled(true);
//Get the adminURL client and use the token got above
- keystone = new KeystoneClient(KeystoneUtils.findEndpointURL(access.getServiceCatalog(), "identity", null, "admin"),
- access.getToken().getId());
+ keystone = new KeystoneClient("http://keystone.x.org/v2.0", access.getToken().getId());
tenant = keystone.execute(new CreateTenant(tenant));
System.out.println(tenant);
keystone.execute(new DeleteTenant(tenant.getId()));
View
14 pom.xml
@@ -65,6 +65,15 @@
<url>https://maven.java.net/content/repositories/snapshots</url>
</repository>
</repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <version>1.9.8</version>
+ </dependency>
+ </dependencies>
+
<build>
<plugins>
<plugin>
@@ -82,6 +91,11 @@
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.6</version>
+ </plugin>
</plugins>
</build>
</project>
View
7 quantum-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>quantum-model</artifactId>
<name>Quantum Model</name>
<description>Quantum Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
View
7 swift-model/pom.xml
@@ -9,11 +9,4 @@
<artifactId>swift-model</artifactId>
<name>OpenStack Swift Model</name>
<description>OpenStack Swift Model</description>
- <dependencies>
- <dependency>
- <groupId>org.codehaus.jackson</groupId>
- <artifactId>jackson-mapper-asl</artifactId>
- <version>1.9.8</version>
- </dependency>
- </dependencies>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.