This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 5f3bd28 Regen 5f3bd28 is described below commit 5f3bd287af6c0b829eb617b94ed913a51540e49a Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jul 31 19:08:05 2020 +0200 Regen --- .../camel/catalog/docs/aws2-iam-component.adoc | 45 +++++++++++++++++++++- .../camel/catalog/docs/dynamicRouter-eip.adoc | 4 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 4 ++ .../modules/dataformats/pages/asn1-dataformat.adoc | 4 +- 4 files changed, 52 insertions(+), 5 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc index e48161c..67f266e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-iam-component.adoc @@ -165,10 +165,53 @@ Camel-AWS2 IAM component provides the following operation on the producer side: [source,java] -------------------------------------------------------------------------------- from("direct:createUser") - .setHeader(IAMConstants.GROUP_NAME, constant("camel")) + .setHeader(IAMConstants.USERNAME, constant("camel")) .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=createUser") -------------------------------------------------------------------------------- +- deleteUser: this operation will delete a user in IAM + +[source,java] +-------------------------------------------------------------------------------- +from("direct:deleteUser") + .setHeader(IAMConstants.USERNAME, constant("camel")) + .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=deleteUser") +-------------------------------------------------------------------------------- + +- listUsers: this operation will list the users in IAM + +[source,java] +-------------------------------------------------------------------------------- +from("direct:listUsers") + .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=listUsers") +-------------------------------------------------------------------------------- + +- createGroup: this operation will add a group in IAM + +[source,java] +-------------------------------------------------------------------------------- +from("direct:deleteUser") + .setHeader(IAMConstants.GROUP_NAME, constant("camel")) + .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=createGroup") +-------------------------------------------------------------------------------- + +- deleteGroup: this operation will delete a group in IAM + +[source,java] +-------------------------------------------------------------------------------- +from("direct:deleteUser") + .setHeader(IAMConstants.GROUP_NAME, constant("camel")) + .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=deleteGroup") +-------------------------------------------------------------------------------- + +- listGroups: this operation will list the groups in IAM + +[source,java] +-------------------------------------------------------------------------------- +from("direct:listUsers") + .to("aws2-iam://test?iamClient=#amazonIAMClient&operation=listGroups") +-------------------------------------------------------------------------------- + == Automatic detection of IamClient client in registry The component is capable of detecting the presence of an IamClient bean into the registry. diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/dynamicRouter-eip.adoc b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/dynamicRouter-eip.adoc index c404f5f..e5bc5ce 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/dynamicRouter-eip.adoc +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/dynamicRouter-eip.adoc @@ -43,8 +43,8 @@ The Dynamic Router EIP supports 3 options which are listed below: |=== | Name | Description | Default | Type | *uriDelimiter* | Sets the uri delimiter to use | , | String -| *ignoreInvalidEndpoints* | Ignore the invalidate endpoint exception when try to create a producer with that endpoint | false | Boolean -| *cacheSize* | Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this routing slip, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped and [...] +| *ignoreInvalidEndpoints* | Ignore the invalidate endpoint exception when try to create a producer with that endpoint | | String +| *cacheSize* | Sets the maximum size used by the org.apache.camel.spi.ProducerCache which is used to cache and reuse producers when using this dynamic router, when uris are reused. Beware that when using dynamic endpoints then it affects how well the cache can be utilized. If each dynamic endpoint is unique then its best to turn of caching by setting this to -1, which allows Camel to not cache both the producers and endpoints; they are regarded as prototype scoped and will be stopped an [...] |=== // eip options: END 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 060445b..902cce5 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 @@ -8006,6 +8006,10 @@ path to be maintained in the zip file. Default value: false </xs:complexContent> </xs:complexType> + <xs:complexType name="modelLifecycleStrategySupport"> + <xs:sequence/> + </xs:complexType> + <xs:complexType name="multicastDefinition"> <xs:complexContent> <xs:extension base="tns:output"> diff --git a/docs/components/modules/dataformats/pages/asn1-dataformat.adoc b/docs/components/modules/dataformats/pages/asn1-dataformat.adoc index d794393..8dec893 100644 --- a/docs/components/modules/dataformats/pages/asn1-dataformat.adoc +++ b/docs/components/modules/dataformats/pages/asn1-dataformat.adoc @@ -10,7 +10,7 @@ *Since Camel {since}* -The ASN.1 Data Format (https://www.itu.int/en/ITU-T/asn1/Pages/introduction.aspx[Intoduction to ASN.1]) is a Camel Frameworks's data format implementation based on Bouncy Castle's bcprov-jdk15on library and jASN.1's java compiler for the formal notation used for describing data transmitted by telecommunications protocols, regardless of language implementation and physical representation of these data, whatever the application, whether complex or very simple. Messages can be unmarshalled [...] +The ASN.1 Data Format Data Format [Intoduction to ASN.1](https://www.itu.int/en/ITU-T/asn1/Pages/introduction.aspx) is a Camel Frameworks's data format implementation based on Bouncy Castle's bcprov-jdk15on library and jASN.1's java compiler for the formal notation used for describing data transmitted by telecommunications protocols, regardless of language implementation and physical representation of these data, whatever the application, whether complex or very simple. Messages can be u [...] == ASN.1 Data Format Options @@ -50,7 +50,7 @@ from("direct:unmarshal").unmarshal(asn1).split(body(Iterator.class)).streaming() ----------------------------------------------------------------------- In the last example we unmarshal BER file payload to plain old Java Objects using Split EIP. The reason for applying Split EIP is already mentioned in the previous example. Please note and keep in mind that reason. In such example we also need to set the fully qualified name of the class or <YourObject>.class reference through data format. -The important thing to note here is that your object should have been generated by jasn1 compiler which is a nice tool to generate java object representations of your ASN.1 structure. For the reference usage of jasn1 compiler see https://www.beanit.com/asn1/[JASN.1 Project Page] and please also see how the compiler is invoked with the help of maven's exec plugin. +The important thing to note here is that your object should have been generated by jasn1 compiler which is a nice tool to generate java object representations of your ASN.1 structure. For the reference usage of jasn1 compiler see [JASN.1 Project Page](https://www.beanit.com/asn1/) and please also see how the compiler is invoked with the help of maven's exec plugin. For example, in this data format's unit tests an example ASN.1 structure(TestSMSBerCdr.asn1) is added in `src/test/resources/asn1_structure`. jasn1 compiler is invoked and java object's representations are generated in `$\{basedir\}/target/generated/src/test/java` The nice thing about this example, you will get POJO instance at the mock endpoint or at whatever your endpoint is.