Giter VIP home page Giter VIP logo

layer-ubuntu-devenv's Introduction

Overview

This layered charm provides the same functionality as the 'ubuntu' charm with revision control tools preinstalled, as well as relations to other developer-oriented charms. It is useful as both a development environment and an endpoint for testing charms like 'openjdk', 'ibm-xlc', and various databases.

Source for this charm is available on github.

Usage

Use Case 1

An example use case for this charm is to test Java JRE or Java SDK providers. This charm supports the java interface and serves as a simple principal charm that can be used to relate to a java subordinate. Deploy as follows:

juju deploy ubuntu-devenv
juju deploy openjdk
juju add-relation ubuntu-devenv openjdk

Use Case 2

Another use case is to test database charms. This charm supports the db2, mysql, and pgsql interfaces. Once related, connection information will be logged to the debug log. Deploy as follows:

juju deploy ubuntu-devenv
juju deploy mariadb
juju add-relation ubuntu-devenv mariadb

Verification

Verify you see relation data (java version, database connection information, etc) in the debug log:

juju debug-log -i unit-ubuntu-devenv-0 --replay

Limitations

This charm does not currently have any config options, nor does it scale. This may change if other relations are added that would benefit from such functionality.

Contact Information

layer-ubuntu-devenv's People

Contributors

kwmonroe avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.