[CORD-2639] Moving Progran to 5.0

Change-Id: Ia838ade6b7cd8e7b4c04ae939e27d5b2dbf16896
diff --git a/samples/README.md b/samples/README.md
new file mode 100644
index 0000000..d75b705
--- /dev/null
+++ b/samples/README.md
@@ -0,0 +1,29 @@
+# Samples
+
+This directory contains sample data to create Progran related models.
+
+## Example setup
+
+Create an IMSI:
+
+```bash
+bash progran-curl.sh mcord/mcordsubscriberinstances imsi.json
+```
+
+Create an enodeb:
+
+```bash
+bash progran-curl.sh progran/enodebs enodeb.json
+```
+
+Create an handover:
+
+```bash
+bash progran-curl.sh progran/handovers handover.json
+```
+
+Create a Profile: note that you'll need to replace `enodeb_id` and `handover_id` with existing values
+
+```bash
+bash progran-curl.sh progran/progranserviceinstances profile.json
+```
\ No newline at end of file
diff --git a/samples/docker-compose.yml b/samples/docker-compose.yml
new file mode 100644
index 0000000..eca4229
--- /dev/null
+++ b/samples/docker-compose.yml
@@ -0,0 +1,13 @@
+# Progran for docker-compose
+version: '2'
+
+services:
+   progran:
+      image: cemturker/prograncontrollermcord:0.1.2
+      ports:
+       - "221:22"
+       - "6655:6653"
+       - "8103:8101"
+       - "8183:8181"
+       - "9877:9876"
+       - "4010:4010"
diff --git a/samples/enodeb.json b/samples/enodeb.json
new file mode 100644
index 0000000..3c0dc67
--- /dev/null
+++ b/samples/enodeb.json
@@ -0,0 +1,5 @@
+{
+  "description":"test-enb",
+  "enbId":"123",
+  "ipAddr":"1.1.1.1"
+}
\ No newline at end of file
diff --git a/samples/handover.json b/samples/handover.json
new file mode 100644
index 0000000..798137b
--- /dev/null
+++ b/samples/handover.json
@@ -0,0 +1,10 @@
+{
+  "A3offset":2,
+  "A5Thresh1Rsrp":-97,
+  "A5Thresh1Rsrq":-10,
+  "A5Thresh2Rsrp":-95,
+  "A5Thresh2Rsrq":-8,
+  "A5TriggerType":0,
+  "HysteresisA3":1,
+  "HysteresisA5":1
+}
\ No newline at end of file
diff --git a/samples/imsi.json b/samples/imsi.json
new file mode 100644
index 0000000..ecc682b
--- /dev/null
+++ b/samples/imsi.json
@@ -0,0 +1,4 @@
+{
+  "apn_number":"123",
+  "imsi_number":"321"
+}
\ No newline at end of file
diff --git a/samples/profile.json b/samples/profile.json
new file mode 100644
index 0000000..eb39e1d
--- /dev/null
+++ b/samples/profile.json
@@ -0,0 +1,14 @@
+{
+  "id": 1,
+  "AdmControl":"0",
+  "DlSchedType":"RR",
+  "start":1516780800,
+  "UlSchedType":"RR",
+  "end":1517385600,
+  "CellIndividualOffset":1,
+  "DlAllocRBRate":1,
+  "name":"test-profile",
+  "UlAllocRBRate":12,
+  "enodeb_id":2,
+  "handover_id":1
+}
\ No newline at end of file
diff --git a/samples/progran-curl.sh b/samples/progran-curl.sh
new file mode 100644
index 0000000..7353fd0
--- /dev/null
+++ b/samples/progran-curl.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+XOS_URL=127.0.0.1
+XOS_PORT=9101
+XOS_USERNAME=xosadmin@opencord.org
+XOS_PWD=ORR13pBZ8yrAZ42QiKhc
+
+echo Sending file $2 to url $XOS_URL:$XOS_PORT/xosapi/v1/$1
+
+curl -H "xos-username: $XOS_USERNAME" -H "xos-password: $XOS_PWD" -X POST --data-binary @$2 http://$XOS_URL:$XOS_PORT/xosapi/v1/$1