You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whirr.apache.org by as...@apache.org on 2011/05/05 08:57:51 UTC
svn commit: r1099703 - in /incubator/whirr/trunk: CHANGES.txt
core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java
core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler
Author: asavu
Date: Thu May 5 06:57:51 2011
New Revision: 1099703
URL: http://svn.apache.org/viewvc?rev=1099703&view=rev
Log:
WHIRR-291. Add "noop" role useful just for provisioning (asavu)
Added:
incubator/whirr/trunk/core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java
incubator/whirr/trunk/core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler
Modified:
incubator/whirr/trunk/CHANGES.txt
Modified: incubator/whirr/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/CHANGES.txt?rev=1099703&r1=1099702&r2=1099703&view=diff
==============================================================================
--- incubator/whirr/trunk/CHANGES.txt (original)
+++ incubator/whirr/trunk/CHANGES.txt Thu May 5 06:57:51 2011
@@ -54,6 +54,8 @@ Trunk (unreleased changes)
WHIRR-287. Script for running YCSB on HBase (asavu)
+ WHIRR-291. Add "noop" role useful just for provisioning (asavu)
+
BUG FIXES
WHIRR-253. ZooKeeper service should only authorize ingress to ZooKeeper
Added: incubator/whirr/trunk/core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java?rev=1099703&view=auto
==============================================================================
--- incubator/whirr/trunk/core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java (added)
+++ incubator/whirr/trunk/core/src/main/java/org/apache/whirr/service/NoopClusterActionHandler.java Thu May 5 06:57:51 2011
@@ -0,0 +1,29 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.whirr.service;
+
+public class NoopClusterActionHandler extends ClusterActionHandlerSupport {
+
+ public final String ROLE = "noop";
+
+ @Override
+ public String getRole() {
+ return ROLE;
+ }
+}
Added: incubator/whirr/trunk/core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler
URL: http://svn.apache.org/viewvc/incubator/whirr/trunk/core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler?rev=1099703&view=auto
==============================================================================
--- incubator/whirr/trunk/core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler (added)
+++ incubator/whirr/trunk/core/src/main/resources/META-INF/services/org.apache.whirr.service.ClusterActionHandler Thu May 5 06:57:51 2011
@@ -0,0 +1 @@
+org.apache.whirr.service.NoopClusterActionHandler
\ No newline at end of file