This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch fix/CAMEL-24748-jt400-syntax
in repository https://gitbox.apache.org/repos/asf/camel.git
discard 6dabdee386c0 CAMEL-24748: the rest of the metadata mismatches - xmpp
port is optional (and the component no longer hands -1 to Smack), huggingface
has a CUSTOM task, salesforce approval is an option and the catalog accepts
nested properties of bean options, netty and netty-http declare
bootstrapConfiguration (the generator keeps a @UriParam with an explicit
javaType as one option); only olingo2/olingo4 stay skipped in
CatalogDocExamplesTest
discard 82bbe4c714d9 CAMEL-24748: camel-jt400 - the endpoint syntax is
userID:password@systemName/objectPath as the component parses it; type is
derived from the object suffix, not a path option of its own; the catalog
parses the documented URIs without a special case
omit 1c975fdcba94 CAMEL-24710: docs - the YAML examples of the five
component pages fixed by CAMEL-24748 pass the catalog checks, dropped from the
skip list of CatalogDocExamplesTest
add e373fa6c035d CAMEL-24741: camel-opa - add an in-process WASM
evaluation mode alongside the REST client (#26445)
add b078bbeaf9a0 CAMEL-24715: camel-yaml-dsl-validator - table-driven
hints; the camel-jbang checks require a catalog
add 15c72e485caa docs: mention platform-http in the rest component example
list (#26498)
add c68dafe075e3 CAMEL-24768: camel-huaweicloud-dms/-iam - fix ineffective
int-option guards and a fragile property cast (#26503)
add 6bbb89d51f60 CAMEL-24769: Remove leftover hazelcast-atomicvalue
service files
add e41d0d8c01db CAMEL-24710: docs - five component pages pass the catalog
checks after CAMEL-24748, dropped from the CatalogDocExamplesTest skip list
add 4e1a90eedaf0 CAMEL-24748: camel-jt400 - the endpoint syntax is
userID:password@systemName/objectPath as the component parses it; type is
derived from the object suffix, not a path option of its own; the catalog
parses the documented URIs without a special case
add faa420ae240b CAMEL-24748: the rest of the metadata mismatches - xmpp
port is optional (and the component no longer hands -1 to Smack), huggingface
has a CUSTOM task, salesforce approval is an option and the catalog accepts
nested properties of bean options, netty and netty-http declare
bootstrapConfiguration (the generator keeps a @UriParam with an explicit
javaType as one option); only olingo2/olingo4 stay skipped in
CatalogDocExamplesTest
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (6dabdee386c0)
\
N -- N -- N refs/heads/fix/CAMEL-24748-jt400-syntax
(faa420ae240b)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../org/apache/camel/catalog/components/opa.json | 48 ++-
.../apache/camel/catalog/docs/opa-component.adoc | 76 ++++
.../camel/catalog/models/restConfiguration.json | 2 +-
.../apache/camel/catalog/schemas/camel-spring.xsd | 3 +-
.../apache/camel/catalog/schemas/camel-xml-io.xsd | 3 +-
.../camel/catalog/schemas/camelYamlDsl-model.json | 2 +-
.../configurer/hazelcast-atomicvalue-component | 2 -
.../configurer/hazelcast-atomicvalue-endpoint | 2 -
.../urifactory/hazelcast-atomicvalue-endpoint | 2 -
.../component/huaweicloud/dms/DMSEndpoint.java | 2 +-
.../component/huaweicloud/dms/DMSProducer.java | 8 +-
... => CreateInstanceMissingStorageSpaceTest.java} | 46 +--
.../component/huaweicloud/iam/IAMEndpoint.java | 2 +-
components/camel-opa/pom.xml | 10 +
.../component/opa/OpaComponentConfigurer.java | 27 ++
.../camel/component/opa/OpaEndpointConfigurer.java | 27 ++
.../camel/component/opa/OpaEndpointUriFactory.java | 7 +-
.../org/apache/camel/component/opa/opa.json | 48 ++-
.../camel-opa/src/main/docs/opa-component.adoc | 76 ++++
.../camel/component/opa/OpaConfiguration.java | 82 ++++
.../apache/camel/component/opa/OpaEndpoint.java | 54 ++-
.../camel/component/opa/OpaPolicyEvaluator.java | 50 ++-
.../camel/component/opa/OpaRestEvaluator.java | 56 +++
.../camel/component/opa/OpaWasmEvaluator.java | 178 +++++++++
.../camel/component/opa/OpaWasmPolicyPool.java | 158 ++++++++
.../component/opa/security/OpaSecurityPolicy.java | 5 +-
.../java/org/apache/camel/component/opa/OpaIT.java | 10 +
.../camel/component/opa/OpaWasmEvaluatorTest.java | 205 ++++++++++
.../camel/component/opa/OpaWasmPolicyPoolTest.java | 183 +++++++++
.../src/test/resources/README-wasm-fixtures.md | 28 ++
.../src/test/resources/authz-bundle.tar.gz | Bin 0 -> 57234 bytes
components/camel-opa/src/test/resources/authz.rego | 7 +
components/camel-opa/src/test/resources/authz.wasm | Bin 0 -> 140391 bytes
.../src/test/resources/roles-bundle.tar.gz | Bin 0 -> 56415 bytes
.../src/test/resources/wasm-data/data.json | 3 +
.../src/test/resources/wasm-data/roles.rego} | 23 +-
.../org/apache/camel/spi/RestConfiguration.java | 3 +-
.../apache/camel/model/rest/restConfiguration.json | 2 +-
.../model/rest/RestConfigurationDefinition.java | 2 +-
.../camel/main/RestConfigurationProperties.java | 8 +-
.../component/dsl/OpaComponentBuilderFactory.java | 109 ++++++
.../endpoint/dsl/OpaEndpointBuilderFactory.java | 134 +++++++
.../dsl/jbang/core/commands/ai/BeanRefChecks.java | 43 +--
.../dsl/jbang/core/commands/ai/CatalogSamples.java | 2 +-
.../dsl/jbang/core/commands/ai/HeaderChecks.java | 2 +-
.../jbang/core/commands/ai/PropertiesChecks.java | 58 ++-
.../jbang/core/commands/ai/SourceValidator.java | 50 ++-
.../core/commands/ai/ChecksCatalogDriftTest.java | 109 ++++++
.../commands/ai/SourceValidatorBeanRefsTest.java | 69 ++--
.../commands/ai/SourceValidatorJavaXsltTest.java | 3 +-
.../commands/ai/SourceValidatorVersionTest.java | 4 +-
.../jbang/core/commands/tui/SourceEditAssist.java | 39 +-
.../commands/validate/YamlValidateCommand.java | 2 +-
.../dsl/yaml/deserializers/ModelDeserializers.java | 2 +-
.../camel/dsl/yaml/validator/SchemaHints.java | 412 ++++++++++++++++++++
.../camel/dsl/yaml/validator/YamlValidator.java | 425 +--------------------
.../camel/dsl/yaml/validator/SchemaHintsTest.java | 127 ++++++
.../resources/schema/camelYamlDsl-canonical.json | 2 +-
.../resources/schema/camelYamlDsl-model.json | 2 +-
.../generated/resources/schema/camelYamlDsl.json | 2 +-
parent/pom.xml | 1 +
61 files changed, 2387 insertions(+), 660 deletions(-)
delete mode 100644
components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/configurer/hazelcast-atomicvalue-component
delete mode 100644
components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/configurer/hazelcast-atomicvalue-endpoint
delete mode 100644
components/camel-hazelcast/src/generated/resources/META-INF/services/org/apache/camel/urifactory/hazelcast-atomicvalue-endpoint
copy
components/camel-huawei/camel-huaweicloud-dms/src/test/java/org/apache/camel/component/huaweicloud/dms/{CreateInstanceRmq1Test.java
=> CreateInstanceMissingStorageSpaceTest.java} (72%)
create mode 100644
components/camel-opa/src/main/java/org/apache/camel/component/opa/OpaRestEvaluator.java
create mode 100644
components/camel-opa/src/main/java/org/apache/camel/component/opa/OpaWasmEvaluator.java
create mode 100644
components/camel-opa/src/main/java/org/apache/camel/component/opa/OpaWasmPolicyPool.java
create mode 100644
components/camel-opa/src/test/java/org/apache/camel/component/opa/OpaWasmEvaluatorTest.java
create mode 100644
components/camel-opa/src/test/java/org/apache/camel/component/opa/OpaWasmPolicyPoolTest.java
create mode 100644
components/camel-opa/src/test/resources/README-wasm-fixtures.md
create mode 100644 components/camel-opa/src/test/resources/authz-bundle.tar.gz
create mode 100644 components/camel-opa/src/test/resources/authz.wasm
create mode 100644 components/camel-opa/src/test/resources/roles-bundle.tar.gz
create mode 100644 components/camel-opa/src/test/resources/wasm-data/data.json
copy components/{camel-oauth/helm/scripts/functions.sh =>
camel-opa/src/test/resources/wasm-data/roles.rego} (59%)
create mode 100644
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/ChecksCatalogDriftTest.java
create mode 100644
dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/main/java/org/apache/camel/dsl/yaml/validator/SchemaHints.java
create mode 100644
dsl/camel-yaml-dsl/camel-yaml-dsl-validator/src/test/java/org/apache/camel/dsl/yaml/validator/SchemaHintsTest.java