Commit Graph

362 Commits

Author SHA1 Message Date
James Agnew 840e004580 Unit test refactor 2014-12-10 15:11:32 -05:00
James Agnew 8ac479b7bd Prevent profile generation issue with multiple resource definition
classes that share an extension
2014-12-10 10:40:29 -05:00
b.debeaubien 84ecec2835 Added test demonstrating that using the same extension in 2 different resources causes the profile extension scanner to throw up its hands in despair 2014-12-10 10:24:04 -05:00
James Agnew ecadd83711 Return a better error message if the server finds multiple resource
providers for the same resource type
2014-12-04 11:04:53 -05:00
James Agnew 826fa1d7c1 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-tutorial/simple-server/src/main/java/ca/uhn/fhir/example/ex3/Example03_PatientResourceProvider.java
	hapi-fhir-tutorial/simple-server/src/main/java/ca/uhn/fhir/example/ex3/Example03_SimpleRestfulServer.java
	src/changes/changes.xml
2014-12-03 13:49:19 -05:00
James Agnew 3ca9fbbebb Encoding a Binary resource without a content type set should not result
in a NullPointerException.
2014-12-03 13:46:46 -05:00
lmds1 df05f00b80 updated patient auditor to get patient name as a string from basehumannamedt 2014-12-03 13:21:23 -05:00
jamesagnew c294e1c064 Begin multi version work 2014-12-01 08:13:32 -05:00
lmds1 ed66ffebc9 added unit tests for auditing interceptor 2014-11-28 17:38:07 -05:00
lmds1 edc00091e8 merging null pointer check from v0.8-uhn-branch to master 2014-11-26 10:53:54 -05:00
lmds1 cc9f12bf31 added null check on resource mapping for conformance method bindings 2014-11-26 10:36:34 -05:00
jamesagnew 383d4929c8 Fix #57: Date/Time types should not throw exceptions for bad precision on setValue(String) but should for constructors 2014-11-25 09:14:11 +01:00
b.debeaubien 428af56c82 Fixed issue where empty narrative caused a StringIndexOutOfBoundsException
Fixed encoding issue on XmlParserTest so it'll run in windows
2014-11-21 12:19:18 -05:00
James Agnew 84c08b1684 Do not share interceptors between individual interface based client
instances

Conflicts:
	src/changes/changes.xml
2014-11-21 11:46:23 -05:00
James Agnew 51f2ce1e37 Do not share interceptors between individual interface based client
instances
2014-11-21 11:39:21 -05:00
James Agnew c0d125f288 Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2014-11-20 16:41:42 -05:00
James Agnew 6e293a6623 More tutorial samples, as well as credit for #54 2014-11-20 16:29:10 -05:00
James Agnew 284625a1bc Merge pull request #54 from jjathman/master
Fixes #51 - cache whether or not validation was successful when the Vali...
2014-11-20 16:28:33 -05:00
lmds1 d757bc1f16 set version for all hapi projects to 0.8-uhn-branch 2014-11-20 14:48:33 -05:00
James Agnew 06a1e459d4 Returned resource objects from server methods should not be modified
while converting to a bundle
2014-11-20 14:42:24 -05:00
lmds1 57b34cd869 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-19 15:48:20 -05:00
lmds1 bf65cb974b added more auditors for new resource types, updates existing auditors to include subject 2014-11-19 15:48:12 -05:00
Tahura Chaudhry c95af615f1 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-19 14:22:35 -05:00
tahura 641e3cefd4 now adding Resources within contained to the Bundle 2014-11-19 14:19:39 -05:00
James Agnew 74b15e2295 Add a new date/time setter and update documentation 2014-11-19 11:29:33 -05:00
Joseph Athman fb4246577d fixes a test which fails if the local time zone was not EST as the output from the formatter would change the offset of the reproduced string value. 2014-11-18 22:19:50 -06:00
Joseph Athman 0cce1d21df Fixes #51 - cache whether or not validation was successful when the ValidationResult object is created so that mutations to the underlying OperationOutcome do not change the validation result success status. 2014-11-18 22:17:22 -06:00
James Agnew 7ca4bc30d2 Dont overwrite absolute IDs in the server 2014-11-18 14:29:57 -05:00
James Agnew 14a8f4f4cf JPA module now handles search params with | in them - More work on #52 2014-11-18 13:11:05 -05:00
James Agnew 93c34fdbbe Fix issue #52 - JPA module won't save resource types with empty path
search params
2014-11-17 16:58:34 -05:00
jamesagnew 23de3c53b7 Merge branch 'issue50'
Conflicts:
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/primitive/BaseDateTimeDt.java
2014-11-17 14:41:27 -05:00
jamesagnew 1b7586f7ed Fix #50 - Primitive datatypes now retain their textual values as well as the "parsed" values 2014-11-16 21:38:25 -05:00
James Agnew e2d59ef5ba Add unit test for BaseDateTimeDt 2014-11-14 14:36:26 -05:00
lmds1 08ffa55774 tidied up whitespace and imports 2014-11-13 18:40:59 -05:00
lmds1 66ddd25eb7 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-12 19:18:14 -05:00
lmds1 14cf9dd536 cleanup of AuditingInterceptor docs 2014-11-12 19:17:09 -05:00
lmds1 7e224d3ca1 Fixed POST parameter processing for long input and includes, removed extra unused param from IParameter.translateClientArgumentIntoQueryArgument 2014-11-12 19:16:26 -05:00
lmds1 40d127b274 removed unused import 2014-11-12 18:09:25 -05:00
James Agnew 374d95ea76 Merge pull request #49 from wdebeau1/master
Added @Destroy annotation, which allows ResourceProviders to do cleanup ...
2014-11-11 14:05:50 -05:00
lmds1 039e5655a8 Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir
Conflicts:
	hapi-tinder-plugin/src/main/resources/vm/resource.vm
	hapi-tinder-plugin/src/main/resources/vm/resource_dstu.vm
2014-11-10 18:17:29 -05:00
lmds1 5f3a366ab0 updated IResourceAuditor interface 2014-11-10 18:09:11 -05:00
James Agnew 4dcfdc88fd Fix build issues 2014-11-10 18:08:08 -05:00
lmds1 025db56fe9 iresourceauditor is in hapi-fhir-base not dstu 2014-11-10 17:55:18 -05:00
b.debeaubien 21d058f86b Added @Destroy annotation, which allows ResourceProviders to do cleanup when the server shuts down; renamed "ResfulServer" tests to "RestfulServer" 2014-11-10 17:50:49 -05:00
James Agnew 479c09b174 Fix failure to parse child of type "any" for code values 2014-11-10 17:33:45 -05:00
James Agnew 030ad3934c DOcumentation updates 2014-11-10 10:59:48 -05:00
jamesagnew fcb9a80bbc DateRangeParam now correctly handles requests containing a single date 2014-11-08 12:17:42 -05:00
jamesagnew 450b270c00 Fix compile issues in previous merge 2014-11-08 11:18:04 -05:00
jamesagnew 66bb291e04 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	examples/pom.xml.orig
	hapi-deployable-pom/pom.xml
	hapi-fhir-base/src/main/java/ca/uhn/fhir/model/base/resource/BaseOperationOutcome.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/RestfulServer.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/exceptions/BaseServerResponseException.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/exceptions/UnprocessableEntityException.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/interceptor/IServerInterceptor.java
	hapi-fhir-jpaserver-uhnfhirtest/.settings/org.eclipse.wst.common.component
	hapi-fhir-structures-dev/.gitignore
	hapi-fhir-structures-dstu/src/test/java/ca/uhn/fhir/context/CustomObservation.java
	hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderStructuresMojo.java
	hapi-tinder-plugin/src/main/resources/vm/resource.vm
	hapi-tinder-plugin/src/main/resources/vm/resource_dstu.vm
	pom.xml
	restful-server-example/.settings/org.eclipse.wst.common.component
	restful-server-example/.settings/org.eclipse.wst.common.component.orig
	src/changes/changes.xml
	src/site/resources/svg/restful-server-interceptors.svg
	src/site/site.xml
2014-11-08 10:58:35 -05:00
jamesagnew 5c9cf8ddf8 More merging cleanup 2014-11-08 10:38:25 -05:00
jamesagnew d1fb878c55 Merging 2014-11-08 10:36:27 -05:00
James Agnew d22a35788f Implement handleException on the server interceptor framework, as well
as some site and documentation enhancements
2014-11-07 14:26:59 -05:00
lmds1 f303e174fc Merge branch 'master' of https://github.com/jamesagnew/hapi-fhir 2014-11-04 17:32:00 -05:00
lmds1 b227d9ff99 changed iResource to return a String resourcename instead of an enum (to be used for auditing), moved audit classes from base to dstu so they can access dstu classes, updated templates to add new method to generated resources 2014-11-04 17:31:53 -05:00
James Agnew 4e769da4ca Give securityevent a common parent 2014-11-04 13:29:21 -05:00
James Agnew 1bd51f6118 Potential solution for #47 (bad test) 2014-11-03 18:48:32 -05:00
lmds1 f366cb52f1 merged changes from master 2014-11-03 17:18:33 -05:00
lmds1 ce3132ce57 no changes 2014-11-03 16:04:00 -05:00
b.debeaubien 4a4dd90f6e Added the ProvidesResources annotation and supporting classes, which allows server authors to specify resources that should be added to the initial resource list (and thus show up in the list of profiles returned from a search) 2014-11-03 09:04:16 -05:00
b.debeaubien 11894710f9 Updated docs in ResourceDef to indicate what id is used for (potentially it's also used for other things, though I didn't find any)
Added a test that demonstrates using ResourceDef.id to set the id for a custom resource's profile
2014-10-31 12:14:54 -04:00
James Agnew c7d4441d3b Merge branch 'master' of github.com:petromykhailysyn/hapi-fhir into petromykhailysyn-master 2014-10-30 13:59:12 -04:00
James Agnew e9ab9c8259 Merge branch 'master' of github.com:jamesagnew/hapi-fhir
Conflicts:
	hapi-fhir-structures-dstu/src/main/java/ca/uhn/fhir/model/dstu/FhirDstu1.java
2014-10-30 13:58:33 -04:00
James Agnew 135ba9d9e6 Moving site generation into root project 2014-10-30 13:57:29 -04:00
b.debeaubien 374da3f3a0 Fix for https://github.com/jamesagnew/hapi-fhir/issues/42
A few more eclipse exclusions for .gitignore
2014-10-30 11:41:48 -04:00
b.debeaubien edc8614ba8 Merging master 2014-10-30 10:06:42 -04:00
James Agnew da6a5d5a24 Move BoundCodeableConceptDt back to where it originally was for DSTU1
resources
2014-10-29 16:08:07 -04:00
James Agnew 109bbb4a5d Merge branch 'master' of github.com:jamesagnew/hapi-fhir 2014-10-29 15:35:13 -04:00
James Agnew 094a617644 Merge branch 'versions'
Conflicts:
	hapi-fhir-base/examples/pom.xml
	hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/server/exceptions/UnprocessableEntityException.java
	hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/FhirValidator.java
	hapi-fhir-base/testmindeps/pom.xml
	hapi-fhir-jpaserver-uhnfhirtest/pom.xml
	hapi-fhir-testpage-overlay/pom.xml
	hapi-tinder-plugin/pom.xml
	hapi-tinder-test/pom.xml
	restful-server-example-test/pom.xml
	restful-server-example/.settings/org.eclipse.wst.common.component
	restful-server-example/pom.xml
2014-10-29 15:34:59 -04:00
James Agnew 8f610d2c3a Add some tests 2014-10-29 09:04:44 -04:00
James Agnew c26602f0c8 Versions now builds completely! 2014-10-24 15:43:35 -04:00
jamesagnew 818177f70f Bunp to 0.7 for release 2014-10-23 08:12:58 -04:00
James Agnew 81ddb3f1d5 More versions work 2014-10-20 18:59:02 -04:00
lmds1 45a3fa8254 updated tinder to generate resources with a getResourceType method returning the ResourceTypeEnum, removed Test resource 2014-10-20 14:19:18 -04:00
James Agnew b07b8b9845 Start adding DEV structures 2014-10-17 18:08:37 -04:00
James Agnew 47edfb7b01 Almost have versions tests passing 2014-10-17 14:51:45 -04:00
James Agnew bb0b39627d Unit tests almost all passing 2014-10-16 17:19:27 -04:00
James Agnew 1d29b2b642 Still more versions work 2014-10-16 13:41:57 -04:00
James Agnew dbc07dcb50 More versions work 2014-10-16 11:46:25 -04:00
James Agnew abecee2766 Some work on supporting multiple versions 2014-10-02 09:54:52 -04:00
James Agnew 751face0a6 Argh. Fix to 0.7-SNAPSHOT, not 0.6-SNAPSHOT 2014-09-30 13:16:09 -04:00
James Agnew 1feb69b545 Revert to 0.6-SNAPSHOT version 2014-09-30 11:59:38 -04:00
t106uhn 686237f970 bump to 0.8-SNAPSHOT 2014-09-26 20:50:36 -04:00
James Agnew c214f7fe19 Fix #24 - Add a bunch of elements to the automatically generated
conformance profiles to ensure that they validate against the HL7
schemas.
2014-09-22 16:27:57 -04:00
James Agnew cdd4b137fb Bump to 0.7-SNAPSHOT 2014-09-11 16:57:45 -04:00
jamesagnew 13dd6d5e11 Complete 0.6 2014-09-08 07:41:44 -04:00
James Agnew c75c37d24d Rename SecurityEvent.Object to SecurityEvent.ObjectElement 2014-08-27 12:01:46 -04:00
James Agnew ef10560c76 Version bump to 0.6-SNAPSHOT 2014-07-30 11:58:06 -04:00
jamesagnew 67fb593146 Finalize 0.5 2014-07-29 22:26:19 -04:00
James Agnew 41f160ed67 Documentation updates and bump to 0.5-SNAPSHOT 2014-07-15 18:36:13 -04:00
jamesagnew 568972b098 Release 0.4 2014-07-13 21:59:41 -04:00
jamesagnew ba09da38b6 Start adding paging support 2014-06-23 09:04:48 -04:00
jamesagnew 96986f8829 Lots of cleanup and try to speed up transacitons in JPA 2014-06-12 11:42:28 -04:00
jamesagnew bb86724e12 Allow contained resources to parse and encode correctly 2014-06-03 16:52:21 -04:00
jamesagnew f52ed02fa4 Get all of the tests passing again 2014-05-20 18:28:13 -04:00
jamesagnew a269d257d3 Bump 0.3 and get all tests passing 2014-05-11 21:46:36 -04:00
jamesagnew 9f302937d9 Committing all fixes and changes from Connectathon - Lots of minor fixes, and a DB module 2014-05-05 05:57:43 -07:00
jamesagnew 6877c0628e Add validate method 2014-04-25 08:23:58 -04:00
jamesagnew 23a8b12b5e Removing cruft files 2014-04-24 07:32:10 -04:00
jamesagnew b15462ddca Merge branch 'master' of ssh://git.code.sf.net/p/hl7api/fhircode
Conflicts:
	hapi-fhir-base/pom.xml
	hapi-fhir-structures-dstu/pom.xml
	hapi-tinder-plugin/pom.xml
	hapi-tinder-test/pom.xml
	pom.xml
2014-04-24 07:31:12 -04:00
jamesagnew ab3173f840 add assembly 2014-04-24 07:24:27 -04:00
jamesagnew 9ab7f8facc Fix unit tests and add changelog 2014-04-23 15:24:31 -04:00
jamesagnew 69461ef10e Fixing unit tests 2014-04-03 14:30:49 -04:00
jamesagnew eda3995a72 More resources added 2014-04-03 07:45:07 -04:00
jamesagnew 7c64466a51 More resource generation 2014-04-02 18:42:16 -04:00
jamesagnew ad189d66e2 Starting workon post methods 2014-03-27 08:51:02 -04:00
jamesagnew fb23e82ee9 Adding AdverseReaction 2014-03-25 13:42:38 -04:00
jamesagnew b55a4e140e Lots of bugfixes, and narrative generator is started 2014-03-24 08:32:28 -04:00
jamesagnew 5088850e6b More work on JSON parser, and contained resources 2014-03-16 15:09:30 -04:00
jamesagnew f0214399ca Lots of fixes and docs to tinder 2014-03-13 17:33:12 -04:00
jamesagnew 8b6f00bb58 Workingon conformance operation for client 2014-03-12 09:03:17 -04:00
jamesagnew 3d281217da Services working now 2014-03-04 18:25:52 -05:00
jamesagnew 5828f49029 Server starting to work 2014-03-04 16:41:18 -05:00