Initial stash of the metrics gateway xAPP code

Issue-ID: RIC-420

Signed-off-by: E. Scott Daniels <daniels@research.att.com>
Change-Id: Icb437da09bdbae45bab56b29f179adb4f208437a
diff --git a/mgxapp/test/data/config.json b/mgxapp/test/data/config.json
new file mode 100644
index 0000000..8a1a2ad
--- /dev/null
+++ b/mgxapp/test/data/config.json
@@ -0,0 +1,63 @@
+{
+	"comment":  "describes the xAPP for sgxapp",
+    "xapp_name": "sgxapp",
+    "version": "1.0.0",
+    "containers": [
+        {
+            "name": "sgxapp",
+            "image": {
+                "registry": "nexus3.o-ran-sc.org:10002",
+                "name": "o-ran-sc/ric-app-sg",
+                "tag": "1.0.0"
+            },
+            "command": "/usr/local/bin/munchkin"
+        }
+    ],
+
+    "livenessProbe": {
+        "exec": {
+            "command": ["/usr/local/bin/rmr_probe"]
+        },
+        "initialDelaySeconds": 5,
+        "periodSeconds": 15
+    },
+
+    "messaging": {
+        "ports": [
+            {
+                "name": "rmr-data",
+                "container": "mgxapp",
+                "port": 4560,
+                "rxMessages":
+                [
+                    "RIC_METRICS"
+                ],
+                "description": "sgxapp listens on this port for RMR messages."
+            },
+            {
+                "name": "rmr_route",
+                "container": "mgxapp",
+                "port": 4561,
+                "description": "sgxapp listens on this port for RMR route messages"
+            }
+        ]
+    },
+
+    "controls": {
+		"env_overrides": true,
+        "collector_url": "http://ves_collector:1234",
+        "log_level": "warnings",
+		"wait4rt":	false,
+		"hr_logging": true,
+    },
+
+    "rmr":{
+       "protPort": "tcp:4560",
+       "maxSize": 4096,
+       "numWorkers": 1,
+       "txMessages": [ ],
+       "rxMessages": [
+            "RIC_METRICS"
+    ]
+   }
+}