support multiple relations per service #5

Closed
jamesbeedy opened this Issue Sep 7, 2016 · 3 comments

Comments

Projects
None yet
3 participants

jamesbeedy commented Sep 7, 2016

Currently it seems this interface only provides support for one host/port config per service.

It would be nice to be able to do something like

provides:
  http:
    interface: http
  https:
    interface: http
@when('http.available')
def configure_http(http):
    http.configure(80)

@when('https.available')
def configure_https(https):
    https.configure(443)

@jamesbeedy jamesbeedy changed the title from support multiple ports to support multiple relations per service Sep 7, 2016

Owner

marcoceppi commented Sep 7, 2016

This is totally a bunch, likely with scope. We'll take a look tomorrow 👍

Hello, Any updates on this issue ??
for one of my charm we require http and https ports. so if this issue gets resolved it would help my charm to use this interface.

closing this

@jamesbeedy jamesbeedy closed this Dec 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment