FHIR Chat · Can I add a dependency to an IG that is not yet published · IG creation

Stream: IG creation

Topic: Can I add a dependency to an IG that is not yet published


view this post on Zulip Nagesh Bashyam (Nov 30 2020 at 13:50):

I am trying to add a dependency to an unpublished IG as follows : Is this allowed, I have the stack trace of the error that I am getting when i add it.
Any insights would be appreciated ..

XML Dependency:


<dependsOn id="pdexPlanNet">
<uri value="http://hl7.org/fhir/us/davinci-pdex-plan-net/ImplementationGuide/hl7.fhir.us.davinci-pdex-plan-net"/>
<packageId value="hl7.fhir.us.davinci-pdex-plan-net"/>
<version value="current"/>
</dependsOn>

Stack Trace:


I get the following error:
Publishing Content Failed: The package 'hl7.fhir.us.davinci-pdex-plan-net' has not entry on the current build server (00:11.0579)
(00:11.0580)
Use -? to get command line help (00:11.0580)
(00:11.0581)
Stack Dump (for debugging): (00:11.0581)
org.hl7.fhir.exceptions.FHIRException: The package 'hl7.fhir.us.davinci-pdex-plan-net' has not entry on the current build server
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromCIBuild(FilesystemPackageCacheManager.java:526)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:494)
at org.hl7.fhir.igtools.publisher.Publisher.resolveDependency(Publisher.java:2891)
at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:2753)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1893)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1450)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:722)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8373)

view this post on Zulip Lloyd McKenzie (Nov 30 2020 at 18:30):

I think retrieval of packages is broken due to current certificate issues

view this post on Zulip Nagesh Bashyam (Nov 30 2020 at 20:39):

Other packages like US Core and stuff are working, PDex-PlanNet is not published as of yet, so i was thinking if the tooling supports this or not ?

view this post on Zulip Grahame Grieve (Nov 30 2020 at 20:53):

it should be working right now

view this post on Zulip Nagesh Bashyam (Dec 01 2020 at 12:54):

Still the same issue, I updated the publisher and tried again, I think there is still an issue with the build server. Maybe that is why it is not working.

This is what i have in the IG xml file:
<dependsOn id="pdexPlanNet">
<uri value="http://hl7.org/fhir/us/davinci-pdex-plan-net/ImplementationGuide/hl7.fhir.us.davinci-pdex-plan-net"/>
<packageId value="hl7.fhir.us.davinci-pdex-plan-net"/>
<version value="current"/>
</dependsOn>

The stack trace:
Error connecting to build server - running without build (sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed)
Publishing Content Failed: The package 'hl7.fhir.us.davinci-pdex-plan-net' has not entry on the current build server (00:10.0766)
(00:10.0767)
Use -? to get command line help (00:10.0767)
(00:10.0767)
Stack Dump (for debugging): (00:10.0768)
org.hl7.fhir.exceptions.FHIRException: The package 'hl7.fhir.us.davinci-pdex-plan-net' has not entry on the current build server
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadFromCIBuild(FilesystemPackageCacheManager.java:526)
at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.loadPackage(FilesystemPackageCacheManager.java:494)
at org.hl7.fhir.igtools.publisher.Publisher.resolveDependency(Publisher.java:2891)
at org.hl7.fhir.igtools.publisher.Publisher.loadIg(Publisher.java:2753)
at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1893)
at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1450)
at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:722)
at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:8373)
nbashyam@Nageshs-MacBook-Pro-2 davinci-atr % vi ./input/davinci-atr.xml

view this post on Zulip Grahame Grieve (Dec 01 2020 at 12:55):

you're not using the latest publisher then

view this post on Zulip Nagesh Bashyam (Dec 01 2020 at 12:59):

You are right, i forgot that It downloads in the input-cache folder, it is working now. Sorry for the false positive.

view this post on Zulip Grahame Grieve (Dec 01 2020 at 13:00):

np


Last updated: Apr 12 2022 at 19:14 UTC