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 bf4fac64060 Regen for commit 75ed64573b438224d6a58a54ac550283ea9fa9e0
bf4fac64060 is described below
commit bf4fac6406095dfeedfb246fb3c40bb38093ee40
Author: davsclaus <[email protected]>
AuthorDate: Wed Sep 7 08:27:12 2022 +0000
Regen for commit 75ed64573b438224d6a58a54ac550283ea9fa9e0
Signed-off-by: GitHub <[email protected]>
---
.../apache/camel/component/fhir/api/FhirRead.java | 61 +++++++++++-----------
.../camel/component/fhir/api/FhirUpdate.java | 44 ++++++++--------
.../camel/component/fhir/api/FhirValidate.java | 8 +--
3 files changed, 57 insertions(+), 56 deletions(-)
diff --git
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java
index 13663781048..a7b856f2f1c 100644
---
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java
+++
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java
@@ -18,7 +18,6 @@ package org.apache.camel.component.fhir.api;
import java.util.Map;
-import ca.uhn.fhir.rest.api.MethodOutcome;
import ca.uhn.fhir.rest.client.api.IGenericClient;
import ca.uhn.fhir.rest.gclient.IReadExecutable;
import ca.uhn.fhir.rest.gclient.IReadIfNoneMatch;
@@ -43,13 +42,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resource The resource to read (e.g. Patient)
- * @param id the {@link IIdType} referencing the resource
+ * @param resource The resource to read (e.g. Patient)
+ * @param id the {@link IIdType} referencing the resource
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
Class<IBaseResource> resource, IIdType id, String ifVersionMatches,
@@ -63,13 +62,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resourceClass the resource to read (e.g. Patient.class)
- * @param id the {@link IIdType} referencing the resource
+ * @param resourceClass the resource to read (e.g. Patient.class)
+ * @param id the {@link IIdType} referencing the resource
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
String resourceClass, IIdType id, String ifVersionMatches, Boolean
returnNull,
@@ -82,14 +81,14 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resource The resource to read (e.g. Patient)
- * @param stringId The resource ID
+ * @param resource The resource to read (e.g. Patient)
+ * @param stringId The resource ID
* @param version the resource version
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
Class<IBaseResource> resource, String stringId, String version,
String ifVersionMatches,
@@ -104,14 +103,14 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resourceClass the resource to read (e.g. Patient.class)
- * @param stringId The resource ID
+ * @param resourceClass the resource to read (e.g. Patient.class)
+ * @param stringId The resource ID
* @param version the resource version
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
String resourceClass, String stringId, String ifVersionMatches,
String version,
@@ -126,13 +125,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resource The resource to read (e.g. Patient)
- * @param longId The resource ID
+ * @param resource The resource to read (e.g. Patient)
+ * @param longId The resource ID
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
Class<IBaseResource> resource, Long longId, String
ifVersionMatches,
@@ -146,13 +145,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by id
*
- * @param resourceClass the resource to read (e.g. Patient)
- * @param longId The resource ID
+ * @param resourceClass the resource to read (e.g. Patient)
+ * @param longId The resource ID
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceById(
String resourceClass, Long longId, String ifVersionMatches,
Boolean returnNull,
@@ -165,13 +164,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by url
*
- * @param resource The resource to read (e.g. Patient)
- * @param iUrl the {@link IIdType} referencing the resource by
absolute url
+ * @param resource The resource to read (e.g. Patient)
+ * @param iUrl the {@link IIdType} referencing the resource by
absolute url
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceByUrl(
Class<IBaseResource> resource, IIdType iUrl, String
ifVersionMatches,
@@ -185,13 +184,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by url
*
- * @param resourceClass the resource to read (e.g. Patient.class)
- * @param iUrl the {@link IIdType} referencing the resource by
absolute url
+ * @param resourceClass the resource to read (e.g. Patient.class)
+ * @param iUrl the {@link IIdType} referencing the resource by
absolute url
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceByUrl(
String resourceClass, IIdType iUrl, String ifVersionMatches,
Boolean returnNull,
@@ -204,13 +203,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by url
*
- * @param resource The resource to read (e.g. Patient)
- * @param url referencing the resource by absolute url
+ * @param resource The resource to read (e.g. Patient)
+ * @param url referencing the resource by absolute url
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceByUrl(
Class<IBaseResource> resource, String url, String ifVersionMatches,
@@ -224,13 +223,13 @@ public class FhirRead {
/**
* Reads a {@link IBaseResource} on the server by url
*
- * @param resourceClass the resource to read (e.g. Patient.class)
- * @param url referencing the resource by absolute url
+ * @param resourceClass the resource to read (e.g. Patient.class)
+ * @param url referencing the resource by absolute url
* @param ifVersionMatches a version to match against the newest version
on the server.
* @param returnNull return null if version matches
* @param returnResource return the resource if version matches
* @param throwError throw error if the version matches
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public IBaseResource resourceByUrl(
String resourceClass, String url, String ifVersionMatches, Boolean
returnNull,
diff --git
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirUpdate.java
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirUpdate.java
index f51333e6db2..5fe0ad43af8 100644
---
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirUpdate.java
+++
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirUpdate.java
@@ -41,10 +41,10 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by id
*
- * @param resource The resource to update (e.g. Patient)
- * @param id the {@link IIdType} referencing the resource
- * @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param resource The resource to update (e.g. Patient)
+ * @param id the {@link IIdType} referencing the resource
+ * @param preferReturn whether the server include or suppress the
resource body as a part of the result
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(
IBaseResource resource, IIdType id, PreferReturnEnum preferReturn,
Map<ExtraParameters, Object> extraParameters) {
@@ -57,10 +57,10 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by id
*
- * @param resourceAsString The resource body to update
- * @param id the {@link IIdType} referencing the resource
+ * @param resourceAsString The resource body to update
+ * @param id the {@link IIdType} referencing the resource
* @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(
String resourceAsString, IIdType id, PreferReturnEnum
preferReturn, Map<ExtraParameters, Object> extraParameters) {
@@ -73,10 +73,10 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by id
*
- * @param resource The resource to update (e.g. Patient)
- * @param stringId the ID referencing the resource
- * @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param resource The resource to update (e.g. Patient)
+ * @param stringId the ID referencing the resource
+ * @param preferReturn whether the server include or suppress the
resource body as a part of the result
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(
IBaseResource resource, String stringId, PreferReturnEnum
preferReturn,
@@ -90,10 +90,10 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by id
*
- * @param resourceAsString The resource body to update
- * @param stringId the ID referencing the resource
+ * @param resourceAsString The resource body to update
+ * @param stringId the ID referencing the resource
* @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(
String resourceAsString, String stringId, PreferReturnEnum
preferReturn,
@@ -107,10 +107,11 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by search url
*
- * @param resource The resource to update (e.g. Patient)
- * @param url Specifies that the update should be performed
as a conditional create against a given search URL.
- * @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param resource The resource to update (e.g. Patient)
+ * @param url Specifies that the update should be performed as
a conditional create against a given
+ * search URL.
+ * @param preferReturn whether the server include or suppress the
resource body as a part of the result
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resourceBySearchUrl(
IBaseResource resource, String url, PreferReturnEnum preferReturn,
Map<ExtraParameters, Object> extraParameters) {
@@ -122,10 +123,11 @@ public class FhirUpdate {
/**
* Updates a {@link IBaseResource} on the server by search url
*
- * @param resourceAsString The resource body to update
- * @param url Specifies that the update should be performed
as a conditional create against a given search URL.
+ * @param resourceAsString The resource body to update
+ * @param url Specifies that the update should be performed
as a conditional create against a given
+ * search URL.
* @param preferReturn whether the server include or suppress the
resource body as a part of the result
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resourceBySearchUrl(
String resourceAsString, String url, PreferReturnEnum
preferReturn, Map<ExtraParameters, Object> extraParameters) {
diff --git
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirValidate.java
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirValidate.java
index 372151e0224..a10353876fd 100644
---
a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirValidate.java
+++
b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirValidate.java
@@ -37,8 +37,8 @@ public class FhirValidate {
/**
* Validates the resource
*
- * @param resource the {@link IBaseResource} to validate
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param resource the {@link IBaseResource} to validate
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(IBaseResource resource, Map<ExtraParameters,
Object> extraParameters) {
IValidateUntyped validateUntyped =
client.validate().resource(resource);
@@ -49,8 +49,8 @@ public class FhirValidate {
/**
* Validates the resource
*
- * @param resourceAsString raw resource to validate
- * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
+ * @param resourceAsString raw resource to validate
+ * @param extraParameters see {@link ExtraParameters} for a full list of
parameters that can be passed, may be NULL
*/
public MethodOutcome resource(String resourceAsString,
Map<ExtraParameters, Object> extraParameters) {
IValidateUntyped validateUntyped =
client.validate().resource(resourceAsString);