Integrate MON and Grafana

Add actions for datasources in mon charm

create, list and delete prometheus datasources

requests are done using grafana API calls

grafana-url, grafana-admin, grafana-password does
not have default value. If they are not present in
config the charm is blocked.

Change-Id: Ia0138b8d3088654f65ea9d23a664619a4475d3d8
Signed-off-by: Patricia Reinoso <patricia.reinoso@canonical.com>
diff --git a/installers/charm/osm-mon/actions.yaml b/installers/charm/osm-mon/actions.yaml
index 0d73468..4f1a157 100644
--- a/installers/charm/osm-mon/actions.yaml
+++ b/installers/charm/osm-mon/actions.yaml
@@ -24,3 +24,28 @@
 
 get-debug-mode-information:
   description: Get information to debug the container
+
+create-datasource:
+  description: Create a new prometheus datasource.
+  params:
+    name:
+      type: string
+      description: The name of the datasource.
+    url:
+      type: string
+      description: URL to prometheus.
+  required: [name, url]
+  additionalProperties: false
+
+list-datasources:
+  description: List datasources.
+  additionalProperties: false
+
+delete-datasource:
+  description: Delete a given datasource.
+  params:
+    name:
+      type: string
+      description: The name of the datasource.
+  required: [name]
+  additionalProperties: false