diff --git a/core/pom.xml b/core/pom.xml
index d6eefb3b..841ffe8e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -180,14 +180,6 @@
-
-
Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a + * batch job, for example to pre-process or train your models, or perform batch inference. Serve + * inference requests of trained models. Deploy а trained machine learning model as a web service to + * serve inference requests with high performance. Register your own Docker registry, synchronize + * your AI content from your own git repository, and register your own object store for training + * data and trained models. */ public class ApplicationApi extends AbstractOpenApiService { - /** - * Instantiates this API class to invoke operations on the AI Core. - * - * @param httpDestination The destination that API should be used with - */ - public ApplicationApi( @Nonnull final Destination httpDestination ) - { - super(httpDestination); - } - - /** - * Instantiates this API class to invoke operations on the AI Core based on a given {@link ApiClient}. - * - * @param apiClient - * ApiClient to invoke the API on - */ - @Beta - public ApplicationApi( @Nonnull final ApiClient apiClient ) - { - super(apiClient); - } - - - /** - *
Create an application
- *Create an ArgoCD application to synchronise a repository.
- *200 - The ArgoCD application has been created and will be eventually synchronised with the repository. - *
400 - The request was malformed and could thus not be processed. - *
0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param kubesubmitV4ApplicationsCreateRequest (required)
- The value for the parameter kubesubmitV4ApplicationsCreateRequest
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationCreationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = kubesubmitV4ApplicationsCreateRequest;
-
- // verify the required parameter 'kubesubmitV4ApplicationsCreateRequest' is set
- if (kubesubmitV4ApplicationsCreateRequest == null) {
- throw new OpenApiRequestException("Missing the required parameter 'kubesubmitV4ApplicationsCreateRequest' when calling kubesubmitV4ApplicationsCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
-
- final MultiValueMap Create an application Create an ArgoCD application to synchronise a repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param kubesubmitV4ApplicationsCreateRequest
- * The value for the parameter kubesubmitV4ApplicationsCreateRequest
- * @return BckndArgoCDApplicationCreationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
+ /**
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
+ public ApplicationApi(@Nonnull final Destination httpDestination) {
+ super(httpDestination);
+ }
+
+ /**
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link
+ * ApiClient}.
+ *
+ * @param apiClient ApiClient to invoke the API on
+ */
+ @Beta
+ public ApplicationApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * Create an application
+ *
+ * Create an ArgoCD application to synchronise a repository.
+ *
+ * 200 - The ArgoCD application has been created and will be eventually synchronised
+ * with the repository.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param kubesubmitV4ApplicationsCreateRequest (required) The value for the parameter
+ * kubesubmitV4ApplicationsCreateRequest
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate(
+ @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest,
+ @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = kubesubmitV4ApplicationsCreateRequest;
+
+ // verify the required parameter 'kubesubmitV4ApplicationsCreateRequest' is set
+ if (kubesubmitV4ApplicationsCreateRequest == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'kubesubmitV4ApplicationsCreateRequest' when calling kubesubmitV4ApplicationsCreate");
}
- /**
- * Delete application Delete an ArgoCD application 200 - The argoCD application has been deleted successfully.
- * 404 - The specified resource was not found
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationDeletionResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'applicationName' is set
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsDelete");
- }
-
- // create path and map variables
- final Map Create an ArgoCD application to synchronise a repository.
+ *
+ * 200 - The ArgoCD application has been created and will be eventually synchronised
+ * with the repository.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param kubesubmitV4ApplicationsCreateRequest The value for the parameter
+ * kubesubmitV4ApplicationsCreateRequest
+ * @return BckndArgoCDApplicationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate(
+ @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest)
+ throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
+ }
+
+ /**
+ * Delete application
+ *
+ * Delete an ArgoCD application
+ *
+ * 200 - The argoCD application has been deleted successfully.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete(
+ @Nonnull final String applicationName, @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'applicationName' is set
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsDelete");
}
- /**
- * Delete application Delete an ArgoCD application 200 - The argoCD application has been deleted successfully.
- * 404 - The specified resource was not found
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName
- * Name of the ArgoCD application
- * @return BckndArgoCDApplicationDeletionResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsDelete(applicationName, null);
+ // create path and map variables
+ final Map Delete an ArgoCD application
+ *
+ * 200 - The argoCD application has been deleted successfully.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName Name of the ArgoCD application
+ * @return BckndArgoCDApplicationDeletionResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsDelete(applicationName, null);
+ }
+
+ /**
+ * Get ArgoCD application
+ *
+ * Retrieve the ArgoCD application details.
+ *
+ * 200 - The application has been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet(
+ @Nonnull final String applicationName, @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'applicationName' is set
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGet");
}
- /**
- * Get ArgoCD application Retrieve the ArgoCD application details. 200 - The application has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'applicationName' is set
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGet");
- }
-
- // create path and map variables
- final Map Retrieve the ArgoCD application details.
+ *
+ * 200 - The application has been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName Name of the ArgoCD application
+ * @return BckndArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGet(applicationName, null);
+ }
+
+ /**
+ * Return all applications
+ *
+ * Return all Argo CD application data objects.
+ *
+ * 200 - All applications have been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @param $top (optional) Number of results to display
+ * @param $skip (optional) Number of results to be skipped from the ordered list of results
+ * @param $count (optional) When the $count field is set to false, the response contains a count
+ * of the items present in the response. When the $count field is set to true, the response
+ * contains a count of all the items present on the server, and not just the ones in the
+ * response. When the $count field is not passed, it is false by default.
+ * @return BckndAllArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll(
+ @Nullable final String authorization,
+ @Nullable final Integer $top,
+ @Nullable final Integer $skip,
+ @Nullable final Boolean $count)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ final String localVarPath =
+ UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
+
+ final MultiValueMap Return all Argo CD application data objects.
+ *
+ * 200 - All applications have been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @return BckndAllArgoCDApplicationData
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll()
+ throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGetAll(null, null, null, null);
+ }
+
+ /**
+ * Returns the ArgoCD application status
+ *
+ * Returns the ArgoCD application health and sync status.
+ *
+ * 200 - The application status has been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus(
+ @Nonnull final String applicationName, @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'applicationName' is set
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGetStatus");
}
- /**
- * Get ArgoCD application Retrieve the ArgoCD application details. 200 - The application has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName
- * Name of the ArgoCD application
- * @return BckndArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsGet(applicationName, null);
+ // create path and map variables
+ final Map Returns the ArgoCD application health and sync status.
+ *
+ * 200 - The application status has been found and returned.
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName Name of the ArgoCD application
+ * @return BckndArgoCDApplicationStatus
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsGetStatus(applicationName, null);
+ }
+
+ /**
+ * Makes ArgoDC refresh the specified application
+ *
+ * Schedules a refresh of the specified application that will be picked up by ArgoCD
+ * asynchronously
+ *
+ * 202 - A refresh of the application has been scheduled
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationRefreshResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh(
+ @Nonnull final String applicationName, @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'applicationName' is set
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsRefresh");
}
- /**
- * Return all applications Return all Argo CD application data objects. 200 - All applications have been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @param $top (optional)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $count (optional)
- When the $count field is set to false, the response contains a count of the items present in the response. When the $count field is set to true, the response contains a count of all the items present on the server, and not just the ones in the response. When the $count field is not passed, it is false by default.
- * @return BckndAllArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
-
- final MultiValueMap Schedules a refresh of the specified application that will be picked up by ArgoCD
+ * asynchronously
+ *
+ * 202 - A refresh of the application has been scheduled
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName Name of the ArgoCD application
+ * @return BckndArgoCDApplicationRefreshResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh(
+ @Nonnull final String applicationName) throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsRefresh(applicationName, null);
+ }
+
+ /**
+ * Update the ArgoCD application.
+ *
+ * Update the referenced ArgoCD application to synchronize the repository.
+ *
+ * 200 - The ArgoCD application has been created and will be eventually synchronised
+ * with the repository.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName (required) Name of the ArgoCD application
+ * @param bckndArgoCDApplicationBaseData (required) The value for the parameter
+ * bckndArgoCDApplicationBaseData
+ * @param authorization (optional) Authorization bearer token containing a JWT token.
+ * @return BckndArgoCDApplicationModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate(
+ @Nonnull final String applicationName,
+ @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData,
+ @Nullable final String authorization)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = bckndArgoCDApplicationBaseData;
+
+ // verify the required parameter 'applicationName' is set
+ if (applicationName == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsUpdate");
}
- /**
- * Return all applications Return all Argo CD application data objects. 200 - All applications have been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @return BckndAllArgoCDApplicationData
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll() throws OpenApiRequestException {
- return kubesubmitV4ApplicationsGetAll(null, null, null, null);
+ // verify the required parameter 'bckndArgoCDApplicationBaseData' is set
+ if (bckndArgoCDApplicationBaseData == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
}
- /**
- * Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationStatus
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'applicationName' is set
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGetStatus");
- }
-
- // create path and map variables
- final Map Returns the ArgoCD application status Returns the ArgoCD application health and sync status. 200 - The application status has been found and returned.
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName
- * Name of the ArgoCD application
- * @return BckndArgoCDApplicationStatus
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsGetStatus(applicationName, null);
- }
-
- /**
- * Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName (required)
- Name of the ArgoCD application
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationRefreshResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'applicationName' is set
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsRefresh");
- }
-
- // create path and map variables
- final Map Makes ArgoDC refresh the specified application Schedules a refresh of the specified application that will be picked up by ArgoCD asynchronously 202 - A refresh of the application has been scheduled
- * 400 - The request was malformed and could thus not be processed.
- * 404 - The specified resource was not found
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName
- * Name of the ArgoCD application
- * @return BckndArgoCDApplicationRefreshResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsRefresh(applicationName, null);
- }
-
- /**
- * Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
- * 404 - The specified resource was not found
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName (required)
- Name of the ArgoCD application
- * @param bckndArgoCDApplicationBaseData (required)
- The value for the parameter bckndArgoCDApplicationBaseData
- * @param authorization (optional)
- Authorization bearer token containing a JWT token.
- * @return BckndArgoCDApplicationModificationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData, @Nullable final String authorization) throws OpenApiRequestException {
- final Object localVarPostBody = bckndArgoCDApplicationBaseData;
-
- // verify the required parameter 'applicationName' is set
- if (applicationName == null) {
- throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsUpdate");
- }
-
- // verify the required parameter 'bckndArgoCDApplicationBaseData' is set
- if (bckndArgoCDApplicationBaseData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
- }
-
- // create path and map variables
- final Map Update the ArgoCD application. Update the referenced ArgoCD application to synchronize the repository. 200 - The ArgoCD application has been created and will be eventually synchronised with the repository.
- * 404 - The specified resource was not found
- * 400 - The request was malformed and could thus not be processed.
- * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
- * @param applicationName
- * Name of the ArgoCD application
- * @param bckndArgoCDApplicationBaseData
- * The value for the parameter bckndArgoCDApplicationBaseData
- * @return BckndArgoCDApplicationModificationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
- return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
- }
+ // create path and map variables
+ final Map Update the referenced ArgoCD application to synchronize the repository.
+ *
+ * 200 - The ArgoCD application has been created and will be eventually synchronised
+ * with the repository.
+ *
+ * 404 - The specified resource was not found
+ *
+ * 400 - The request was malformed and could thus not be processed.
+ *
+ * 0 - HTTP status codes 401, 403 or 500. Response body contains further details.
+ *
+ * @param applicationName Name of the ArgoCD application
+ * @param bckndArgoCDApplicationBaseData The value for the parameter
+ * bckndArgoCDApplicationBaseData
+ * @return BckndArgoCDApplicationModificationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate(
+ @Nonnull final String applicationName,
+ @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData)
+ throws OpenApiRequestException {
+ return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
+ }
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
index 6082bdc7..41c8f08f 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
@@ -1,355 +1,471 @@
-
-
package com.sap.ai.sdk.core.client;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiResponse;
-import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
-import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-
+import com.google.common.annotations.Beta;
import com.sap.ai.sdk.core.client.model.AiArtifact;
import com.sap.ai.sdk.core.client.model.AiArtifactCreationResponse;
import com.sap.ai.sdk.core.client.model.AiArtifactList;
import com.sap.ai.sdk.core.client.model.AiArtifactPostData;
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
-
+import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
+import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
+import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
-
-import org.springframework.util.LinkedMultiValueMap;
-import org.springframework.util.MultiValueMap;
-import org.springframework.web.util.UriComponentsBuilder;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.springframework.core.ParameterizedTypeReference;
-import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-import com.google.common.annotations.Beta;
-
-import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.util.UriComponentsBuilder;
/**
* AI Core in version 2.33.0.
*
- * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
+ * batch job, for example to pre-process or train your models, or perform batch inference. Serve
+ * inference requests of trained models. Deploy а trained machine learning model as a web service to
+ * serve inference requests with high performance. Register your own Docker registry, synchronize
+ * your AI content from your own git repository, and register your own object store for training
+ * data and trained models.
*/
public class ArtifactApi extends AbstractOpenApiService {
- /**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
- public ArtifactApi( @Nonnull final Destination httpDestination )
- {
- super(httpDestination);
+ /**
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
+ public ArtifactApi(@Nonnull final Destination httpDestination) {
+ super(httpDestination);
+ }
+
+ /**
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link
+ * ApiClient}.
+ *
+ * @param apiClient ApiClient to invoke the API on
+ */
+ @Beta
+ public ArtifactApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * Get number of artifacts
+ *
+ * Retrieve the number of available artifacts that match the specified filter criteria. Filter
+ * criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact
+ * labels. Search by substring of artifact name or description is also possible.
+ *
+ * 200 - Number of artifacts
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param executionId (optional) Execution identifier
+ * @param name (optional) Artifact name
+ * @param kind (optional) Kind of the artifact
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param artifactLabelSelector (optional Filter artifact by labels. Pass in expressions in the
+ * form of \"key=value\" or \"key!=value\" separated by commas
+ * and the result will be filtered to only those resources that have labels that match all
+ * provided expressions (i.e. logical AND). The maximum number of labels permitted for
+ * filtering is 10. Special handling is required when using comma in the value field. This is
+ * because commas are also used as a separator for multiple \"key=value\"
+ * entries. Therefore, if the value contains a comma, then replace this with the string
+ * \"{comma}\" in the value field.
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public Integer artifactCount(
+ @Nonnull final String aiResourceGroup,
+ @Nullable final String scenarioId,
+ @Nullable final String executionId,
+ @Nullable final String name,
+ @Nullable final String kind,
+ @Nullable final String $search,
+ @Nullable final Boolean searchCaseInsensitive,
+ @Nullable final List Retrieve the number of available artifacts that match the specified filter criteria. Filter
+ * criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact
+ * labels. Search by substring of artifact name or description is also possible.
+ *
+ * 200 - Number of artifacts
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public Integer artifactCount(@Nonnull final String aiResourceGroup)
+ throws OpenApiRequestException {
+ return artifactCount(aiResourceGroup, null, null, null, null, null, null, null);
+ }
+
+ /**
+ * Register artifact
+ *
+ * Register an artifact for use in a configuration, for example a model or a dataset.
+ *
+ * 201 - The artifact has been registered successfully
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @param aiArtifactPostData The value for the parameter aiArtifactPostData
+ * @return AiArtifactCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiArtifactCreationResponse artifactCreate(
+ @Nonnull final String aiResourceGroup, @Nonnull final AiArtifactPostData aiArtifactPostData)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = aiArtifactPostData;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling artifactCreate");
}
-
- /**
- * Get number of artifacts Retrieve the number of available artifacts that match the specified filter criteria. Filter criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact labels. Search by substring of artifact name or description is also possible. 200 - Number of artifacts
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param executionId (optional)
- Execution identifier
- * @param name (optional)
- Artifact name
- * @param kind (optional)
- Kind of the artifact
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param artifactLabelSelector (optional
- Filter artifact by labels. Pass in expressions in the form of \"key=value\" or \"key!=value\" separated by commas and the result will be filtered to only those resources that have labels that match all provided expressions (i.e. logical AND). The maximum number of labels permitted for filtering is 10. Special handling is required when using comma in the value field. This is because commas are also used as a separator for multiple \"key=value\" entries. Therefore, if the value contains a comma, then replace this with the string \"{comma}\" in the value field.
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public Integer artifactCount( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String executionId, @Nullable final String name, @Nullable final String kind, @Nullable final String $search, @Nullable final Boolean searchCaseInsensitive, @Nullable final List Get number of artifacts Retrieve the number of available artifacts that match the specified filter criteria. Filter criteria include a scenarioId, executionId, an artifact name, artifact kind, or artifact labels. Search by substring of artifact name or description is also possible. 200 - Number of artifacts
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup
- * Specify a resource group id
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public Integer artifactCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return artifactCount(aiResourceGroup, null, null, null, null, null, null, null);
- }
- /**
- * Register artifact Register an artifact for use in a configuration, for example a model or a dataset. 201 - The artifact has been registered successfully
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup
- * Specify a resource group id
- * @param aiArtifactPostData
- * The value for the parameter aiArtifactPostData
- * @return AiArtifactCreationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiArtifactCreationResponse artifactCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiArtifactPostData aiArtifactPostData) throws OpenApiRequestException {
- final Object localVarPostBody = aiArtifactPostData;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling artifactCreate");
- }
-
- // verify the required parameter 'aiArtifactPostData' is set
- if (aiArtifactPostData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiArtifactPostData' when calling artifactCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/artifacts").build().toUriString();
-
- final MultiValueMap Retrieve details for artifact with artifactId.
+ *
+ * 200 - An artifact
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * 404 - The specified resource was not found
+ *
+ * @param aiResourceGroup (required) Specify a resource group id
+ * @param artifactId (required) Artifact identifier
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiArtifact
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiArtifact artifactGet(
+ @Nonnull final String aiResourceGroup,
+ @Nonnull final String artifactId,
+ @Nullable final String $expand)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling artifactGet");
}
- /**
- * Get artifact by ID Retrieve details for artifact with artifactId. 200 - An artifact
- * 400 - The specification of the resource was incorrect
- * 404 - The specified resource was not found
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param artifactId (required)
- Artifact identifier
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiArtifact
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId, @Nullable final String $expand) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling artifactGet");
- }
-
- // verify the required parameter 'artifactId' is set
- if (artifactId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'artifactId' when calling artifactGet");
- }
-
- // create path and map variables
- final Map Get artifact by ID Retrieve details for artifact with artifactId. 200 - An artifact
- * 400 - The specification of the resource was incorrect
- * 404 - The specified resource was not found
- * @param aiResourceGroup
- * Specify a resource group id
- * @param artifactId
- * Artifact identifier
- * @return AiArtifact
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiArtifact artifactGet( @Nonnull final String aiResourceGroup, @Nonnull final String artifactId) throws OpenApiRequestException {
- return artifactGet(aiResourceGroup, artifactId, null);
+ // create path and map variables
+ final Map Retrieve details for artifact with artifactId.
+ *
+ * 200 - An artifact
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * 404 - The specified resource was not found
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @param artifactId Artifact identifier
+ * @return AiArtifact
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiArtifact artifactGet(
+ @Nonnull final String aiResourceGroup, @Nonnull final String artifactId)
+ throws OpenApiRequestException {
+ return artifactGet(aiResourceGroup, artifactId, null);
+ }
+
+ /**
+ * Get list of artifacts
+ *
+ * Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria
+ * include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use
+ * top/skip parameters to paginate the result list. Search by substring of artifact name or
+ * description, if required.
+ *
+ * 200 - A list of artifacts
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param executionId (optional) Execution identifier
+ * @param name (optional) Artifact name
+ * @param kind (optional) Kind of the artifact
+ * @param artifactLabelSelector (optional Filter artifact by labels. Pass in expressions in the
+ * form of \"key=value\" or \"key!=value\" separated by commas
+ * and the result will be filtered to only those resources that have labels that match all
+ * provided expressions (i.e. logical AND). The maximum number of labels permitted for
+ * filtering is 10. Special handling is required when using comma in the value field. This is
+ * because commas are also used as a separator for multiple \"key=value\"
+ * entries. Therefore, if the value contains a comma, then replace this with the string
+ * \"{comma}\" in the value field.
+ * @param $top (optional, default to 10000) Number of results to display
+ * @param $skip (optional) Number of results to be skipped from the ordered list of results
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiArtifactList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiArtifactList artifactQuery(
+ @Nonnull final String aiResourceGroup,
+ @Nullable final String scenarioId,
+ @Nullable final String executionId,
+ @Nullable final String name,
+ @Nullable final String kind,
+ @Nullable final List Get list of artifacts Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use top/skip parameters to paginate the result list. Search by substring of artifact name or description, if required. 200 - A list of artifacts
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param executionId (optional)
- Execution identifier
- * @param name (optional)
- Artifact name
- * @param kind (optional)
- Kind of the artifact
- * @param artifactLabelSelector (optional
- Filter artifact by labels. Pass in expressions in the form of \"key=value\" or \"key!=value\" separated by commas and the result will be filtered to only those resources that have labels that match all provided expressions (i.e. logical AND). The maximum number of labels permitted for filtering is 10. Special handling is required when using comma in the value field. This is because commas are also used as a separator for multiple \"key=value\" entries. Therefore, if the value contains a comma, then replace this with the string \"{comma}\" in the value field.
- * @param $top (optional, default to 10000)
- Number of results to display
- * @param $skip (optional)
- Number of results to be skipped from the ordered list of results
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiArtifactList
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String executionId, @Nullable final String name, @Nullable final String kind, @Nullable final List Get list of artifacts Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use top/skip parameters to paginate the result list. Search by substring of artifact name or description, if required. 200 - A list of artifacts
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup
- * Specify a resource group id
- * @return AiArtifactList
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiArtifactList artifactQuery( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return artifactQuery(aiResourceGroup, null, null, null, null, null, null, null, null, null, null);
- }
+ final String localVarPath =
+ UriComponentsBuilder.fromPath("/lm/artifacts").build().toUriString();
+
+ final MultiValueMap Retrieve a list of artifacts that matches the specified filter criteria. Filter criteria
+ * include scenario ID, execution ID, an artifact name, artifact kind, or artifact labels. Use
+ * top/skip parameters to paginate the result list. Search by substring of artifact name or
+ * description, if required.
+ *
+ * 200 - A list of artifacts
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @return AiArtifactList
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiArtifactList artifactQuery(@Nonnull final String aiResourceGroup)
+ throws OpenApiRequestException {
+ return artifactQuery(
+ aiResourceGroup, null, null, null, null, null, null, null, null, null, null);
+ }
}
diff --git a/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java b/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
index 3a5ba88f..2d5392e8 100644
--- a/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
+++ b/core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
@@ -1,337 +1,436 @@
-
-
package com.sap.ai.sdk.core.client;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
-import com.sap.cloud.sdk.services.openapi.core.OpenApiResponse;
-import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
-import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
-
+import com.google.common.annotations.Beta;
import com.sap.ai.sdk.core.client.model.AiConfiguration;
import com.sap.ai.sdk.core.client.model.AiConfigurationBaseData;
import com.sap.ai.sdk.core.client.model.AiConfigurationCreationResponse;
import com.sap.ai.sdk.core.client.model.AiConfigurationList;
-import com.sap.ai.sdk.core.client.model.ArtifactQuery400Response;
-
+import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import com.sap.cloud.sdk.services.openapi.apiclient.ApiClient;
+import com.sap.cloud.sdk.services.openapi.core.AbstractOpenApiService;
+import com.sap.cloud.sdk.services.openapi.core.OpenApiRequestException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
-
-import org.springframework.util.LinkedMultiValueMap;
-import org.springframework.util.MultiValueMap;
-import org.springframework.web.util.UriComponentsBuilder;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
import org.springframework.core.ParameterizedTypeReference;
-import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-import com.google.common.annotations.Beta;
-
-import com.sap.cloud.sdk.cloudplatform.connectivity.Destination;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.util.UriComponentsBuilder;
/**
* AI Core in version 2.33.0.
*
- * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a batch job, for example to pre-process or train your models, or perform batch inference. Serve inference requests of trained models. Deploy а trained machine learning model as a web service to serve inference requests with high performance. Register your own Docker registry, synchronize your AI content from your own git repository, and register your own object store for training data and trained models.
+ * Provides tools to manage your scenarios and workflows in SAP AI Core. Execute pipelines as a
+ * batch job, for example to pre-process or train your models, or perform batch inference. Serve
+ * inference requests of trained models. Deploy а trained machine learning model as a web service to
+ * serve inference requests with high performance. Register your own Docker registry, synchronize
+ * your AI content from your own git repository, and register your own object store for training
+ * data and trained models.
*/
public class ConfigurationApi extends AbstractOpenApiService {
- /**
- * Instantiates this API class to invoke operations on the AI Core.
- *
- * @param httpDestination The destination that API should be used with
- */
- public ConfigurationApi( @Nonnull final Destination httpDestination )
- {
- super(httpDestination);
+ /**
+ * Instantiates this API class to invoke operations on the AI Core.
+ *
+ * @param httpDestination The destination that API should be used with
+ */
+ public ConfigurationApi(@Nonnull final Destination httpDestination) {
+ super(httpDestination);
+ }
+
+ /**
+ * Instantiates this API class to invoke operations on the AI Core based on a given {@link
+ * ApiClient}.
+ *
+ * @param apiClient ApiClient to invoke the API on
+ */
+ @Beta
+ public ConfigurationApi(@Nonnull final ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * Get number of configurations
+ *
+ * Retrieve the number of available configurations that match the specified filter criteria.
+ * Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration
+ * name is also possible.
+ *
+ * 200 - Number of configurations
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup (required) Specify a resource group id
+ * @param scenarioId (optional) Scenario identifier
+ * @param $search (optional) Generic search term to be looked for in various attributes
+ * @param searchCaseInsensitive (optional, default to false) indicates whether the search should
+ * be case insensitive
+ * @param executableIds (optional Limit query to only these executable IDs
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public Integer configurationCount(
+ @Nonnull final String aiResourceGroup,
+ @Nullable final String scenarioId,
+ @Nullable final String $search,
+ @Nullable final Boolean searchCaseInsensitive,
+ @Nullable final List Retrieve the number of available configurations that match the specified filter criteria.
+ * Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration
+ * name is also possible.
+ *
+ * 200 - Number of configurations
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @return Integer
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public Integer configurationCount(@Nonnull final String aiResourceGroup)
+ throws OpenApiRequestException {
+ return configurationCount(aiResourceGroup, null, null, null, null);
+ }
+
+ /**
+ * Create configuration
+ *
+ * Create a new configuration linked to a specific scenario and executable for use in an
+ * execution or deployment.
+ *
+ * 201 - The created configuration
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * @param aiResourceGroup Specify a resource group id
+ * @param aiConfigurationBaseData The value for the parameter aiConfigurationBaseData
+ * @return AiConfigurationCreationResponse
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiConfigurationCreationResponse configurationCreate(
+ @Nonnull final String aiResourceGroup,
+ @Nonnull final AiConfigurationBaseData aiConfigurationBaseData)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = aiConfigurationBaseData;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling configurationCreate");
}
-
- /**
- * Get number of configurations Retrieve the number of available configurations that match the specified filter criteria. Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible. 200 - Number of configurations
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param scenarioId (optional)
- Scenario identifier
- * @param $search (optional)
- Generic search term to be looked for in various attributes
- * @param searchCaseInsensitive (optional, default to false)
- indicates whether the search should be case insensitive
- * @param executableIds (optional
- Limit query to only these executable IDs
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public Integer configurationCount( @Nonnull final String aiResourceGroup, @Nullable final String scenarioId, @Nullable final String $search, @Nullable final Boolean searchCaseInsensitive, @Nullable final List Get number of configurations Retrieve the number of available configurations that match the specified filter criteria. Filter criteria include a scenarioId or executableIdsList. Search by substring of configuration name is also possible. 200 - Number of configurations
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup
- * Specify a resource group id
- * @return Integer
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public Integer configurationCount( @Nonnull final String aiResourceGroup) throws OpenApiRequestException {
- return configurationCount(aiResourceGroup, null, null, null, null);
- }
- /**
- * Create configuration Create a new configuration linked to a specific scenario and executable for use in an execution or deployment. 201 - The created configuration
- * 400 - The specification of the resource was incorrect
- * @param aiResourceGroup
- * Specify a resource group id
- * @param aiConfigurationBaseData
- * The value for the parameter aiConfigurationBaseData
- * @return AiConfigurationCreationResponse
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiConfigurationCreationResponse configurationCreate( @Nonnull final String aiResourceGroup, @Nonnull final AiConfigurationBaseData aiConfigurationBaseData) throws OpenApiRequestException {
- final Object localVarPostBody = aiConfigurationBaseData;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling configurationCreate");
- }
-
- // verify the required parameter 'aiConfigurationBaseData' is set
- if (aiConfigurationBaseData == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiConfigurationBaseData' when calling configurationCreate");
- }
-
- final String localVarPath = UriComponentsBuilder.fromPath("/lm/configurations").build().toUriString();
-
- final MultiValueMap Retrieve details for configuration with configurationId.
+ *
+ * 200 - A configuration
+ *
+ * 400 - The specification of the resource was incorrect
+ *
+ * 404 - The specified resource was not found
+ *
+ * @param aiResourceGroup (required) Specify a resource group id
+ * @param configurationId (required) Configuration identifier
+ * @param $expand (optional) expand detailed information on scenario
+ * @return AiConfiguration
+ * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
+ */
+ @Nonnull
+ public AiConfiguration configurationGet(
+ @Nonnull final String aiResourceGroup,
+ @Nonnull final String configurationId,
+ @Nullable final String $expand)
+ throws OpenApiRequestException {
+ final Object localVarPostBody = null;
+
+ // verify the required parameter 'aiResourceGroup' is set
+ if (aiResourceGroup == null) {
+ throw new OpenApiRequestException(
+ "Missing the required parameter 'aiResourceGroup' when calling configurationGet");
}
- /**
- * Get configuration by ID Retrieve details for configuration with configurationId. 200 - A configuration
- * 400 - The specification of the resource was incorrect
- * 404 - The specified resource was not found
- * @param aiResourceGroup (required)
- Specify a resource group id
- * @param configurationId (required)
- Configuration identifier
- * @param $expand (optional)
- expand detailed information on scenario
- * @return AiConfiguration
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId, @Nullable final String $expand) throws OpenApiRequestException {
- final Object localVarPostBody = null;
-
- // verify the required parameter 'aiResourceGroup' is set
- if (aiResourceGroup == null) {
- throw new OpenApiRequestException("Missing the required parameter 'aiResourceGroup' when calling configurationGet");
- }
-
- // verify the required parameter 'configurationId' is set
- if (configurationId == null) {
- throw new OpenApiRequestException("Missing the required parameter 'configurationId' when calling configurationGet");
- }
-
- // create path and map variables
- final Map Get configuration by ID Retrieve details for configuration with configurationId. 200 - A configuration
- * 400 - The specification of the resource was incorrect
- * 404 - The specified resource was not found
- * @param aiResourceGroup
- * Specify a resource group id
- * @param configurationId
- * Configuration identifier
- * @return AiConfiguration
- * @throws OpenApiRequestException if an error occurs while attempting to invoke the API
- */
- @Nonnull
- public AiConfiguration configurationGet( @Nonnull final String aiResourceGroup, @Nonnull final String configurationId) throws OpenApiRequestException {
- return configurationGet(aiResourceGroup, configurationId, null);
+ // create path and map variables
+ final Map Retrieve details for configuration with configurationId.
+ *
+ *