incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r1188488 - in /incubator/ambari/trunk/client: ./ src/main/java/org/apache/ambari/common/rest/entities/ src/main/java/org/apache/ambari/common/rest/entities/agent/
Date Tue, 25 Oct 2011 01:48:23 GMT
Author: eyang
Date: Tue Oct 25 01:48:23 2011
New Revision: 1188488

URL: http://svn.apache.org/viewvc?rev=1188488&view=rev
Log:
AMBARI-99. Added schema and wadl generation to be part of the build system,
and integrate with maven site. (Eric Yang)

Modified:
    incubator/ambari/trunk/client/pom.xml
    incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/Response.java
    incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ActionResults.java
    incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/Actions.java

Modified: incubator/ambari/trunk/client/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/pom.xml?rev=1188488&r1=1188487&r2=1188488&view=diff
==============================================================================
--- incubator/ambari/trunk/client/pom.xml (original)
+++ incubator/ambari/trunk/client/pom.xml Tue Oct 25 01:48:23 2011
@@ -120,7 +120,9 @@
   <profiles>
     <profile>
       <id>docs</id>
-      <activeByDefault>true</activeByDefault>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
       <build>
         <plugins>
           <plugin>
@@ -138,7 +140,7 @@
             <configuration>
               <project>${project}</project>
               <destdir>../src/site/resources</destdir>
-              <srcdir>${project.build.sourceDirectory}/org/apache/ambari/client/</srcdir>
+              <srcdir>${project.build.sourceDirectory}/org/apache/ambari/common/rest/entities/</srcdir>
               <verbose>true</verbose>
               <schemas>
                 <schema>

Modified: incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/Response.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/Response.java?rev=1188488&r1=1188487&r2=1188488&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/Response.java
(original)
+++ incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/Response.java
Tue Oct 25 01:48:23 2011
@@ -18,10 +18,13 @@
 
 package org.apache.ambari.common.rest.entities;
 
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlRootElement;
 
 @XmlRootElement
+@XmlAccessorType(XmlAccessType.FIELD)
 public class Response {
   @XmlElement(name="exit_code")
   public int code;

Modified: incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ActionResults.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ActionResults.java?rev=1188488&r1=1188487&r2=1188488&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ActionResults.java
(original)
+++ incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/ActionResults.java
Tue Oct 25 01:48:23 2011
@@ -21,6 +21,10 @@ package org.apache.ambari.common.rest.en
 import java.util.ArrayList;
 import java.util.List;
 
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+
+@XmlAccessorType(XmlAccessType.FIELD)
 public class ActionResults {
   public List<ActionResult> actionResults;
   

Modified: incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/Actions.java
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/Actions.java?rev=1188488&r1=1188487&r2=1188488&view=diff
==============================================================================
--- incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/Actions.java
(original)
+++ incubator/ambari/trunk/client/src/main/java/org/apache/ambari/common/rest/entities/agent/Actions.java
Tue Oct 25 01:48:23 2011
@@ -21,6 +21,10 @@ package org.apache.ambari.common.rest.en
 import java.util.ArrayList;
 import java.util.List;
 
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+
+@XmlAccessorType(XmlAccessType.FIELD)
 public class Actions {
   public List<Action> actions;
   



Mime
View raw message