This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch api in repository https://gitbox.apache.org/repos/asf/camel.git
commit d0eeaaf21dd5bd89f8c20e8c29bee6335db64c01 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Tue Sep 15 17:14:52 2020 +0200 CAMEL-15478: Regen --- .../org/apache/camel/catalog/components/fhir.json | 10 +++---- .../apache/camel/catalog/components/olingo4.json | 2 +- .../FhirCapabilitiesEndpointConfiguration.java | 14 ++++----- .../fhir/FhirHistoryEndpointConfiguration.java | 24 +++++++-------- .../fhir/FhirLoadPageEndpointConfiguration.java | 18 ++++++------ .../fhir/FhirMetaEndpointConfiguration.java | 30 +++++++++---------- .../FhirMetaEndpointConfigurationConfigurer.java | 10 +++---- .../fhir/FhirOperationEndpointConfiguration.java | 34 +++++++++++----------- .../fhir/internal/FhirCapabilitiesApiMethod.java | 2 +- .../fhir/internal/FhirHistoryApiMethod.java | 6 ++-- .../fhir/internal/FhirLoadPageApiMethod.java | 6 ++-- .../component/fhir/internal/FhirMetaApiMethod.java | 12 ++++---- .../fhir/internal/FhirOperationApiMethod.java | 2 +- .../org/apache/camel/component/fhir/fhir.json | 10 +++---- .../twilio/MessageEndpointConfiguration.java | 6 ++-- .../MessageEndpointConfigurationConfigurer.java | 9 ------ .../zendesk/ZendeskEndpointConfiguration.java | 6 ++-- .../ZendeskEndpointConfigurationConfigurer.java | 2 ++ 18 files changed, 98 insertions(+), 105 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/fhir.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/fhir.json index 8eb6897..fea54bc 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/fhir.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/fhir.json @@ -105,13 +105,13 @@ "update": { "apiName": "update", "methods": { "resourceBySearchUrl": { "apiMethodName": "resourceBySearchUrl", "description": "", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "create": { "apiName": "create", "methods": { "resource": { "apiMethodName": "resource", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366, may be null", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "d [...] "validate": { "apiName": "validate", "methods": { "resource": { "apiMethodName": "resource", "description": "", "properties": { "resourceAsString": { "kind": "parameter", "displayName": "Resource As String", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, - "operation": { "apiName": "operation", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "", "properties": { "useHttpGet": { "kind": "parameter", "displayName": "Use Http Get", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "description": "" } } }, "onInstanceVersion": { "apiMethodName": "onInstanceVersion", "description": "", "properties": { "useHttpGet": { "kind": [...] + "operation": { "apiName": "operation", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "Use HTTP GET verb", "properties": { "useHttpGet": { "kind": "parameter", "displayName": "Use Http Get", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "description": "" } } }, "onInstanceVersion": { "apiMethodName": "onInstanceVersion", "description": "Use HTTP GET verb", "prope [...] "search": { "apiName": "search", "methods": { "searchByUrl": { "apiMethodName": "searchByUrl", "description": "The URL to search for. Note that this URL may be complete (e.g. http:\/\/example.com\/base\/Patientname=foo) in which case the client's base URL will be ignored. Or it can be relative (e.g. Patientname=foo) in which case the client's base URL will be used.", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, [...] - "capabilities": { "apiName": "capabilities", "methods": { "ofType": { "apiMethodName": "ofType", "description": "", "properties": { "type": { "kind": "parameter", "displayName": "Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseConformance>", "deprecated": false, "secret": false, "description": "" } } } } }, + "capabilities": { "apiName": "capabilities", "methods": { "ofType": { "apiMethodName": "ofType", "description": "The model type", "properties": { "type": { "kind": "parameter", "displayName": "Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseConformance>", "deprecated": false, "secret": false, "description": "" } } } } }, "patch": { "apiName": "patch", "methods": { "patchByUrl": { "apiMethodName": "patchByUrl", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description" [...] - "meta": { "apiName": "meta", "methods": { "getFromType": { "apiMethodName": "getFromType", "description": "", "properties": { "theResourceName": { "kind": "parameter", "displayName": "The Resource Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, - "history": { "apiName": "history", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "", "properties": { "returnType": { "kind": "parameter", "displayName": "Return Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseBundle>", "deprecated": false, "secret": false, "description": "" } } }, "onServer": { "apiMethodName": "onServer", "description": "", "properties": { "retu [...] - "load-page": { "apiName": "load-page", "methods": { "byUrl": { "apiMethodName": "byUrl", "description": "", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, + "meta": { "apiName": "meta", "methods": { "getFromType": { "apiMethodName": "getFromType", "description": "The resource type e.g Patient", "properties": { "resourceType": { "kind": "parameter", "displayName": "Resource Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, + "history": { "apiName": "history", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle). Use this method if you are accessing a DSTU2 server.", "properties": { "returnType": { "kind": "parameter", "displayName": "Return Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseBund [...] + "load-page": { "apiName": "load-page", "methods": { "byUrl": { "apiMethodName": "byUrl", "description": "The search url", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "transaction": { "apiName": "transaction", "methods": { "withBundle": { "apiMethodName": "withBundle", "description": "Bundle to use in the transaction", "properties": { "stringBundle": { "kind": "parameter", "displayName": "String Bundle", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "read": { "apiName": "read", "methods": { "resourceById": { "apiMethodName": "resourceById", "description": "", "properties": { "version": { "kind": "parameter", "displayName": "Version", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "delete": { "apiName": "delete", "methods": { "resourceConditionalByUrl": { "apiMethodName": "resourceConditionalByUrl", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo4.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo4.json index 919eb53..298305e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo4.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/olingo4.json @@ -79,6 +79,6 @@ "sslContextParameters": { "kind": "parameter", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.olingo4.Olingo4Configuration", "configurationField": "configuration", "description": "To configure security using SSLContextParameters" } }, "apiProperties": { - "DEFAULT": { "apiName": "DEFAULT", "methods": { "action": { "apiMethodName": "action", "description": "", "properties": { "responseHandler": { "kind": "parameter", "displayName": "Response Handler", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.olingo4.api.Olingo4ResponseHandler", "deprecated": false, "secret": false, "description": "" } } }, "batch": { "apiMethodName": "batch", "description": "", "properties": { "respons [...] + "DEFAULT": { "apiName": "DEFAULT", "methods": { "action": { "apiMethodName": "action", "description": "Org.apache.olingo.client.api.domain.ClientEntity callback handler", "properties": { "responseHandler": { "kind": "parameter", "displayName": "Response Handler", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.olingo4.api.Olingo4ResponseHandler", "deprecated": false, "secret": false, "description": "" } } }, "batch": { "api [...] } } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCapabilitiesEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCapabilitiesEndpointConfiguration.java index a055aa4..d954153 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCapabilitiesEndpointConfiguration.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirCapabilitiesEndpointConfiguration.java @@ -14,23 +14,23 @@ import org.apache.camel.spi.UriParams; /** * Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirCapabilities}. */ -@ApiParams(apiName = "capabilities", description = "", - apiMethods = {@ApiMethod(methodName = "ofType")}) +@ApiParams(apiName = "capabilities", description = "API to Fetch the capability statement for the server", + apiMethods = {@ApiMethod(methodName = "ofType", description="Retrieve the conformance statement using the given model type")}) @UriParams @Configurer public final class FhirCapabilitiesEndpointConfiguration extends FhirConfiguration { @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "ofType")}) - private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters; + @ApiParam(apiMethods = {@ApiMethod(methodName = "ofType", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL")}) + private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "ofType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "ofType", description="The model type")}) private Class<org.hl7.fhir.instance.model.api.IBaseConformance> type; - public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() { + public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> getExtraParameters() { return extraParameters; } - public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters) { + public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters) { this.extraParameters = extraParameters; } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirHistoryEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirHistoryEndpointConfiguration.java index 9fb1691..e8b7de4 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirHistoryEndpointConfiguration.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirHistoryEndpointConfiguration.java @@ -14,31 +14,31 @@ import org.apache.camel.spi.UriParams; /** * Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirHistory}. */ -@ApiParams(apiName = "history", description = "", - apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) +@ApiParams(apiName = "history", description = "API for the history method", + apiMethods = {@ApiMethod(methodName = "onInstance", description="Perform the operation across all versions of a specific resource (by ID and type) on the server"), @ApiMethod(methodName = "onServer", description="Perform the operation across all versions of all resources of all types on the server"), @ApiMethod(methodName = "onType", description="Perform the operation across all versions of all resources of the given type on the server")}) @UriParams @Configurer public final class FhirHistoryEndpointConfiguration extends FhirConfiguration { @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Request that the server return only up to theCount number of resources, may be NULL"), @ApiMethod(methodName = "onServer", description="Request that the server return only up to theCount number of resources, may be NULL"), @ApiMethod(methodName = "onType", description="Request that the server return only up to theCount number of resources, may be NULL")}) private Integer count; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL"), @ApiMethod(methodName = "onServer", description="Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL"), @ApiMethod(methodName = "onType", description="Request that the server return only resource versions that were [...] private java.util.Date cutoff; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) - private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters; + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "onServer", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "onType", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL")}) + private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL"), @ApiMethod(methodName = "onServer", description="Request that the server return only resource versions that were created at or after the given time (inclusive), may be NULL"), @ApiMethod(methodName = "onType", description="Request that the server return only resource versions that were [...] private org.hl7.fhir.instance.model.api.IPrimitiveType<java.util.Date> iCutoff; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="The IIdType which must be populated with both a resource type and a resource ID at")}) private org.hl7.fhir.instance.model.api.IIdType id; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onType", description="The resource type to search for")}) private Class<org.hl7.fhir.instance.model.api.IBaseResource> resourceType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle). Use this method if you are accessing a DSTU2 server."), @ApiMethod(methodName = "onServer", description="Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle). Use this method if you are accessing a DSTU2 server."), @ApiMethod(methodName = "onType", description="Reque [...] private Class<org.hl7.fhir.instance.model.api.IBaseBundle> returnType; public Integer getCount() { @@ -57,11 +57,11 @@ public final class FhirHistoryEndpointConfiguration extends FhirConfiguration { this.cutoff = cutoff; } - public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() { + public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> getExtraParameters() { return extraParameters; } - public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters) { + public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters) { this.extraParameters = extraParameters; } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirLoadPageEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirLoadPageEndpointConfiguration.java index ac48ae5..bf05bc8 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirLoadPageEndpointConfiguration.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirLoadPageEndpointConfiguration.java @@ -14,22 +14,22 @@ import org.apache.camel.spi.UriParams; /** * Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirLoadPage}. */ -@ApiParams(apiName = "load-page", description = "", - apiMethods = {@ApiMethod(methodName = "byUrl"), @ApiMethod(methodName = "next"), @ApiMethod(methodName = "previous")}) +@ApiParams(apiName = "load-page", description = "API that Loads the previous/next bundle of resources from a paged set, using the link specified in the link type=next tag within the atom bundle", + apiMethods = {@ApiMethod(methodName = "byUrl", description="Load a page of results using the given URL and bundle type and return a DSTU1 Atom bundle"), @ApiMethod(methodName = "next", description="Load the next page of results using the link with relation next in the bundle"), @ApiMethod(methodName = "previous", description="Load the previous page of results using the link with relation prev in the bundle")}) @UriParams @Configurer public final class FhirLoadPageEndpointConfiguration extends FhirConfiguration { @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "next"), @ApiMethod(methodName = "previous")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "next", description="The IBaseBundle"), @ApiMethod(methodName = "previous", description="The IBaseBundle")}) private org.hl7.fhir.instance.model.api.IBaseBundle bundle; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl"), @ApiMethod(methodName = "next"), @ApiMethod(methodName = "previous")}) - private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters; + @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "next", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "previous", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL")}) + private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl", description="The return type")}) private Class<org.hl7.fhir.instance.model.api.IBaseBundle> returnType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "byUrl", description="The search url")}) private String url; public org.hl7.fhir.instance.model.api.IBaseBundle getBundle() { @@ -40,11 +40,11 @@ public final class FhirLoadPageEndpointConfiguration extends FhirConfiguration { this.bundle = bundle; } - public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() { + public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> getExtraParameters() { return extraParameters; } - public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters) { + public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters) { this.extraParameters = extraParameters; } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfiguration.java index 828299d..730ab66 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfiguration.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfiguration.java @@ -14,32 +14,32 @@ import org.apache.camel.spi.UriParams; /** * Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirMeta}. */ -@ApiParams(apiName = "meta", description = "", - apiMethods = {@ApiMethod(methodName = "add"), @ApiMethod(methodName = "delete"), @ApiMethod(methodName = "getFromResource"), @ApiMethod(methodName = "getFromServer"), @ApiMethod(methodName = "getFromType")}) +@ApiParams(apiName = "meta", description = "API for the meta operations, which can be used to get, add and remove tags and other Meta elements from a resource or across the server", + apiMethods = {@ApiMethod(methodName = "add", description="Add the elements in the given metadata to the already existing set (do not remove any)"), @ApiMethod(methodName = "delete", description="Delete the elements in the given metadata from the given id"), @ApiMethod(methodName = "getFromResource", description="Fetch the current metadata from a specific resource"), @ApiMethod(methodName = "getFromServer", description="Fetch the current metadata from the whole Server"), @ApiMe [...] @UriParams @Configurer public final class FhirMetaEndpointConfiguration extends FhirConfiguration { @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "add"), @ApiMethod(methodName = "delete"), @ApiMethod(methodName = "getFromResource"), @ApiMethod(methodName = "getFromServer"), @ApiMethod(methodName = "getFromType")}) - private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters; + @ApiParam(apiMethods = {@ApiMethod(methodName = "add", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "delete", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "getFromResource", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "getFromServer", description="See Extr [...] + private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "add"), @ApiMethod(methodName = "delete"), @ApiMethod(methodName = "getFromResource")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "add", description="The id"), @ApiMethod(methodName = "delete", description="The id"), @ApiMethod(methodName = "getFromResource", description="The id")}) private org.hl7.fhir.instance.model.api.IIdType id; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "add"), @ApiMethod(methodName = "delete")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "add", description="The IBaseMetaType class"), @ApiMethod(methodName = "delete", description="The IBaseMetaType class")}) private org.hl7.fhir.instance.model.api.IBaseMetaType meta; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "getFromResource"), @ApiMethod(methodName = "getFromServer"), @ApiMethod(methodName = "getFromType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "getFromResource", description="The IBaseMetaType class"), @ApiMethod(methodName = "getFromServer", description="The type of the meta datatype for the given FHIR model version (should be MetaDt.class or MetaType.class)"), @ApiMethod(methodName = "getFromType", description="The IBaseMetaType class")}) private Class<org.hl7.fhir.instance.model.api.IBaseMetaType> metaType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "getFromType")}) - private String theResourceName; + @ApiParam(apiMethods = {@ApiMethod(methodName = "getFromType", description="The resource type e.g Patient")}) + private String resourceType; - public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() { + public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> getExtraParameters() { return extraParameters; } - public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters) { + public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters) { this.extraParameters = extraParameters; } @@ -67,11 +67,11 @@ public final class FhirMetaEndpointConfiguration extends FhirConfiguration { this.metaType = metaType; } - public String getTheResourceName() { - return theResourceName; + public String getResourceType() { + return resourceType; } - public void setTheResourceName(String theResourceName) { - this.theResourceName = theResourceName; + public void setResourceType(String resourceType) { + this.resourceType = resourceType; } } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfigurationConfigurer.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfigurationConfigurer.java index 4c2d4af..64b5dc2 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfigurationConfigurer.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirMetaEndpointConfigurationConfigurer.java @@ -65,6 +65,8 @@ public class FhirMetaEndpointConfigurationConfigurer extends org.apache.camel.su case "ProxyPort": target.setProxyPort(property(camelContext, java.lang.Integer.class, value)); return true; case "proxyuser": case "ProxyUser": target.setProxyUser(property(camelContext, java.lang.String.class, value)); return true; + case "resourcetype": + case "ResourceType": target.setResourceType(property(camelContext, java.lang.String.class, value)); return true; case "serverurl": case "ServerUrl": target.setServerUrl(property(camelContext, java.lang.String.class, value)); return true; case "sessioncookie": @@ -73,8 +75,6 @@ public class FhirMetaEndpointConfigurationConfigurer extends org.apache.camel.su case "SocketTimeout": target.setSocketTimeout(property(camelContext, java.lang.Integer.class, value)); return true; case "summary": case "Summary": target.setSummary(property(camelContext, java.lang.String.class, value)); return true; - case "theresourcename": - case "TheResourceName": target.setTheResourceName(property(camelContext, java.lang.String.class, value)); return true; case "username": case "Username": target.setUsername(property(camelContext, java.lang.String.class, value)); return true; case "validationmode": @@ -109,11 +109,11 @@ public class FhirMetaEndpointConfigurationConfigurer extends org.apache.camel.su answer.put("ProxyPassword", java.lang.String.class); answer.put("ProxyPort", java.lang.Integer.class); answer.put("ProxyUser", java.lang.String.class); + answer.put("ResourceType", java.lang.String.class); answer.put("ServerUrl", java.lang.String.class); answer.put("SessionCookie", java.lang.String.class); answer.put("SocketTimeout", java.lang.Integer.class); answer.put("Summary", java.lang.String.class); - answer.put("TheResourceName", java.lang.String.class); answer.put("Username", java.lang.String.class); answer.put("ValidationMode", java.lang.String.class); return answer; @@ -169,6 +169,8 @@ public class FhirMetaEndpointConfigurationConfigurer extends org.apache.camel.su case "ProxyPort": return target.getProxyPort(); case "proxyuser": case "ProxyUser": return target.getProxyUser(); + case "resourcetype": + case "ResourceType": return target.getResourceType(); case "serverurl": case "ServerUrl": return target.getServerUrl(); case "sessioncookie": @@ -177,8 +179,6 @@ public class FhirMetaEndpointConfigurationConfigurer extends org.apache.camel.su case "SocketTimeout": return target.getSocketTimeout(); case "summary": case "Summary": return target.getSummary(); - case "theresourcename": - case "TheResourceName": return target.getTheResourceName(); case "username": case "Username": return target.getUsername(); case "validationmode": diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirOperationEndpointConfiguration.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirOperationEndpointConfiguration.java index d047e22..b213751 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirOperationEndpointConfiguration.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/FhirOperationEndpointConfiguration.java @@ -14,46 +14,46 @@ import org.apache.camel.spi.UriParams; /** * Camel endpoint configuration for {@link org.apache.camel.component.fhir.api.FhirOperation}. */ -@ApiParams(apiName = "operation", description = "", - apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType"), @ApiMethod(methodName = "processMessage")}) +@ApiParams(apiName = "operation", description = "API for extended FHIR operations https://www", + apiMethods = {@ApiMethod(methodName = "onInstance", description="Perform the operation across all versions of a specific resource (by ID and type) on the server"), @ApiMethod(methodName = "onInstanceVersion", description="This operation operates on a specific version of a resource"), @ApiMethod(methodName = "onServer", description="Perform the operation across all versions of all resources of all types on the server"), @ApiMethod(methodName = "onType", description="Perform the [...] @UriParams @Configurer public final class FhirOperationEndpointConfiguration extends FhirConfiguration { @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage", description="Whether to process the message asynchronously or synchronously, defaults to synchronous.")}) private Boolean asynchronous; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType"), @ApiMethod(methodName = "processMessage")}) - private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters; + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "onInstanceVersion", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "onServer", description="See ExtraParameters for a full list of parameters that can be passed, may be NULL"), @ApiMethod(methodName = "onType", description="See [...] + private java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Resource (version will be stripped)"), @ApiMethod(methodName = "onInstanceVersion", description="Resource version")}) private org.hl7.fhir.instance.model.api.IIdType id; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage", description="Set the Message Bundle to POST to the messaging server")}) private org.hl7.fhir.instance.model.api.IBaseBundle msgBundle; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Operation name"), @ApiMethod(methodName = "onInstanceVersion", description="Operation name"), @ApiMethod(methodName = "onServer", description="Operation name"), @ApiMethod(methodName = "onType", description="Operation name")}) private String name; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="The type to use for the output parameters (this should be set to Parameters.class drawn from the version of the FHIR structures you are using), may be NULL"), @ApiMethod(methodName = "onInstanceVersion", description="The type to use for the output parameters (this should be set to Parameters.class drawn from the version of the FHIR structures you are using), may be NULL"), @ApiMethod(methodName = "onServer", d [...] private Class<org.hl7.fhir.instance.model.api.IBaseParameters> outputParameterType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="The parameters to use as input. May also be null if the operation does not require any input parameters."), @ApiMethod(methodName = "onInstanceVersion", description="The parameters to use as input. May also be null if the operation does not require any input parameters."), @ApiMethod(methodName = "onServer", description="The parameters to use as input. May also be null if the operation does not require any inp [...] private org.hl7.fhir.instance.model.api.IBaseParameters parameters; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onType", description="The resource type to operate on")}) private Class<org.hl7.fhir.instance.model.api.IBaseResource> resourceType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage", description="An optional query parameter indicating that responses from the receiving server should be sent to this URI, may be NULL")}) private String respondToUri; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "processMessage", description="The response class")}) private Class<org.hl7.fhir.instance.model.api.IBaseBundle> responseClass; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="If this operation returns a single resource body as its return type instead of a Parameters resource, use this method to specify that resource type. This is useful for certain operations (e.g. Patient/NNN/$everything) which return a bundle instead of a Parameters resource, may be NULL"), @ApiMethod(methodName = "onInstanceVersion", description="If this operation returns a single resource body as its return typ [...] private Class<org.hl7.fhir.instance.model.api.IBaseResource> returnType; @UriParam - @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance"), @ApiMethod(methodName = "onInstanceVersion"), @ApiMethod(methodName = "onServer"), @ApiMethod(methodName = "onType")}) + @ApiParam(apiMethods = {@ApiMethod(methodName = "onInstance", description="Use HTTP GET verb"), @ApiMethod(methodName = "onInstanceVersion", description="Use HTTP GET verb"), @ApiMethod(methodName = "onServer", description="Use HTTP GET verb"), @ApiMethod(methodName = "onType", description="Use HTTP GET verb")}) private Boolean useHttpGet; public Boolean getAsynchronous() { @@ -64,11 +64,11 @@ public final class FhirOperationEndpointConfiguration extends FhirConfiguration this.asynchronous = asynchronous; } - public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> getExtraParameters() { + public java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> getExtraParameters() { return extraParameters; } - public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters,Object> extraParameters) { + public void setExtraParameters(java.util.Map<org.apache.camel.component.fhir.api.ExtraParameters, Object> extraParameters) { this.extraParameters = extraParameters; } diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java index 48a8f0b..5a2509c 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirCapabilitiesApiMethod.java @@ -21,7 +21,7 @@ import static org.apache.camel.support.component.ApiMethodArg.arg; public enum FhirCapabilitiesApiMethod implements ApiMethod { OF_TYPE( - org.hl7.fhir.instance.model.api.IBaseConformance.class, + Object.class, "ofType", arg("type", Class.class), arg("extraParameters", java.util.Map.class)); diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java index cd8f1df..24d7f99 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirHistoryApiMethod.java @@ -21,7 +21,7 @@ import static org.apache.camel.support.component.ApiMethodArg.arg; public enum FhirHistoryApiMethod implements ApiMethod { ON_INSTANCE( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "onInstance", arg("id", org.hl7.fhir.instance.model.api.IIdType.class), arg("returnType", Class.class), @@ -31,7 +31,7 @@ public enum FhirHistoryApiMethod implements ApiMethod { arg("extraParameters", java.util.Map.class)), ON_SERVER( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "onServer", arg("returnType", Class.class), arg("count", Integer.class), @@ -40,7 +40,7 @@ public enum FhirHistoryApiMethod implements ApiMethod { arg("extraParameters", java.util.Map.class)), ON_TYPE( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "onType", arg("resourceType", Class.class), arg("returnType", Class.class), diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java index 3999793..f98f8d4 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirLoadPageApiMethod.java @@ -21,20 +21,20 @@ import static org.apache.camel.support.component.ApiMethodArg.arg; public enum FhirLoadPageApiMethod implements ApiMethod { BY_URL( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "byUrl", arg("url", String.class), arg("returnType", Class.class), arg("extraParameters", java.util.Map.class)), NEXT( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "next", arg("bundle", org.hl7.fhir.instance.model.api.IBaseBundle.class), arg("extraParameters", java.util.Map.class)), PREVIOUS( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "previous", arg("bundle", org.hl7.fhir.instance.model.api.IBaseBundle.class), arg("extraParameters", java.util.Map.class)); diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java index f1114d6..c6c5e27 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirMetaApiMethod.java @@ -21,37 +21,37 @@ import static org.apache.camel.support.component.ApiMethodArg.arg; public enum FhirMetaApiMethod implements ApiMethod { ADD( - org.hl7.fhir.instance.model.api.IBaseMetaType.class, + Object.class, "add", arg("meta", org.hl7.fhir.instance.model.api.IBaseMetaType.class), arg("id", org.hl7.fhir.instance.model.api.IIdType.class), arg("extraParameters", java.util.Map.class)), DELETE( - org.hl7.fhir.instance.model.api.IBaseMetaType.class, + Object.class, "delete", arg("meta", org.hl7.fhir.instance.model.api.IBaseMetaType.class), arg("id", org.hl7.fhir.instance.model.api.IIdType.class), arg("extraParameters", java.util.Map.class)), GET_FROM_RESOURCE( - org.hl7.fhir.instance.model.api.IBaseMetaType.class, + Object.class, "getFromResource", arg("metaType", Class.class), arg("id", org.hl7.fhir.instance.model.api.IIdType.class), arg("extraParameters", java.util.Map.class)), GET_FROM_SERVER( - org.hl7.fhir.instance.model.api.IBaseMetaType.class, + Object.class, "getFromServer", arg("metaType", Class.class), arg("extraParameters", java.util.Map.class)), GET_FROM_TYPE( - org.hl7.fhir.instance.model.api.IBaseMetaType.class, + Object.class, "getFromType", arg("metaType", Class.class), - arg("theResourceName", String.class), + arg("resourceType", String.class), arg("extraParameters", java.util.Map.class)); private final ApiMethod apiMethod; diff --git a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java index 10800f2..2a5ade0 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java +++ b/components/camel-fhir/camel-fhir-component/src/generated/java/org/apache/camel/component/fhir/internal/FhirOperationApiMethod.java @@ -64,7 +64,7 @@ public enum FhirOperationApiMethod implements ApiMethod { arg("extraParameters", java.util.Map.class)), PROCESS_MESSAGE( - org.hl7.fhir.instance.model.api.IBaseBundle.class, + Object.class, "processMessage", arg("respondToUri", String.class), arg("msgBundle", org.hl7.fhir.instance.model.api.IBaseBundle.class), diff --git a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json index 8eb6897..fea54bc 100644 --- a/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json +++ b/components/camel-fhir/camel-fhir-component/src/generated/resources/org/apache/camel/component/fhir/fhir.json @@ -105,13 +105,13 @@ "update": { "apiName": "update", "methods": { "resourceBySearchUrl": { "apiMethodName": "resourceBySearchUrl", "description": "", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "create": { "apiName": "create", "methods": { "resource": { "apiMethodName": "resource", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366, may be null", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "d [...] "validate": { "apiName": "validate", "methods": { "resource": { "apiMethodName": "resource", "description": "", "properties": { "resourceAsString": { "kind": "parameter", "displayName": "Resource As String", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, - "operation": { "apiName": "operation", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "", "properties": { "useHttpGet": { "kind": "parameter", "displayName": "Use Http Get", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "description": "" } } }, "onInstanceVersion": { "apiMethodName": "onInstanceVersion", "description": "", "properties": { "useHttpGet": { "kind": [...] + "operation": { "apiName": "operation", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "Use HTTP GET verb", "properties": { "useHttpGet": { "kind": "parameter", "displayName": "Use Http Get", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "secret": false, "description": "" } } }, "onInstanceVersion": { "apiMethodName": "onInstanceVersion", "description": "Use HTTP GET verb", "prope [...] "search": { "apiName": "search", "methods": { "searchByUrl": { "apiMethodName": "searchByUrl", "description": "The URL to search for. Note that this URL may be complete (e.g. http:\/\/example.com\/base\/Patientname=foo) in which case the client's base URL will be ignored. Or it can be relative (e.g. Patientname=foo) in which case the client's base URL will be used.", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, [...] - "capabilities": { "apiName": "capabilities", "methods": { "ofType": { "apiMethodName": "ofType", "description": "", "properties": { "type": { "kind": "parameter", "displayName": "Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseConformance>", "deprecated": false, "secret": false, "description": "" } } } } }, + "capabilities": { "apiName": "capabilities", "methods": { "ofType": { "apiMethodName": "ofType", "description": "The model type", "properties": { "type": { "kind": "parameter", "displayName": "Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseConformance>", "deprecated": false, "secret": false, "description": "" } } } } }, "patch": { "apiName": "patch", "methods": { "patchByUrl": { "apiMethodName": "patchByUrl", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description" [...] - "meta": { "apiName": "meta", "methods": { "getFromType": { "apiMethodName": "getFromType", "description": "", "properties": { "theResourceName": { "kind": "parameter", "displayName": "The Resource Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, - "history": { "apiName": "history", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "", "properties": { "returnType": { "kind": "parameter", "displayName": "Return Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseBundle>", "deprecated": false, "secret": false, "description": "" } } }, "onServer": { "apiMethodName": "onServer", "description": "", "properties": { "retu [...] - "load-page": { "apiName": "load-page", "methods": { "byUrl": { "apiMethodName": "byUrl", "description": "", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, + "meta": { "apiName": "meta", "methods": { "getFromType": { "apiMethodName": "getFromType", "description": "The resource type e.g Patient", "properties": { "resourceType": { "kind": "parameter", "displayName": "Resource Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, + "history": { "apiName": "history", "methods": { "onInstance": { "apiMethodName": "onInstance", "description": "Request that the method return a Bundle resource (such as ca.uhn.fhir.model.dstu2.resource.Bundle). Use this method if you are accessing a DSTU2 server.", "properties": { "returnType": { "kind": "parameter", "displayName": "Return Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.Class<org.hl7.fhir.instance.model.api.IBaseBund [...] + "load-page": { "apiName": "load-page", "methods": { "byUrl": { "apiMethodName": "byUrl", "description": "The search url", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "transaction": { "apiName": "transaction", "methods": { "withBundle": { "apiMethodName": "withBundle", "description": "Bundle to use in the transaction", "properties": { "stringBundle": { "kind": "parameter", "displayName": "String Bundle", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "read": { "apiName": "read", "methods": { "resourceById": { "apiMethodName": "resourceById", "description": "", "properties": { "version": { "kind": "parameter", "displayName": "Version", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "description": "" } } } } }, "delete": { "apiName": "delete", "methods": { "resourceConditionalByUrl": { "apiMethodName": "resourceConditionalByUrl", "description": "The search URL to use. The format of this URL should be of the form ResourceTypeParameters, for example: Patientname=Smith&identifier=13.2.4.11.4%7C847366", "properties": { "url": { "kind": "parameter", "displayName": "Url", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, [...] diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfiguration.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfiguration.java index 1edb881..f3f6913 100644 --- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfiguration.java +++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfiguration.java @@ -27,7 +27,7 @@ public final class MessageEndpointConfiguration extends TwilioConfiguration { private com.twilio.type.PhoneNumber from; @UriParam @ApiParam(apiMethods = {@ApiMethod(methodName = "creator", description="The URL of the media to send with the message")}) - private java.util.List<java.net.URI> mediaUrl; + private java.util.List mediaUrl; @UriParam @ApiParam(apiMethods = {@ApiMethod(methodName = "creator", description="The SID of the Messaging Service you want to associate with the message")}) private String messagingServiceSid; @@ -57,11 +57,11 @@ public final class MessageEndpointConfiguration extends TwilioConfiguration { this.from = from; } - public java.util.List<java.net.URI> getMediaUrl() { + public java.util.List getMediaUrl() { return mediaUrl; } - public void setMediaUrl(java.util.List<java.net.URI> mediaUrl) { + public void setMediaUrl(java.util.List mediaUrl) { this.mediaUrl = mediaUrl; } diff --git a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfigurationConfigurer.java b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfigurationConfigurer.java index 583978a..4453075 100644 --- a/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfigurationConfigurer.java +++ b/components/camel-twilio/src/generated/java/org/apache/camel/component/twilio/MessageEndpointConfigurationConfigurer.java @@ -81,14 +81,5 @@ public class MessageEndpointConfigurationConfigurer extends org.apache.camel.sup default: return null; } } - - @Override - public Object getCollectionValueType(Object target, String name, boolean ignoreCase) { - switch (ignoreCase ? name.toLowerCase() : name) { - case "mediaurl": - case "MediaUrl": return java.net.URI.class; - default: return null; - } - } } diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java index 8cfdf47..e40ae52 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfiguration.java @@ -324,7 +324,7 @@ public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { private Long tweetId; @UriParam @ApiParam(apiMethods = {@ApiMethod(methodName = "getSearchResults")}) - private Class type; + private Class<org.zendesk.client.v2.model.SearchResultEntity> type; @UriParam @ApiParam(apiMethods = {@ApiMethod(methodName = "getIncrementalTicketsResult")}) private Long unixEpochTime; @@ -1173,11 +1173,11 @@ public final class ZendeskEndpointConfiguration extends ZendeskConfiguration { this.tweetId = tweetId; } - public Class getType() { + public Class<org.zendesk.client.v2.model.SearchResultEntity> getType() { return type; } - public void setType(Class type) { + public void setType(Class<org.zendesk.client.v2.model.SearchResultEntity> type) { this.type = type; } diff --git a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java index 71d0495..48943b5 100644 --- a/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java +++ b/components/camel-zendesk/src/generated/java/org/apache/camel/component/zendesk/ZendeskEndpointConfigurationConfigurer.java @@ -649,6 +649,8 @@ public class ZendeskEndpointConfigurationConfigurer extends org.apache.camel.sup case "Statuses": return org.zendesk.client.v2.model.JobStatus.class; case "ticketlist": case "TicketList": return org.zendesk.client.v2.model.Ticket.class; + case "type": + case "Type": return org.zendesk.client.v2.model.SearchResultEntity.class; case "userlist": case "UserList": return org.zendesk.client.v2.model.User.class; case "userslist":