You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by st...@apache.org on 2014/11/02 20:05:03 UTC

git commit: SLIDER-531: fix sample.json to be compatible with old and new service record styles

Repository: incubator-slider
Updated Branches:
  refs/heads/develop 97c175302 -> f986eb557


SLIDER-531: fix sample.json to be compatible with old and new service record styles


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

Branch: refs/heads/develop
Commit: f986eb557767ef65281441a54c3fec11c5695aa3
Parents: 97c1753
Author: Steve Loughran <st...@apache.org>
Authored: Sun Nov 2 19:04:53 2014 +0000
Committer: Steve Loughran <st...@apache.org>
Committed: Sun Nov 2 19:04:53 2014 +0000

----------------------------------------------------------------------
 .../appmaster/web/rest/registry/sample.json     | 72 +-------------------
 1 file changed, 3 insertions(+), 69 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/f986eb55/slider-core/src/test/resources/org/apache/slider/server/appmaster/web/rest/registry/sample.json
----------------------------------------------------------------------
diff --git a/slider-core/src/test/resources/org/apache/slider/server/appmaster/web/rest/registry/sample.json b/slider-core/src/test/resources/org/apache/slider/server/appmaster/web/rest/registry/sample.json
index 4d2c6db..bc6429c 100644
--- a/slider-core/src/test/resources/org/apache/slider/server/appmaster/web/rest/registry/sample.json
+++ b/slider-core/src/test/resources/org/apache/slider/server/appmaster/web/rest/registry/sample.json
@@ -3,73 +3,7 @@
   "description": "Slider Application Master",
   "yarn:id": "application_1411664296263_0001",
   "yarn:persistence": 1,
-  "external": [
-    {
-      "api": "org.apache.slider.appmaster",
-      "addressType": "host/port",
-      "protocolType": "hadoop/protobuf",
-      "addresses": [
-        ["server", "63385"]
-      ]
-    },
-    {
-      "api": "org.apache.http.UI",
-      "addressType": "uri",
-      "protocolType": "webui",
-      "addresses": [
-        ["http://server:63391"]
-      ]
-    },
-    {
-      "api": "org.apache.slider.management",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["http://server:63391/ws/v1/slider/mgmt"]
-      ]
-    },
-    {
-      "api": "org.apache.slider.publisher",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["http://server:63391/ws/v1/slider/publisher"]
-      ]
-    },
-    {
-      "api": "org.apache.slider.registry",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["http://server:63391/ws/v1/slider/registry"]
-      ]
-    },
-    {
-      "api": "org.apache.slider.publisher.configurations",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["http://server:63391/ws/v1/slider/publisher/slider"]
-      ]
-    }
-  ],
-  "internal": [
-    {
-      "api": "org.apache.slider.agents.secure",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["https://server:63390/ws/v1/slider/agents"]
-      ]
-    },
-    {
-      "api": "org.apache.slider.agents.oneway",
-      "addressType": "uri",
-      "protocolType": "REST",
-      "addresses": [
-        ["https://server:63389/ws/v1/slider/agents"]
-      ]
-    }
-  ]
+  "external": [],
+  "internal": []
+}
 }
-}
\ No newline at end of file