This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock in repository https://gitbox.apache.org/repos/asf/camel.git
commit d9564926c1f0ac2f29d69eb9639f93e77127d551 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Feb 27 10:52:10 2024 +0100 CAMEL-20463 - Camel AWS bedrock component Signed-off-by: Andrea Cosentino <[email protected]> --- bom/camel-bom/pom.xml | 5 +++++ docs/components/modules/ROOT/nav.adoc | 1 + .../components/modules/ROOT/pages/aws-bedrock-component.adoc | 1 + etc/scripts/regen.sh | 12 ++++++++++-- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml index b51168e0471..ab916fe20fc 100644 --- a/bom/camel-bom/pom.xml +++ b/bom/camel-bom/pom.xml @@ -151,6 +151,11 @@ <artifactId>camel-aws2-athena</artifactId> <version>${project.version}</version> </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-aws2-bedrock</artifactId> + <version>${project.version}</version> + </dependency> <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-aws2-cw</artifactId> diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index 475c770f93e..ce3e7124bf9 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -12,6 +12,7 @@ ** xref:avro-component.adoc[Avro RPC] ** xref:aws-summary.adoc[AWS] *** xref:aws2-athena-component.adoc[AWS Athena] +*** xref:aws-bedrock-component.adoc[AWS Bedrock] *** xref:aws-cloudtrail-component.adoc[AWS Cloudtrail] *** xref:aws2-cw-component.adoc[AWS CloudWatch] *** xref:aws-config-component.adoc[AWS Config Service] diff --git a/docs/components/modules/ROOT/pages/aws-bedrock-component.adoc b/docs/components/modules/ROOT/pages/aws-bedrock-component.adoc new file mode 120000 index 00000000000..fcf6e3c5749 --- /dev/null +++ b/docs/components/modules/ROOT/pages/aws-bedrock-component.adoc @@ -0,0 +1 @@ +../../../../../components/camel-aws/camel-aws-bedrock/src/main/docs/aws-bedrock-component.adoc \ No newline at end of file diff --git a/etc/scripts/regen.sh b/etc/scripts/regen.sh index 9f86ed255fe..31da1e11452 100755 --- a/etc/scripts/regen.sh +++ b/etc/scripts/regen.sh @@ -39,7 +39,11 @@ rm -Rf **/src/generated/ find docs/components/modules/ROOT/examples/json -type l -delete for json_file in components/**/src/generated/resources/META-INF/**/*.json ; do # Get relative path of json file - rel_path=$(realpath --relative-to=docs/components/modules/ROOT/examples/json $json_file) + if [[ "$OSTYPE" == "linux-gnu"* ]]; then + rel_path=$(realpath --relative-to=docs/components/modules/ROOT/examples/json $json_file) + else + rel_path=$(grealpath --relative-to=docs/components/modules/ROOT/examples/json $json_file) + fi # Create symbolic link in dir-b ln -sf $rel_path docs/components/modules/ROOT/examples/json/$(basename $json_file) done @@ -47,7 +51,11 @@ done find core/camel-core-engine/src/main/docs/modules/eips/examples/json -type l -delete for json_file in core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/*.json ; do # Get relative path of json file - rel_path=$(realpath --relative-to=core/camel-core-engine/src/main/docs/modules/eips/examples/json $json_file) + if [[ "$OSTYPE" == "linux-gnu"* ]]; then + rel_path=$(realpath --relative-to=core/camel-core-engine/src/main/docs/modules/eips/examples/json $json_file) + else + rel_path=$(grealpath --relative-to=core/camel-core-engine/src/main/docs/modules/eips/examples/json $json_file) + fi # Create symbolic link in dir-b ln -sf $rel_path core/camel-core-engine/src/main/docs/modules/eips/examples/json/$(basename $json_file) done
