Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement reconnect receiver link in HTTP adapter #629

Closed
sysexcontrol opened this issue May 28, 2018 · 1 comment
Closed

Implement reconnect receiver link in HTTP adapter #629

sysexcontrol opened this issue May 28, 2018 · 1 comment
Assignees
Labels
C&C Command and Control HTTP Adapter
Projects
Milestone

Comments

@sysexcontrol
Copy link
Contributor

The HTTP adapter should reopen the receiver link for Command and Control if the AMQP network closes the connection/link.
Currently the link is only closed after a command was received or the ttd expired.

@sysexcontrol sysexcontrol added HTTP Adapter C&C Command and Control labels May 28, 2018
@sysexcontrol sysexcontrol added this to To do in 0.7-M1 via automation May 28, 2018
@sysexcontrol sysexcontrol self-assigned this May 29, 2018
@sophokles73 sophokles73 added this to the 0.7 milestone May 30, 2018
sysexcontrol added a commit that referenced this issue Jun 7, 2018
The receiver link is tried to be opened again after a timeout of 1 second if it
was closed from the AMQP 1.0 network.

Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
sysexcontrol added a commit that referenced this issue Jun 7, 2018
Additionally, tests are added that verify a message is sent downstream
if all preconditions are fulfilled.

Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
@sysexcontrol
Copy link
Contributor Author

Fixed by 794eb68 and a0139fe.

0.7-M1 automation moved this from To do to Done Jun 7, 2018
sysexcontrol added a commit that referenced this issue Jun 8, 2018
Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
sysexcontrol added a commit that referenced this issue Jun 11, 2018
The Hono nightly build currently fails for new http adapter tests cases
after 10 seconds per test - with this commit it is attempted if it can
be fixed by increasing it to 20 seconds. In local environments these tests
usually succeed.

Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
sysexcontrol added a commit that referenced this issue Jun 12, 2018
Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sysexcontrol added a commit that referenced this issue Jun 12, 2018
Other strategies can be implemented by overwriting the provided method
in subclasses.

Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sophokles73 pushed a commit that referenced this issue Jun 12, 2018
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com>
sysexcontrol added a commit that referenced this issue Jun 13, 2018
Signed-off-by: Karsten Frank <Karsten.Frank@bosch-si.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C&C Command and Control HTTP Adapter
Projects
No open projects
0.7-M1
  
Done
Development

No branches or pull requests

2 participants