This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new 1c08fc777a9 Regen for commit 93943814cce92d053e9fbdcd426d81b33e4c45a4 1c08fc777a9 is described below commit 1c08fc777a92ca0252681d9c6d80fb54de989a0f Author: davsclaus <davscl...@users.noreply.github.com> AuthorDate: Sun Jan 1 13:04:24 2023 +0000 Regen for commit 93943814cce92d053e9fbdcd426d81b33e4c45a4 Signed-off-by: GitHub <nore...@github.com> --- .../apache/camel/catalog/dataformats/fhirJson.json | 1 + .../apache/camel/catalog/dataformats/fhirXml.json | 1 + .../apache/camel/catalog/schemas/camel-spring.xsd | 45 ++++++++++++++++++++++ .../camel/model/dataformat/FhirDataformat.java | 22 +++++------ 4 files changed, 57 insertions(+), 12 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json index 7acdfc9ce08..323decaf07d 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirJson.json @@ -17,6 +17,7 @@ }, "properties": { "fhirVersion": { "kind": "attribute", "displayName": "Fhir Version", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "R4", "description": "The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" }, + "fhirContext": { "kind": "attribute", "displayName": "Fhir Context", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom fhir context. Reference to object of type ca.uhn.fhir.context.FhirContext" }, "prettyPrint": { "kind": "attribute", "displayName": "Pretty Print", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible." }, "parserErrorHandler": { "kind": "attribute", "displayName": "Parser Error Handler", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Registers an error handler which will be invoked when any parse errors are found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler" }, "parserOptions": { "kind": "attribute", "displayName": "Parser Options", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the parser options object which will be used to supply default options to newly created parsers. Reference to object of type ca.uhn.fhir.context.ParserOptions." }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json index 61236562c76..3091333b975 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/fhirXml.json @@ -17,6 +17,7 @@ }, "properties": { "fhirVersion": { "kind": "attribute", "displayName": "Fhir Version", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "R4", "description": "The version of FHIR to use. Possible values are: DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5" }, + "fhirContext": { "kind": "attribute", "displayName": "Fhir Context", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom fhir context. Reference to object of type ca.uhn.fhir.context.FhirContext" }, "prettyPrint": { "kind": "attribute", "displayName": "Pretty Print", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Sets the pretty print flag, meaning that the parser will encode resources with human-readable spacing and newlines between elements instead of condensing output as much as possible." }, "parserErrorHandler": { "kind": "attribute", "displayName": "Parser Error Handler", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Registers an error handler which will be invoked when any parse errors are found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler" }, "parserOptions": { "kind": "attribute", "displayName": "Parser Options", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the parser options object which will be used to supply default options to newly created parsers. Reference to object of type ca.uhn.fhir.context.ParserOptions." }, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index eeb3119fe6b..7f805a6f603 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -10380,6 +10380,17 @@ DSTU2,DSTU2_HL7ORG,DSTU2_1,DSTU3,R4,R5. Default value: R4 </xs:annotation> </xs:attribute> + <xs:attribute name="fhirContext" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"> + <![CDATA[ +To use a custom fhir context. Reference to object of type +ca.uhn.fhir.context.FhirContext. + ]]> + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="prettyPrint" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"> @@ -10392,6 +10403,29 @@ output as much as possible. Default value: false </xs:annotation> </xs:attribute> + <xs:attribute name="parserErrorHandler" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"> + <![CDATA[ +Registers an error handler which will be invoked when any parse errors are +found. Reference to object of type ca.uhn.fhir.parser.IParserErrorHandler. + ]]> + </xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="parserOptions" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"> + <![CDATA[ +Sets the parser options object which will be used to supply default options to +newly created parsers. Reference to object of type +ca.uhn.fhir.context.ParserOptions. + ]]> + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="preferTypes" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"> @@ -10407,6 +10441,17 @@ Multiple class names can be separated by comma. </xs:annotation> </xs:attribute> + <xs:attribute name="forceResourceId" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"> + <![CDATA[ +When encoding, force this resource ID to be encoded as the resource ID. +Reference to object of type org.hl7.fhir.instance.model.api.IIdType. + ]]> + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="serverBaseUrl" type="xs:string"> <xs:annotation> <xs:documentation xml:lang="en"> diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java index f9fe03ef186..b42ced695e2 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/FhirDataformat.java @@ -170,8 +170,8 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con } /** - * Sets the parser options object which will be used to supply default options to newly created parsers. - * Reference to object of type ca.uhn.fhir.context.ParserOptions. + * Sets the parser options object which will be used to supply default options to newly created parsers. Reference + * to object of type ca.uhn.fhir.context.ParserOptions. */ public void setParserOptions(String parserOptions) { this.parserOptions = parserOptions; @@ -385,8 +385,8 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con * * @param overrideResourceIdWithBundleEntryFullUrl Set this to <code>false</code> to prevent the parser from * overriding resource ids with the Bundle.entry.fullUrl (or - * <code>null</code> to apply the default setting from the - * parser options + * <code>null</code> to apply the default setting from the parser + * options */ public void setOverrideResourceIdWithBundleEntryFullUrl(String overrideResourceIdWithBundleEntryFullUrl) { this.overrideResourceIdWithBundleEntryFullUrl = overrideResourceIdWithBundleEntryFullUrl; @@ -435,8 +435,8 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con * "Patient.managingOrganization" or "AuditEvent.object.reference". * Note that only resource name and field names with dots separating * is allowed here (no repetition indicators, FluentPath expressions, - * etc.). Set to <code>null</code> to use the value set in the - * parser options + * etc.). Set to <code>null</code> to use the value set in the parser + * options */ public void setDontStripVersionsFromReferencesAtPaths(List<String> dontStripVersionsFromReferencesAtPaths) { this.dontStripVersionsFromReferencesAtPaths = String.join(",", dontStripVersionsFromReferencesAtPaths); @@ -457,8 +457,8 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con * "Patient.managingOrganization" or "AuditEvent.object.reference". * Note that only resource name and field names with dots separating * is allowed here (no repetition indicators, FluentPath expressions, - * etc.). Set to <code>null</code> to use the value set in the - * parser options + * etc.). Set to <code>null</code> to use the value set in the parser + * options */ public void setDontStripVersionsFromReferencesAtPaths(String dontStripVersionsFromReferencesAtPaths) { this.dontStripVersionsFromReferencesAtPaths = dontStripVersionsFromReferencesAtPaths; @@ -862,8 +862,7 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con * "AuditEvent.object.reference". Note that only resource name and * field names with dots separating is allowed here (no repetition * indicators, FluentPath expressions, etc.). Set to - * <code>null</code> to use the value set in the - * parser options. + * <code>null</code> to use the value set in the parser options. */ public T dontStripVersionsFromReferencesAtPaths(List<String> dontStripVersionsFromReferencesAtPaths) { this.dontStripVersionsFromReferencesAtPaths = String.join(",", dontStripVersionsFromReferencesAtPaths); @@ -886,8 +885,7 @@ public abstract class FhirDataformat extends DataFormatDefinition implements Con * "AuditEvent.object.reference". Note that only resource name and * field names with dots separating is allowed here (no repetition * indicators, FluentPath expressions, etc.). Set to - * <code>null</code> to use the value set in the - * parser options. + * <code>null</code> to use the value set in the parser options. */ public T dontStripVersionsFromReferencesAtPaths(String dontStripVersionsFromReferencesAtPaths) { this.dontStripVersionsFromReferencesAtPaths = dontStripVersionsFromReferencesAtPaths;