Commit Graph

3720 Commits

Author SHA1 Message Date
dotasek 093904abb1 Log errors, don't throw them down a hole 2022-06-17 10:42:55 -04:00
dotasek 36f4524c7e Add method to for retrying capabilities statements 2022-06-17 10:01:56 -04:00
dotasek 2195d76807 Assert preferredResourceFormat values in test 2022-06-17 10:01:06 -04:00
dotasek 7935f8238f Start with failing test 2022-06-17 09:43:50 -04:00
dotasek 3210dd9c01
Update README.md
***NO_CI***
2022-06-16 14:52:01 -04:00
dotasek 941b7f5d9f
Update README.md
***NO_CI***
2022-06-16 12:55:00 -04:00
dotasek 99ca4429c5
Update README.md 2022-06-16 12:52:00 -04:00
dotasek af0f429e39
Update README.md
***NO_CI***
2022-06-16 11:08:28 -04:00
dotasek 1f3a79fe53 Update comments in Jacoco-maven-plugin re: autogenerated code 2022-06-15 09:38:03 -04:00
dotasek 1fee28fe84
Feature - run JUnit tests from validator_cli (#835)
* WIP add initial test running code

* Importing test modules fix breaking tests 1

* Clean up pom dependencies, move execution before context load

* Re-org and document cli pom

* Set more dependencies to compile. Print entries in classpath

* Try running via internal Executors

* Clearer class names + provide clear output

* Clean up test summarys and output + update class regex to junit default

* Refactor to avoid having to extend class

* Trim down dependency additions in pom + javadoc

* Add the rest of the modules to TestExecutor

* Parse additional params for classname filter and module

* Add experimental JUnit 4 runner in case JUnit 5 hates us.

* Include JUnit4 tests via adapters. Need to refactor for better naming.

* Update LoadIgTests to JUnit 5

* Gentle refactor, print execution time

* Remove unnecessary interface, organize packages

* Remove cached resources (need to fix this)

* Allow setting of txCache globally for tests + fix r5 tests

* Mild refactor of TestExecutor + Reorder test execution

* Add fhirTestCasesDirectory to testConfig + get r4 tests working

* Add dstu2016may and dstu3 tests

* Add dstu2 tests

* Add convertors tests

* Refactor resourceNameForFile + don't copy existing files

* Get all txCache directories centrally and allow all to live in same dir

* Start extracting txCache resources

* Finish extracting txCache resources

* Fix failing GraphQLEngineTest

* Try an mvn install for the pull pipeline

* Clean and refactor

* Test coverage

* Fix GraphQLEngineTests for local jar run

* More refactoring, more tests

* Add bare test for TxCacheResourceExtractor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-14 17:04:00 -04:00
Grahame Grieve 2783a5e3aa
Merge pull request #836 from hapifhir/gg-202206-r4b
R4b update
2022-06-14 13:26:51 +10:00
Grahame Grieve 62a082dbf3 Add value set expand by URL and use it in vsac 2022-06-13 21:50:11 +03:00
Grahame Grieve e0d4a843ce add logging to generator 2022-06-13 21:42:45 +03:00
Grahame Grieve dd7c607155 Regenerate R4B 2022-06-13 21:40:33 +03:00
Grahame Grieve 74e348f021 fix for NPE in package 2022-06-13 21:40:04 +03:00
markiantorno 3484b891d5 Updating version to: 5.6.49-SNAPSHOT and incrementing test cases dependency. 2022-06-08 07:01:23 +00:00
markiantorno 17ce4678d4 Release: v5.6.48
## Validator Changes

* Clean up the -extension parameter - make implementation conistent with documentation
* Stop auto-converting parameters to strings for string functions e.g. .length() in the FHIRPath engine
* Add parameter -implicit-fhirpath-string-conversions for old FHIRPath string conversion functionality

## Other code changes

* Fix NPE counting descendents when validating
* Fix bug processing invalid HTTP response
***NO_CI***
2022-06-08 06:41:48 +00:00
Grahame Grieve 506238fe55
Merge pull request #834 from hapifhir/gg-202206-release
set up release
2022-06-08 16:19:25 +10:00
Mark Iantorno cd38bdd43a Updating test case dependency to v1.1.101
***NO_CI***
2022-06-08 04:26:16 +00:00
Grahame Grieve 513b84c306 set up release 2022-06-08 14:04:16 +10:00
dotasek ed48ea071f
Add -extension parameter to validator cli help (#829)
* Add -extension parameter to validator cli help

* Make extension param match confluence docs

Semantically, a single URL is associated with each instance of this param. Singular -extension is shorter and correct-er.

* Replace * wildcard with `any`

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-07 22:35:21 -04:00
Grahame Grieve 2b3f7e7143
Merge pull request #833 from hapifhir/gg-202206-fhirpath
fix bug counting children + fix issue with automatic string conversio…
2022-06-08 09:50:22 +10:00
Grahame Grieve b0dfc9f281 fix bug counting children + fix issue with automatic string conversion in FHIRPath + fix bug in HTTP client + fix bug rendering profile comparison 2022-06-08 08:56:46 +10:00
dotasek a435beb29c
Backport ProfileUtilities changes from r5 to r4b (#827)
Plus update fhir-test-cases version

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-06-02 09:30:43 -04:00
dotasek 5aa2d8db8e
Add Java 17 to Ubuntu PR pipeline (#828)
Azure now supports Java 17 on their Ubuntu pipeline so we can add it.

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-05-31 11:49:03 -04:00
markiantorno 2c8db93787 Updating version to: 5.6.48-SNAPSHOT and incrementing test cases dependency. 2022-05-27 17:24:16 +00:00
markiantorno 567a9b2ce7 Release: v5.6.47
## Validator Changes

* Significant improvement in performance of validation (10-100 fold for simple resources)
* Add output tracker to trask progress of validation (Validate %R against %P..........20..........40..........60..........80.........|)
* Alter per-1 to handle different precision on start/end
* Add support for a -jurisdiction parameter, preparing for jurisdictionally specific constraints in profiles
* Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory
* Add warnings when potential matches are found when performing reference resolution in bundles

## Other code changes

* extend FHIRPath to support lowBoundary(), highBoundary() and precision()
* Fix for inefficiency in StructureMap engine
* Update version of PubPack used by the IGPublisher
* Handle scope on TestScript R4 <-> r5 conversion
* Fix bug converting extension context = Resource (R4 <-> R5 conversion)
* Update VSAC importer for changes to VSAC FHIR authorization
* Fix broken links in profile comparison due to cross version issues
***NO_CI***
2022-05-27 16:52:13 +00:00
Grahame Grieve 4cc0a8dfba Add support for 4.3.0 2022-05-27 22:17:32 +10:00
Grahame Grieve 327d73aae5
Merge pull request #821 from hapifhir/gg-202205-validation
Gg 202205 validation
2022-05-27 15:15:27 +10:00
Grahame Grieve 293dcf0920 fix test issue 2022-05-27 14:43:19 +10:00
Grahame Grieve 55a04629fa release notes 2022-05-27 13:43:34 +10:00
Grahame Grieve 12a1dbfc05 #820 Add warnings when potential matches are found when performing reference resolution in bundles 2022-05-27 13:43:19 +10:00
Grahame Grieve 655fc8b6ca Fix bug in snapshot generation where type slices on a mandatory element were all marked as mandatory 2022-05-27 13:40:38 +10:00
Grahame Grieve 8324123f73 Fix broken links in profile comparison due to cross version issues 2022-05-27 13:39:25 +10:00
Grahame Grieve d30234cdeb Update VSAC importer for changes to VSAC FHIR authorization 2022-05-27 13:38:50 +10:00
Grahame Grieve d8db639884 Fix bug converting extension context = Resource (R4 <-> R5 conversion) 2022-05-27 13:31:33 +10:00
dotasek caf4632464
Update CommonPackages.java
Update hl7.fhir.pubpack to release 0.1.0
2022-05-26 16:08:54 -04:00
Grahame Grieve ce48c435fd
Merge pull request #817 from hapifhir/gg-202205-performance
Performance work in the validator
2022-05-25 06:35:33 +10:00
Grahame Grieve bdf78cad79 fix total offset error 2022-05-23 21:25:03 +10:00
Grahame Grieve 47e205883c Performance work in the validator 2022-05-23 12:23:23 +10:00
Grahame Grieve f3bed096c7
Merge pull request #813 from hapifhir/gg-202205-ts-conv
Gg 202205 ts conv
2022-05-20 08:17:04 +10:00
Grahame Grieve 87b8556c57 more release notes 2022-05-20 07:32:12 +10:00
Grahame Grieve 759b73cd81 ping builld 2022-05-19 17:38:11 +10:00
Grahame Grieve 51185f74ff
Merge pull request #811 from hapifhir/dotasek-structuremapping-evaluate-2
Use MAP_EXPRESSION instead of MAP_WHERE_EXPRESSION
2022-05-19 17:33:41 +10:00
Grahame Grieve 7432b40c84 Handle scope on TestScript R4 <-> r5 conversion 2022-05-19 17:05:37 +10:00
Grahame Grieve d39ed690f8 Add jurisdiction parameter to Validator 2022-05-18 08:23:05 +10:00
Grahame Grieve 18aff2cf6c
Merge pull request #812 from hapifhir/gg-202205-fhirpath
extend FHIRPath to support lowBoundary(), highBoundary() and precision()
2022-05-18 06:46:18 +10:00
Grahame Grieve 919d6e6d8b extend FHIRPath to support lowBoundary(), highBoundary() and precision() 2022-05-14 00:19:08 +10:00
dotasek d099c7f0f1 Use MAP_EXPRESSION instead of MAP_WHERE_EXPRESSION 2022-05-12 18:05:59 -04:00
markiantorno 3ab828c381 Updating version to: 5.6.47-SNAPSHOT and incrementing test cases dependency. 2022-05-12 10:35:09 +00:00