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

Add NpmPackageResolver [STU3] #1879

Conversation

mmsmits
Copy link
Member

@mmsmits mmsmits commented Sep 20, 2021

No description provided.

Copy link
Member

@marcovisserFurore marcovisserFurore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The project Firely.Fhir.Packages has been added to the SDK and included in the Azure Pipelines. Also it can now be compiled against netstandard1.6.

The following steps that we still need to make are:

  • reduce the number of public methods/classes
  • polish the code to make it publishable.

@mmsmits mmsmits changed the base branch from develop-stu3 to release/4.0.0-beta1-stu3 October 19, 2021 14:15
@mmsmits mmsmits changed the title Include packaging functionalities [STU3] Add NpmPackageResolver [STU3] Nov 4, 2021
@mmsmits mmsmits marked this pull request as ready for review January 21, 2022 14:25
@mmsmits mmsmits changed the base branch from release/4.0.0-beta1-stu3 to release/4.0.0-beta2-stu3 February 7, 2022 13:36
Copy link
Member

@marcovisserFurore marcovisserFurore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some very small things...

Hl7.Fhir.sln Outdated
@@ -1,5 +1,6 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31710.8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is harmless to have 2 similar properties, but I'd rather have 1.

@@ -789,7 +789,9 @@ public async T.Task CheckSdf8Expression()
public void TestXsdValidationExplicitSet()
{
var mySettings = _validator.Settings.Clone();
mySettings.XsdSchemaCollection = new SchemaCollection(ZipSource.CreateValidationSource());
var source = new FhirPackageResolver(ModelInfo.ModelInspector, "hl7.fhir.r3.corexml-3.0.2.tgz");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps adding this hl7.fhir.r3.corexml-3.0.2.tgz to a variable, which can be used later in other unit tests?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that there is already a private constant CorePackageSource.PACKAGENAME. Perhaps make that public and use it here?


private IArtifactSource createXmlSource()
{
return new FhirPackageResolver(ModelInfo.ModelInspector, "hl7.fhir.r3.corexml-3.0.2.tgz");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the const CorePackageSource.PACKAGENAME as well?

@marcovisserFurore marcovisserFurore merged commit 0db1862 into release/4.0.0-beta2-stu3 Feb 10, 2022
@marcovisserFurore marcovisserFurore deleted the feature/include_package_functionalities_stu3 branch February 10, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants