This is an automated email from the ASF dual-hosted git repository.
tsato pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from 43fe17e7173 CAMEL-21332: camel-smpp - Make test more roboust
add 287627bb8e9 CAMEL-21018: camel-torchserve - Add ITs
No new revisions were added by this update.
Summary of changes:
components/camel-ai/camel-torchserve/pom.xml | 12 +-
.../torchserve/client/impl/DefaultManagement.java | 1 +
.../torchserve/client/model/RegisterOptions.java | 13 ++
.../src/main/resources/openapi/inference.json | 2 +-
.../src/main/resources/openapi/management.json | 20 +-
.../src/main/resources/openapi/metrics.json | 2 +-
.../camel/component/torchserve/it/InferenceIT.java | 129 +++++++++++
.../component/torchserve/it/ManagementIT.java | 250 +++++++++++++++++++++
.../camel/component/torchserve/it/MetricsIT.java | 52 +++++
.../torchserve/it/TorchServeITSupport.java | 41 ++++
test-infra/camel-test-infra-torchserve/pom.xml | 48 ++++
.../src/main/resources/META-INF/MANIFEST.MF | 0
.../torchserve/common/TorchServeProperties.java | 27 +++
.../services/TorchServeLocalContainerService.java | 105 +++++++++
.../services/TorchServeRemoteService.java | 55 +++++
.../torchserve/services/TorchServeService.java | 28 +++
.../services/TorchServeServiceFactory.java | 35 +++
.../src/test/resources}/config.properties | 0
.../src/test/resources/models/squeezenet1_1.mar | Bin
.../infra/torchserve/services/container.properties | 11 +-
test-infra/pom.xml | 1 +
21 files changed, 814 insertions(+), 18 deletions(-)
create mode 100644
components/camel-ai/camel-torchserve/src/test/java/org/apache/camel/component/torchserve/it/InferenceIT.java
create mode 100644
components/camel-ai/camel-torchserve/src/test/java/org/apache/camel/component/torchserve/it/ManagementIT.java
create mode 100644
components/camel-ai/camel-torchserve/src/test/java/org/apache/camel/component/torchserve/it/MetricsIT.java
create mode 100644
components/camel-ai/camel-torchserve/src/test/java/org/apache/camel/component/torchserve/it/TorchServeITSupport.java
create mode 100644 test-infra/camel-test-infra-torchserve/pom.xml
copy test-infra/{camel-test-infra-arangodb =>
camel-test-infra-torchserve}/src/main/resources/META-INF/MANIFEST.MF (100%)
create mode 100644
test-infra/camel-test-infra-torchserve/src/test/java/org/apache/camel/test/infra/torchserve/common/TorchServeProperties.java
create mode 100644
test-infra/camel-test-infra-torchserve/src/test/java/org/apache/camel/test/infra/torchserve/services/TorchServeLocalContainerService.java
create mode 100644
test-infra/camel-test-infra-torchserve/src/test/java/org/apache/camel/test/infra/torchserve/services/TorchServeRemoteService.java
create mode 100644
test-infra/camel-test-infra-torchserve/src/test/java/org/apache/camel/test/infra/torchserve/services/TorchServeService.java
create mode 100644
test-infra/camel-test-infra-torchserve/src/test/java/org/apache/camel/test/infra/torchserve/services/TorchServeServiceFactory.java
copy {components/camel-ai/camel-torchserve/src/test/resources/torchserve =>
test-infra/camel-test-infra-torchserve/src/test/resources}/config.properties
(100%)
rename {components/camel-ai/camel-torchserve =>
test-infra/camel-test-infra-torchserve}/src/test/resources/models/squeezenet1_1.mar
(100%)
rename
components/camel-ai/camel-torchserve/src/test/resources/torchserve/config.properties
=>
test-infra/camel-test-infra-torchserve/src/test/resources/org/apache/camel/test/infra/torchserve/services/container.properties
(74%)