Commit Graph

3844 Commits

Author SHA1 Message Date
Grahame Grieve 1c92448b98 IPS related validator fixes 2022-06-24 11:43:48 +02:00
Grahame Grieve 30aefb8fde Load R5 extensions when validating 2022-06-24 11:43:34 +02:00
Grahame Grieve 8e2958c7d6 use pkgCanonical when fetching packages 2022-06-24 11:42:38 +02:00
Grahame Grieve a81b5e2a9d Fix broken link rendering code systems 2022-06-24 11:41:54 +02:00
Grahame Grieve 38b0ed94ed fix logging bug in JsonParser 2022-06-24 11:41:33 +02:00
Grahame Grieve 2c46cfe690 Add loading R5 extensions 2022-06-24 11:41:19 +02:00
Grahame Grieve 636c651d76 Improvements to profile comparison 2022-06-24 11:40:42 +02:00
Grahame Grieve 7b409a8f48
Merge pull request #840 from hapifhir/dotasek-validator-cli-tests-help
Add help text for validator -tests mode
2022-06-24 11:37:54 +02:00
Grahame Grieve a5e24708fa
Merge pull request #841 from hapifhir/dotasek-better-errors-for-unsupported-metadata
Better errors when connecting to server that doesn't support Terminology Capabilities
2022-06-24 11:37:01 +02:00
Grahame Grieve aa00a59b96
Merge pull request #843 from hapifhir/dotasek-fix-presentduration-millis
Fix presentDuration representation of millis
2022-06-24 11:35:53 +02:00
dotasek 552127464c Rename again + pass tests 2022-06-23 12:39:35 -04:00
dotasek c6a69e81ae Failing test + gentle refactor 2022-06-23 12:32:02 -04:00
dotasek 8a3d7d3670 Catch ClassCastException and report clearer error message 2022-06-22 13:43:28 -04:00
dotasek 003be69129 More specific Exception type for test 2022-06-22 13:24:09 -04:00
dotasek 8ab27b2cb3 Failing test 2022-06-22 13:20:05 -04:00
dotasek 8db5d64a17 Add help text for validator -tests mode 2022-06-22 09:51:15 -04:00
Grahame Grieve 45efd0afaf
Merge pull request #839 from hapifhir/dotasek-fix-datetime-tozulu-day-message
Fix validation message for toCalendarZulu day validation
2022-06-21 22:18:13 +02:00
Grahame Grieve 4fd6eb09e1
Merge pull request #838 from hapifhir/dotasek-capabilities-switch-preferred-resource-format
Attempt different preferredResourceFormat after failed initial attempt
2022-06-21 23:15:02 +03:00
dotasek 0ecba5bf2a Fix validation message for toCalendarZulu day validation 2022-06-20 09:26:11 -04:00
dotasek af7fd15667 Rebuild caches + fix parse of JSON in FHIRRequestBuilder 2022-06-17 18:15:48 -04:00
dotasek 6695fdb064 Merge branch 'master' into dotasek-capabilities-switch-preferred-resource-format 2022-06-17 17:03:39 -04:00
dotasek 3f7163b41b Case insensitive fhir.txcache.rebuild 2022-06-17 17:03:03 -04:00
dotasek 35fbd191ac Add tests and tix for terminologyCapabilitiesQuick 2022-06-17 15:00:58 -04:00
dotasek 6ac813addd Add tests and fix for terminologyCapabilities 2022-06-17 11:21:11 -04:00
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