You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2013/11/05 17:36:07 UTC
git commit: Renamed event package name depsync to
artifact.synchronization
Updated Branches:
refs/heads/master 5029186d1 -> a2e0659b4
Renamed event package name depsync to artifact.synchronization
Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a2e0659b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a2e0659b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a2e0659b
Branch: refs/heads/master
Commit: a2e0659b45acab3d9ee9036c7be7da648ae3312a
Parents: 5029186
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Tue Nov 5 22:05:51 2013 +0530
Committer: Imesh Gunaratne <im...@wso2.com>
Committed: Tue Nov 5 22:05:51 2013 +0530
----------------------------------------------------------------------
.../synchronization/ArtifactUpdatedEvent.java | 44 ++++++++++++++++++++
.../event/depsync/ArtifactsUpdatedEvent.java | 44 --------------------
.../stratos/messaging/util/Constants.java | 1 +
3 files changed, 45 insertions(+), 44 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a2e0659b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/artifact/synchronization/ArtifactUpdatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/artifact/synchronization/ArtifactUpdatedEvent.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/artifact/synchronization/ArtifactUpdatedEvent.java
new file mode 100644
index 0000000..ac5bde9
--- /dev/null
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/artifact/synchronization/ArtifactUpdatedEvent.java
@@ -0,0 +1,44 @@
+/*
+ * 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.stratos.messaging.event.artifact.synchronization;
+
+/**
+ * This event is fired to a cluster when an artifact notification received from the git repository.
+ */
+
+public class ArtifactUpdatedEvent {
+ private String clusterId;
+ private String status;
+
+ public String getClusterId() {
+ return clusterId;
+ }
+
+ public void setClusterId(String clusterId) {
+ this.clusterId = clusterId;
+ }
+
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a2e0659b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/depsync/ArtifactsUpdatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/depsync/ArtifactsUpdatedEvent.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/depsync/ArtifactsUpdatedEvent.java
deleted file mode 100644
index 41d78a0..0000000
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/depsync/ArtifactsUpdatedEvent.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * 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.stratos.messaging.event.depsync;
-
-/**
- * this event is fired to a cluster when a artifacts notification received from the git repository.
- */
-
-public class ArtifactsUpdatedEvent {
- private String clusterId;
- private String status;
-
- public String getClusterId() {
- return clusterId;
- }
-
- public void setClusterId(String clusterId) {
- this.clusterId = clusterId;
- }
-
- public String getStatus() {
- return status;
- }
-
- public void setStatus(String status) {
- this.status = status;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a2e0659b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Constants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Constants.java b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Constants.java
index 702fbe2..d7341ad 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Constants.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/util/Constants.java
@@ -23,6 +23,7 @@ public class Constants {
public static final String TOPOLOGY_TOPIC = "topology";
public static final String HEALTH_STAT_TOPIC = "summarized-health-stats";
public static final String INSTANCE_STATUS_TOPIC = "instance-status";
+ public static final String ARTIFACT_SYNCHRONIZATION_TOPIC = "artifact-synchronization";
public static final String TENANT_RANGE_DELIMITER = "-";
public static final String EVENT_CLASS_NAME = "event-class-name";