sonata-nfv / son-gkeeper

SONATA's Service Platform Gatekeeper
http://www.sonata-nfv.eu
Apache License 2.0
2 stars 18 forks source link

Refactor Gatekeepers contact with MANO Framework #180

Closed jbonnet closed 8 years ago

jbonnet commented 8 years ago

The Gatekeeper is currently contacting the MANO Framework with the code in models/mq_server.rb, which is getting pretty complex. We need to simplify that.

jbonnet commented 8 years ago

@fporto-optare Can you help me understand where the notification to the MANO Framework is sent? It seems that in the models/mq_server.rb file only the reception is implemented.

Thanks

jbonnet commented 8 years ago

Ok, I've figured it out: we're using the RPC style, where the 'answer queue' is defined when the message is published.

fporto-optare commented 8 years ago

Hi, that's true...we are using RPC style calls (implemented in the method ("call_sm(n,correlation_id)"), so we specify a "Reply-to" queue for each call, that in this particular case is the same we are subscribed.

Regards


De: José Bonnet notifications@github.com Enviado: miércoles, 25 de mayo de 2016 19:04:36 Para: sonata-nfv/son-gkeeper Cc: Fernando Porto; Mention Asunto: Re: [sonata-nfv/son-gkeeper] Refactor Gatekeepers contact with MANO Framework (#180)

Ok, I've figured it out: we're using the RPC style, where the 'answer queue' is defined when the message is published.

You are receiving this because you were mentioned. Reply to this email directly or view it on GitHubhttps://github.com/sonata-nfv/son-gkeeper/issues/180#issuecomment-221638148