1 # Copyright 2022 Canonical Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
22 # This file populates the Configure tab on Charmhub.
23 # See https://juju.is/docs/some-url-to-be-determined/ for a checklist and guidance.
29 Set the Logging Level.
42 Mysql URI with the following format:
43 mysql://<user>:<password>@<mysql_host>:<mysql_port>/<database>
45 This should be removed after the mysql-integrator charm is made.
47 If provided, this config will override the mysql relation.
53 Great for OSM Developers! (Not recommended for production deployments)
55 This action activates the Debug Mode, which sets up the container to be ready for debugging.
56 As part of the setup, SSH is enabled and a VSCode workspace file is automatically populated.
58 After enabling the debug-mode, execute the following command to get the information you need
60 `juju run-action get-debug-mode-information <unit name> --wait`
62 The previous command returns the command you need to execute, and the SSH password that was set.
65 - https://charmhub.io/osm-pol/configure#pol-hostpath
66 - https://charmhub.io/osm-pol/configure#common-hostpath
72 Set this config to the local path of the POL module to persist the changes done during the
76 $ git clone "https://osm.etsi.org/gerrit/osm/POL" /home/ubuntu/POL
77 $ juju config pol pol-hostpath=/home/ubuntu/POL
79 This configuration only applies if option `debug-mode` is set to true.
84 Set this config to the local path of the common module to persist the changes done during the
88 $ git clone "https://osm.etsi.org/gerrit/osm/common" /home/ubuntu/common
89 $ juju config pol common-hostpath=/home/ubuntu/common
91 This configuration only applies if option `debug-mode` is set to true.