FHIR Chat · Bypassing PING dependency from IG Publisher scripts · IG creation

Stream: IG creation

Topic: Bypassing PING dependency from IG Publisher scripts


view this post on Zulip Jose Costa Teixeira (Sep 08 2021 at 16:56):

from this discussion, https://chat.fhir.org/#narrow/stream/179166-implementers/topic/Running.20IG.20publisher.20on.20corporate.20network
the use of Ping can pose problems for machines behind firewalls

view this post on Zulip Jose Costa Teixeira (Sep 08 2021 at 17:00):

an alternative could be to allow the user to ignore the ping results and manually tell the script to proceed.
So when the ping works , there's no interaction. When the ping does not work, the user will be prompted to tell if they want to continue

view this post on Zulip Jose Costa Teixeira (Sep 08 2021 at 17:00):

this does not block the CI builds because those are always supposed to be online

view this post on Zulip Jose Costa Teixeira (Sep 08 2021 at 17:04):

the one problem I can imagine with this is when the tx server is down, then the ping would fail and the CI build would be waiting forever. For that, we can put a timeout in the prompt (if we don't reply "yes" within 10 seconds , the script fails

view this post on Zulip Jose Costa Teixeira (Sep 08 2021 at 17:05):

thoughts? Ideas?

view this post on Zulip John Moehrke (Sep 08 2021 at 17:06):

this seems to be a edge case that can be handled locally.

view this post on Zulip John Moehrke (Sep 08 2021 at 17:08):

alternatively we could build an http based ping that would be less likely to get blocked by corporate policies, but even that is not a guarantee... and it might not work anyway.


Last updated: Apr 12 2022 at 19:14 UTC