Updated Kafka producer. This producer has the following changes:
[osm/MON.git] / core / models / create_metric_resp.json
diff --git a/core/models/create_metric_resp.json b/core/models/create_metric_resp.json
new file mode 100644 (file)
index 0000000..c8908b7
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "schema_version": { "type": "string" },
+  "schema_type": { "type": "string" },
+  "correlation_id": { "type": "integer" },
+  "metrics_create_response":
+  {
+    "metric_uuid": { "type": "string" },
+    "resource_uuid": { "type": "string" },
+    "status": { "type": "boolean" }
+  },
+  "required": [ "schema_type",
+                "schema_version",
+                "correlation_id",
+                "metric_uuid",
+                "resource_uuid",
+                "status" ]
+}