Commit Graph

1443 Commits

Author SHA1 Message Date
dotasek 885e55352f
FTPClient: upload file path creation, logging, and improved default path (#1078)
* More logging of errors.

* WIP create path for file to upload.

* WIP Tests

* More tests

* Improved logging and path fixes

* Clean up imports

* Rename test

* add testing code

Co-authored-by: dotasek <david.otasek@smilecdr.com>
Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
2023-01-18 12:42:59 -05:00
markiantorno 4367813a2c Updating version to: 5.6.92-SNAPSHOT and incrementing test cases dependency. 2023-01-17 21:59:38 +00:00
markiantorno 7b22d0355b Release: v5.6.91
## Validator Changes

* Fixed validation of URNs
* Check profiles don't have slicing on roof

## Other code changes

* Fix significant performance issue with profile xls generation
* Fix issue with setProperty dropping extensions in R3 - R5
* Debug logging improvements generating snapshots
* Fix issues with types missing in CDA IGs
* Fix problem converting ActivityDefinition R4(B)/R5
* More work on FTP Client
***NO_CI***
2023-01-17 21:40:28 +00:00
Grahame Grieve 829cea8d33 Add check for slicing at the root of a profile 2023-01-17 11:41:42 +11:00
Grahame Grieve 4b1a3dba46 Improve URN validation 2023-01-16 22:13:53 +11:00
Grahame Grieve a61d860ddb FTP passive mode 2023-01-16 22:13:38 +11:00
markiantorno c52777c462 Updating version to: 5.6.91-SNAPSHOT and incrementing test cases dependency. 2023-01-14 06:35:33 +00:00
markiantorno ac16aae300 Release: v5.6.90
## Validator Changes

* Better tracking and reporting of snapshot generation issues
* Update FHIRPath implementation to R4 with all corrections and extensions from R5 implemnetation

## Other code changes

* Inclusion of SAXON dependency for processing XSLT
* Error message spacing correction
* Basic FTPClient implementation
* test NPE in markdown processing
* go-publish support
* Start implementing loading structure maps with validation
***NO_CI***
2023-01-14 06:17:06 +00:00
Grahame Grieve 615ed8d63f
Update R4 FHIRPath implementation from R5, and get all tests passing (#1063)
* Update R4 FHIRPath implementation from R5, and get all tests passing

* test NPE in markdown processing

* go-publish support

* Start implementing loading structure maps with validation

* release notes

* more work on FTP

* Fix breaking test.

* Add fhir-test-cases to r4 pom to fix breaking test

Co-authored-by: Grahame Grieve <grahameg@gmail.ccom>
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 23:08:40 -05:00
dotasek 625ecac3c8
Bump commons-net to 3.9.0 (#1070)
Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-13 22:11:51 -05:00
dotasek dc9d5d0ed1 Set file transfers to binary type, ensure file contents match 2023-01-11 13:41:43 -05:00
dotasek edf6d75551
Implement FTP Client (#1064)
* Start with tests against fake FTP

* Dummy test file

* Switch to our FTPClient, make tests break

* Implement FTPClient

* Rely on end caller to set path delimiters

* User port 8021 for tests (not protected in azure pipelines)

* Let mocks use Windows filesystem

* Gentle refactor

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2023-01-09 20:06:21 -05:00
dotasek 0fd3c4af42 Merge branch 'master' into do-reintroduce-saxon-dependency 2023-01-06 17:00:40 -05:00
markiantorno b6cec730b5 Updating version to: 5.6.90-SNAPSHOT and incrementing test cases dependency. 2023-01-06 02:08:34 +00:00
markiantorno a6745a9016 Release: v5.6.89
## Validator Changes

* Add support for fhir_comments in R2/R2B
* Add validator checking around versions in extension URLs
* Fix bug generating cross-version extensions

## Other code changes

* Fix minor NPEs running IG publisher
* Add new PE module (PEDefinition/PEInstance)
* Add support for liquid filters (resolve FHIRPath conflict)
* Fix up round-tripping of XPath constraints R4/R5
* Refactor R5 ProfileUtilities (and move rendering to rendering package)
* Fix appending text when generating snapshots
***NO_CI***
2023-01-06 01:51:20 +00:00
dotasek df100a2d34 Restore saxon dependency dropped by HAPI FHIR 2023-01-05 17:11:35 -05:00
Grahame Grieve e794eca959 Changes to support upgrades to IG publisher -go-publish process 2023-01-05 08:44:45 +11:00
Grahame Grieve 19f1171962 json date handling related changes 2023-01-05 08:43:57 +11:00
Grahame Grieve db48892b66 fix failing test 2023-01-03 14:57:08 +11:00
Grahame Grieve f3fc19a906 refactor profile generation (utils -> renderer) + add new views 2023-01-03 14:54:11 +11:00
Grahame Grieve b894cc6da7
Merge pull request #1048 from qligier/pr-fix-text-appending
Fix appending text in ProfileUtilities
2022-12-31 09:10:24 +11:00
Quentin Ligier 858c06f097
Fix appending text in ProfileUtilities
If the base text was null, appending a text in the derived element (using "...") would show a "null" before the text. This commit adds the method Utilities.appendDerivedTextToBase() to implement to correct behavior.
2022-12-23 18:52:47 +01:00
Grahame Grieve 37844bd395 update xver dependency 2022-12-17 08:07:43 +11:00
Grahame Grieve 6b1ae35ef3 * Add validator support for fhir_comments in R2/R2B (#1042) + Add validator checks around versions in extension URLs 2022-12-17 07:11:06 +11:00
markiantorno aaa5c9d6a4 Updating version to: 5.6.89-SNAPSHOT and incrementing test cases dependency. 2022-12-16 01:40:27 +00:00
markiantorno a3a1e79674 Release: v5.6.88
## Validator Changes

* Remove use of .fhir/package-client cache (only use the main .fhir/package now)

## Other code changes

* Hack work around for broken template input for R5 OperationOutcome
* Fix up problems with test case consistency in R5 test cases
* Add R5-snapshot3 version enum to R4 version list
***NO_CI***
2022-12-16 01:19:52 +00:00
Grahame Grieve 8b7890bea2 removing caching package client - rests on invalid assumptions 2022-12-16 08:49:30 +11:00
markiantorno ba67d790b8 Updating version to: 5.6.88-SNAPSHOT and incrementing test cases dependency. 2022-12-14 03:25:16 +00:00
markiantorno 6d8cd59f1e Release: v5.6.87
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
* Upgrade code to latest R5 release (Snapshot 3)
* Fix bug with version patching loading package for the first time + fix bug determining spec reference
* Add Ids to profile spreadsheets
***NO_CI***
2022-12-14 02:48:33 +00:00
Grahame Grieve 659457bb65
Merge branch 'master' into gg-202212-r5-update 2022-12-14 11:55:31 +11:00
Grahame Grieve 9aeb39671b fix to get tests passing again. If I'm lucky 2022-12-14 11:54:14 +11:00
Grahame Grieve 72eae55218 fix new bug in package manager 2022-12-14 09:59:25 +11:00
Grahame Grieve e9d8400a78 fix package loading bug 2022-12-14 09:09:53 +11:00
Grahame Grieve d1d391496e upgrade to new R5 release 2022-12-13 21:13:29 +11:00
markiantorno 0e619971c4 Updating version to: 5.6.87-SNAPSHOT and incrementing test cases dependency. 2022-12-12 20:14:04 +00:00
markiantorno bbf74e6f91 Release: v5.6.86
## Validator Changes

* Change Java minimum version from 8 to 11
* Fix Error message missing parameter (very minor fix)

## Other code changes

* Refactoring package-list.json handling
***NO_CI***
2022-12-12 19:56:58 +00:00
Grahame Grieve f5d486f171 refactoring package-list.json handling 2022-12-12 19:54:37 +11:00
markiantorno 915d5e89b7 Updating version to: 5.6.86-SNAPSHOT and incrementing test cases dependency. 2022-12-09 18:40:17 +00:00
markiantorno c01a9444a4 Release: v5.6.85
## Validator Changes

* Change rules around Document and Link Message validation (see [Jira](https://jira.hl7.org/browse/FHIR-39502) and [Zulip](https://chat.fhir.org/#narrow/stream/179252-IG-creation/topic/Entry.20isn't.20reachable.20by.20traversing.20from.20first.20Bundle.20entry) for details)
* Allow https://example in questionnaire example links

## Other code changes

* Rendering Improvements for deprecated codes Including deprecation reason
* Add Accept header fetching JSON
* Fix version comparison bug
* Fixes for producing profile summary in IGs
* Add contents to .index.json and bump to v2
* Fix stated package & version in alternate versions packages
* Refactor ProfileUtilities.generateSnapshot
* Fix bug in XHTML generation around empty tags
* Fix NPE appending slashes
* Fix rendering timing to not use a specific verb
* Fix R2 - RX ValueSet convertor for Code Systems
***NO_CI***
2022-12-09 18:23:37 +00:00
Grahame Grieve 89486c17fc
Merge pull request #1029 from hapifhir/gg-202212-json-header
Gg 202212 json header
2022-12-10 00:01:26 +11:00
Grahame Grieve 1786122763
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:59 +11:00
Grahame Grieve ee8a58b7e1
Update org.hl7.fhir.utilities/src/main/resources/Messages.properties
Co-authored-by: Vadim Peretokin <vperetokin@hey.com>
2022-12-09 23:30:06 +11:00
Grahame Grieve 7c2c44b333 Add Accept header fetching JSON 2022-12-09 20:09:12 +11:00
Grahame Grieve 474f84c903 fix bug doing version comparison 2022-12-09 20:09:01 +11:00
Grahame Grieve 771fb0ac00 Changes related to validation of document and message links 2022-12-09 11:09:17 +11:00
Grahame Grieve 73cd123234
Merge pull request #1028 from hapifhir/gg-202212-xlsx-csv
Gg 202212 xlsx csv
2022-12-07 06:11:32 +11:00
dotasek d762740950
Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy (#1007)
* Bump HAPI FHIR to 6.2.1 + jacoco + byte_buddy

* Failing test

* GitHub complains about missing newlines.

* ACTUALLY bump HAPI, include saxon libs that disappeared

* Update maven.compiler.* properties, drop surefire-java-8 profile

* bump exec plugin

* Try running with JAVA_HOME explicitly

Co-authored-by: dotasek <david.otasek@smilecdr.com>
2022-12-06 10:52:52 -05:00
Grahame Grieve 064c4ce896 Add contents to .index.json in package (per update to spec) 2022-12-06 16:21:56 +11:00
Grahame Grieve 66f46bc319 remove test that shouldn't have been committed 2022-12-05 17:56:12 +11:00
Grahame Grieve b778641cf6 fix bug in XHTML generation 2022-12-05 17:27:52 +11:00