Refactoring RO Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in ro-k8s folder.
Note 2: relation-departed is currently not tested because there is
no function to remove a relation in the Testing Harness.
There is currently one issue open and the Charmcraft team
should provide feedback soon.
Change-Id: Ia97de802aec2c4e10a1d2c86ba2515d3f17f55af
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
diff --git a/installers/charm/ro/metadata.yaml b/installers/charm/ro/metadata.yaml
new file mode 100644
index 0000000..f29f4bc
--- /dev/null
+++ b/installers/charm/ro/metadata.yaml
@@ -0,0 +1,50 @@
+# Copyright 2020 Canonical Ltd.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact: legal@canonical.com
+#
+# To get in touch with the maintainers, please contact:
+# osm-charmers@lists.launchpad.net
+##
+
+name: ro
+summary: OSM Resource Orchestrator (RO)
+description: |
+ A CAAS charm to deploy OSM's Resource Orchestrator (RO).
+series:
+ - kubernetes
+tags:
+ - kubernetes
+ - osm
+ - ro
+min-juju-version: 2.8.0
+deployment:
+ type: stateless
+ service: cluster
+resources:
+ image:
+ type: oci-image
+ description: OSM docker image for RO
+ upstream-source: "opensourcemano/ro:8"
+provides:
+ ro:
+ interface: osm-ro
+requires:
+ kafka:
+ interface: kafka
+ mongodb:
+ interface: mongodb
+ mysql:
+ interface: mysql