Chameleon API Tests

Change-Id: I8002eb19add6e296f034adcdf7801d2ee54744cf
diff --git a/src/test/cord-api/Tests/data/Ch_Deployment.json b/src/test/cord-api/Tests/data/Ch_Deployment.json
new file mode 100644
index 0000000..07f0f56
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Deployment.json
@@ -0,0 +1,11 @@
+{
+    "DeploymentInfo":
+    [
+        {
+            "name": "test-deployment-1"
+        },
+        {
+            "name": "test-deployment-2"
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Flavors.json b/src/test/cord-api/Tests/data/Ch_Flavors.json
new file mode 100644
index 0000000..0437db2
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Flavors.json
@@ -0,0 +1,12 @@
+{
+     "flavorsInfo": [
+            {
+            "flavor": "mq.test",
+            "name": "mq.test"
+            },
+            {
+            "flavor": "mq.test2",
+            "name": "mq.test2"
+             }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Node.json b/src/test/cord-api/Tests/data/Ch_Node.json
new file mode 100644
index 0000000..245bcf3
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Node.json
@@ -0,0 +1,13 @@
+{
+    "NodeInfo":
+    [
+        {
+            "name": "test-node-1",
+            "site_deployment_id": 1
+        },
+        {
+            "name": "test-node-2",
+            "site_deployment_id": 1
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_SanityInstance.json b/src/test/cord-api/Tests/data/Ch_SanityInstance.json
new file mode 100644
index 0000000..d707b52
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_SanityInstance.json
@@ -0,0 +1,20 @@
+{
+     "InstanceInfo": [
+            {
+            "name": "test-instance1",
+            "image_id": 1,
+            "slice_id": 1,
+            "deployment_id": 1,
+            "node_id": 1,
+            "creator_id" : 1
+            },
+            {
+            "name": "test-instance",
+            "image_id": 1,
+            "slice_id": 1,
+            "deployment_id": 1,
+            "node_id": 1,
+            "creator_id" : 1
+             }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Service.json b/src/test/cord-api/Tests/data/Ch_Service.json
new file mode 100644
index 0000000..0dd5193
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Service.json
@@ -0,0 +1,13 @@
+{
+    "ServiceInfo":
+    [
+        {
+            "name": "test-service-1",
+            "description": "Test service No.1"
+        },
+        {
+            "name": "test-service-2",
+            "description": "Test service No.2"
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Site.json b/src/test/cord-api/Tests/data/Ch_Site.json
new file mode 100644
index 0000000..feffe3b
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Site.json
@@ -0,0 +1,15 @@
+{
+    "SiteInfo":
+    [
+        {
+            "name": "test-site-1",
+            "login_base":"testsite1",
+            "abbreviated_name":"ts1"
+        },
+        {
+            "name": "test-site-2",
+            "login_base":"testsite2",
+            "abbreviated_name":"ts2"
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Slice.json b/src/test/cord-api/Tests/data/Ch_Slice.json
new file mode 100644
index 0000000..ee795b7
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Slice.json
@@ -0,0 +1,14 @@
+{
+    "SliceInfo": [
+        {
+            "name": "mysite_test-slice-1",
+            "site_id": 1,
+            "creator_id": 1
+        },
+        {
+            "name": "mysite_test-slice-2",
+            "site_id": 2,
+            "creator_id": 2
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Subscriber.json b/src/test/cord-api/Tests/data/Ch_Subscriber.json
new file mode 100644
index 0000000..d5e81a1
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Subscriber.json
@@ -0,0 +1,28 @@
+{
+    "SubscriberInfo" : [
+    {
+            "cdn_enable": true,
+            "uplink_speed": 1000000000,
+            "downlink_speed": 1000000000,
+            "enable_uverse": true,
+            "status": "enabled",
+            "service_specific_id": "304",
+            "name": "My House"
+    },
+    {
+            "cdn_enable": false,
+            "uplink_speed": 500000000,
+            "downlink_speed": 500000000,
+            "enable_uverse": false,
+            "status": "enabled",
+            "service_specific_id": "305",
+            "name": "My House-305"
+    },
+    {
+            "cdn_enable": true,
+            "uplink_speed": 500000000,
+            "service_specific_id": "306",
+            "name": "My House-306"
+    }
+  ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_Users.json b/src/test/cord-api/Tests/data/Ch_Users.json
new file mode 100644
index 0000000..0d8b415
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_Users.json
@@ -0,0 +1,26 @@
+{
+  "UserInfo": [
+  {
+   "firstname" : "TestUser001",
+   "lastname" : "User001",
+   "password" : "TestUser001",
+   "email" : "TestUser001@onlab.us",
+   "site_id": 1
+   },
+  {
+   "firstname" : "TestUser002",
+   "lastname" : "User002",
+   "password" : "TestUser002",
+   "email" : "TestUser002@onlab.us",
+   "site_id": 1
+   },
+  {
+   "firstname" : "TestUser003",
+   "lastname" : "User003",
+   "password" : "TestUser003",
+   "email" : "TestUser003@onlab.us",
+   "site_id": 1
+   }
+ ]
+}
+
diff --git a/src/test/cord-api/Tests/data/Ch_VoltTenant.json b/src/test/cord-api/Tests/data/Ch_VoltTenant.json
new file mode 100644
index 0000000..305ba90
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_VoltTenant.json
@@ -0,0 +1,31 @@
+{
+    "voltSubscriberInfo" : [
+    {
+      "voltTenant" : 
+       {
+         "s_tag" : 114,
+         "c_tag" : 224,
+         "subscriber_root_id" : ""
+       },
+       "service_specific_id" : "304"
+    },
+    {
+     "voltTenant" : 
+      {
+        "s_tag" : "121",
+        "c_tag" : "333",
+        "subscriber_root_id" : ""
+      },
+      "service_specific_id" : "305"
+    },
+    {
+     "voltTenant" :
+      {
+        "s_tag" : "131",
+        "c_tag" : "444",
+        "subscriber_root_id" : ""
+      },
+     "service_specific_id" : "306"
+    }
+ ]
+} 
diff --git a/src/test/cord-api/Tests/data/Ch_defaultServices.json b/src/test/cord-api/Tests/data/Ch_defaultServices.json
new file mode 100644
index 0000000..4128481
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_defaultServices.json
@@ -0,0 +1,13 @@
+{
+    "ServiceInfo":
+    [
+        {"name": "ONOS_CORD"},
+        {"name": "vtn"},
+        {"name": "fabric"},
+        {"name": "ONOS_Fabric"},
+        {"name": "vrouter"},
+        {"name": "vsg"},
+        {"name": "volt"},
+        {"name": "vtr"}
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_putService.json b/src/test/cord-api/Tests/data/Ch_putService.json
new file mode 100644
index 0000000..8a962a7
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_putService.json
@@ -0,0 +1,13 @@
+{
+    "ServiceInfo":
+    [
+        {
+            "name": "test-service-1",
+            "description": "Test service No.1 - Edited"
+        },
+        {
+            "name": "test-service-2",
+            "description": "Test service No.2 - Edited"
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_putSite.json b/src/test/cord-api/Tests/data/Ch_putSite.json
new file mode 100644
index 0000000..6e1e4b3
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_putSite.json
@@ -0,0 +1,15 @@
+{
+    "SiteInfo":
+    [
+        {
+            "name": "test-site-1",
+            "login_base":"testsite1",
+            "abbreviated_name":"ts1 - edited"
+        },
+        {
+            "name": "test-site-2",
+            "login_base":"testsite2",
+            "abbreviated_name":"ts2 - edited"
+        }
+    ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_putSubscriber.json b/src/test/cord-api/Tests/data/Ch_putSubscriber.json
new file mode 100644
index 0000000..32f3607
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_putSubscriber.json
@@ -0,0 +1,23 @@
+{
+    "SubscriberInfo" : [
+    {
+            "cdn_enable": true,
+            "downlink_speed": 2000000000,
+            "service_specific_id": "304",
+            "name": "My House-Edited"
+    },
+    {
+            "uplink_speed": 100000000,
+            "enable_uverse": true,
+            "status": "disabled",
+            "service_specific_id": "305",
+            "name": "My House-305-Edited"
+    },
+    {
+            "cdn_enable": false,
+            "uplink_speed": 600000000,
+            "service_specific_id": "306",
+            "name": "My House-306-Edited"
+    }
+  ]
+}
diff --git a/src/test/cord-api/Tests/data/Ch_putVoltTenant.json b/src/test/cord-api/Tests/data/Ch_putVoltTenant.json
new file mode 100644
index 0000000..d3f4440
--- /dev/null
+++ b/src/test/cord-api/Tests/data/Ch_putVoltTenant.json
@@ -0,0 +1,28 @@
+{
+    "voltSubscriberInfo" : [
+    {
+      "voltTenant" : 
+       {
+         "s_tag" : 118,
+         "c_tag" : 228
+       },
+       "service_specific_id" : "204"
+    },
+    {
+     "voltTenant" : 
+      {
+        "s_tag" : "112",
+        "c_tag" : "331"
+      },
+      "service_specific_id" : "305"
+    },
+    {
+     "voltTenant" :
+      {
+        "s_tag" : "112",
+        "c_tag" : "442"
+      },
+      "service_specific_id" : "306"
+    }
+ ]
+}