synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r383852 - in /incubator/synapse/trunk/scratch/infravio/mgmt: ./ src/ src/org/ src/org/apache/ src/org/apache/axis2/ src/org/apache/axis2/mgmt/ src/org/apache/axis2/mgmt/api/ src/org/apache/axis2/mgmt/be/ src/org/apache/axis2/mgmt/model/
Date Tue, 07 Mar 2006 11:48:29 GMT
Author: vikas
Date: Tue Mar  7 03:48:26 2006
New Revision: 383852

URL: http://svn.apache.org/viewcvs?rev=383852&view=rev
Log:
Management framework...
Refer readme.txt for further details...

Added:
    incubator/synapse/trunk/scratch/infravio/mgmt/
    incubator/synapse/trunk/scratch/infravio/mgmt/readme.txt
    incubator/synapse/trunk/scratch/infravio/mgmt/src/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementConstants.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementModule.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Aggregator.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Configurator.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Discovery.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Sampler.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/be/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/ErrorEvent.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/LifecycleEvent.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/PingEvent.java
    incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/TransactionEvent.java

Added: incubator/synapse/trunk/scratch/infravio/mgmt/readme.txt
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/readme.txt?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/readme.txt (added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/readme.txt Tue Mar  7 03:48:26 2006
@@ -0,0 +1,11 @@
+Readme
+*******
+
+These are a set of interfaces that would be useful for management of services.
+The main folders are:
+
+a) api - has all the instrumentation related interfaces
+b) be - all business related classes, right now its empty
+c) model - Classes for various management events such as lifecycle, ping, transaction and
error.
+
+We will be uploading other related code base soon.

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementConstants.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementConstants.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementConstants.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementConstants.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,11 @@
+package org.apache.axis2.mgmt;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:02:17 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class ManagementConstants {
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementModule.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementModule.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementModule.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/ManagementModule.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,11 @@
+package org.apache.axis2.mgmt;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:01:49 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class ManagementModule {
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Aggregator.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Aggregator.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Aggregator.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Aggregator.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,35 @@
+package org.apache.axis2.mgmt.api;
+
+import java.util.List;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:03:21 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public interface Aggregator {
+
+    public long getRequestCount();
+    public long getRequestCount(String filter);
+
+    public long getFaultCount();
+    public long getFaultCount(String filter);
+
+    public double getAverageResponseTime();
+    public double getAverageResponseTime(String filter);
+
+    public long getLastResponseTime();
+    public long getLastResponseTime(String filter);
+
+    public long getWindow();
+    public void setWindow(long val);
+
+    public void setWindowMode(int mode); // TIME, REQUESTS
+    public int getWindowMode();
+
+    public void setFilters(List filters);
+    public List getFilters();
+
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Configurator.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Configurator.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Configurator.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Configurator.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,15 @@
+package org.apache.axis2.mgmt.api;
+
+import org.apache.axis2.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:12:23 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public interface Configurator {
+    public OMElement getConfiguration();
+    public void setConfiguration(OMElement val);
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Discovery.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Discovery.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Discovery.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Discovery.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,17 @@
+package org.apache.axis2.mgmt.api;
+
+import java.util.List;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:13:23 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public interface Discovery {
+    public List getServices();
+    public List getConsumers();
+    public List getIntermediaries();
+    public List getRegistries();
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Sampler.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Sampler.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Sampler.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/api/Sampler.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,26 @@
+package org.apache.axis2.mgmt.api;
+
+import org.apache.axis2.om.OMElement;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:03:14 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public interface Sampler {
+
+    public int getState();
+
+    public void start();
+    public void stop();
+    public void pause();
+    public void restart();
+
+    public void setLogLevel(int level);
+    public int getLogLevel();
+
+    public void ping(OMElement info);
+
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/ErrorEvent.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/ErrorEvent.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/ErrorEvent.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/ErrorEvent.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,16 @@
+package org.apache.axis2.mgmt.model;
+
+import java.util.List;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:02:50 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class ErrorEvent {
+    String code, message;
+    int type; // FATAL, FAULT, ALERT
+    List log;
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/LifecycleEvent.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/LifecycleEvent.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/LifecycleEvent.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/LifecycleEvent.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,15 @@
+package org.apache.axis2.mgmt.model;
+
+import java.util.List;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:02:43 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class LifecycleEvent {
+    int type; // DEPLOY, CONFIG, START, STOP, PAUSE, UNDEPLOY
+    List log;
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/PingEvent.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/PingEvent.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/PingEvent.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/PingEvent.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,13 @@
+package org.apache.axis2.mgmt.model;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:02:55 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class PingEvent {
+    int type; //scheduled, manual
+    String txnID;
+}

Added: incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/TransactionEvent.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/TransactionEvent.java?rev=383852&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/TransactionEvent.java
(added)
+++ incubator/synapse/trunk/scratch/infravio/mgmt/src/org/apache/axis2/mgmt/model/TransactionEvent.java
Tue Mar  7 03:48:26 2006
@@ -0,0 +1,37 @@
+package org.apache.axis2.mgmt.model;
+
+import org.apache.axis2.om.OMElement;
+
+import java.util.List;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: Mukund
+ * Date: Mar 3, 2006
+ * Time: 4:02:31 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class TransactionEvent {
+    boolean success;
+    long rtt;
+    String operation;
+    Request request;
+    Response response;
+}
+
+class Request {
+    String transport;
+    List headers;
+    long timestamp;
+    OMElement content;
+}
+
+class Response {
+    long timestamp;
+    List headers;
+    OMElement content;
+}
+
+class Header {
+    String name, value;
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org


Mime
View raw message