juju-solutions / interface-http

Interface layer for the basic http interface protocol
4 stars 7 forks source link

support multiple relations per service #5

Closed jamesbeedy closed 6 years ago

jamesbeedy commented 8 years ago

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)
marcoceppi commented 8 years ago

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

Shruthima commented 7 years ago

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.

jamesbeedy commented 6 years ago

closing this