curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [18/52] [abbrv] git commit: wip
Date Wed, 27 Mar 2013 01:11:13 GMT
wip


Project: http://git-wip-us.apache.org/repos/asf/incubator-curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-curator/commit/329ebb3d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-curator/tree/329ebb3d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-curator/diff/329ebb3d

Branch: refs/heads/master
Commit: 329ebb3d8651906ca41e4f647da4dc21c63f1249
Parents: 197a6d6
Author: Jordan Zimmerman <jordan@jordanzimmerman.com>
Authored: Sat Mar 9 20:43:30 2013 -0800
Committer: Jordan Zimmerman <jordan@jordanzimmerman.com>
Committed: Sat Mar 9 20:43:30 2013 -0800

----------------------------------------------------------------------
 .../src/site/confluence/index.confluence           |   40 +++++++-------
 .../src/site/confluence/index.confluence           |   20 ++++----
 pom.xml                                            |   25 +++++++---
 src/site/site.xml                                  |    2 +-
 4 files changed, 49 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/329ebb3d/curator-x-discovery-server/src/site/confluence/index.confluence
----------------------------------------------------------------------
diff --git a/curator-x-discovery-server/src/site/confluence/index.confluence b/curator-x-discovery-server/src/site/confluence/index.confluence
index 91d2c18..850ef8a 100644
--- a/curator-x-discovery-server/src/site/confluence/index.confluence
+++ b/curator-x-discovery-server/src/site/confluence/index.confluence
@@ -51,39 +51,39 @@ method registers a service instance. If the ServiceType is STATIC, the
instance
 until they are manually deleted.
 
 h2. removeService
-*Method:* DELETE
-*Path:* v1/service/{name}/{id}
-*Request Entity:* n/a
-*Response Entity:* n/a
+*Method:* DELETE \\
+*Path:* v1/service/{name}/{id} \\
+*Request Entity:* n/a \\
+*Response Entity:* n/a \\
 *Description:* {name} is the service name, {id} is the instance id. The specified service
is deleted/unregistered.
 
 h2. get
-*Method:* GET
-*Path:* v1/service/{name}/{id}
-*Request Entity:* n/a
-*Response Entity:* ServiceInstance
+*Method:* GET \\
+*Path:* v1/service/{name}/{id} \\
+*Request Entity:* n/a \\
+*Response Entity:* ServiceInstance \\
 *Description:* {name} is the service name, {id} is the instance id. Returns the complete
_ServiceInstance_ for the specified
 service. 404 is returned if not found.
 
 h2. getAllNames
-*Method:* GET
-*Path:* v1/service
-*Request Entity:* n/a
-*Response Entity:* ServiceNames
+*Method:* GET \\
+*Path:* v1/service \\
+*Request Entity:* n/a \\
+*Response Entity:* ServiceNames \\
 *Description:* Returns all currently registered service names.
 
 h2. getAll
-*Method:* GET
-*Path:* v1/service/{name}
-*Request Entity:* n/a
-*Response Entity:* ServiceInstances
+*Method:* GET \\
+*Path:* v1/service/{name} \\
+*Request Entity:* n/a \\
+*Response Entity:* ServiceInstances \\
 *Description:* {name} is the service name. Returns all service instances for the named service.
 
 h2. getAny
-*Method:* GET
-*Path:* v1/anyservice/{name}
-*Request Entity:* n/a
-*Response Entity:* ServiceInstance
+*Method:* GET \\
+*Path:* v1/anyservice/{name} \\
+*Request Entity:* n/a \\
+*Response Entity:* ServiceInstance \\
 *Description:* {name} is the service name. Return a random instance from the given service
or 404.
 
 h2. JSON specs

http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/329ebb3d/curator-x-discovery/src/site/confluence/index.confluence
----------------------------------------------------------------------
diff --git a/curator-x-discovery/src/site/confluence/index.confluence b/curator-x-discovery/src/site/confluence/index.confluence
index d87ad4a..c40d60d 100644
--- a/curator-x-discovery/src/site/confluence/index.confluence
+++ b/curator-x-discovery/src/site/confluence/index.confluence
@@ -72,35 +72,35 @@ The ServiceProvider API is all you should need for most purposes. However,
for f
 Normally, you pass your application's service descriptor to the ServiceDiscovery constructor
and it will get registered/unregistered
 automatically. If, though, you need to manually do this, use these methods:
 
-```java
+{code}
 public void registerService(ServiceInstance<T> service)
                     throws Exception
 Register/re-register/update a service instance
 Parameters:
 service - service to add
-```
+{code}
 
-```java
+{code}
 public void unregisterService(ServiceInstance<T> service)
                       throws Exception
 Unregister/remove a service instance
 Parameters:
 service - the service
-```
+{code}
 
 *Querying for Services*
 
 You can query for all service names, all instances of a particular service, or single service
instance.
 
-```java
+{code}
 public Collection<String> queryForNames()
                               throws Exception
 Return the names of all known services
 Returns:
 list of service names
-```
+{code}
 
-```java
+{code}
 public Collection<ServiceInstance<T>> queryForInstances(String name)
                                             throws Exception
 Return all known instances for the given service
@@ -108,9 +108,9 @@ Parameters:
 name - name of the service
 Returns:
 list of instances (or an empty list)
-```
+{code}
 
-```java
+{code}
 public ServiceInstance<T> queryForInstance(String name,
                                          String id)
                                  throws Exception
@@ -120,7 +120,7 @@ name - name of the service
 id - ID of the instance
 Returns:
 the instance or null if not found
-```
+{code}
 
 *Service Cache*
 

http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/329ebb3d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f230afa..cddfc6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,10 +30,15 @@
         Curator is a set of Java libraries that make using Apache ZooKeeper much easier.
     </description>
     <url>http://curator.incubator.apache.org</url>
+    <inceptionYear>2011</inceptionYear>
 
     <properties>
         <svnUrl>https://svn.apache.org/repos/asf/incubator/onami/site/</svnUrl>
         <checkoutDirectory>site-publish</checkoutDirectory>
+
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     </properties>
 
     <distributionManagement>
@@ -43,13 +48,19 @@
         </site>
     </distributionManagement>
 
-    <!--
-      <parent>
-        <groupId>org.apache</groupId>
-        <artifactId>apache</artifactId>
-        <version>10</version>
-      </parent>
-    -->
+    <developers>
+        <developer>
+            <id>randgalt</id>
+            <name>Jordan Zimmerman</name>
+            <email>randgalt@apache.org</email>
+            <timezone>-8</timezone>
+            <roles>
+                <role>Committer</role>
+                <role>PPMC Member</role>
+            </roles>
+            <url>https://people.apache.org/~randgalt</url>
+        </developer>
+    </developers>
 
     <modules>
         <module>curator-client</module>

http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/329ebb3d/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index edd6d96..9f498cc 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -46,7 +46,7 @@
         </links>
 
         <menu name="Apache Curator" inherit="top">
-            <item name="Home" href="index.html"/>
+            <item name="About" href="index.html"/>
             <item name="Getting Started" href="getting-started.html"/>
             <item name="Framework" href="curator-framework/index.html"/>
             <item name="Recipes" href="curator-recipes/index.html"/>


Mime
View raw message