Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into openapi/method-naming…
Browse files Browse the repository at this point in the history
…-prefix

# Conflicts:
#	core/src/main/java/com/sap/ai/sdk/core/Core.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ArtifactApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ConfigurationApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/DeploymentApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/DockerRegistrySecretApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ExecutableApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ExecutionApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ExecutionScheduleApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/MetricsApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ObjectStoreSecretApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/RepositoryApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ResourceApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ResourceGroupApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ResourceQuotaApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ScenarioApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/SecretApi.java
#	core/src/main/java/com/sap/ai/sdk/core/client/ServiceApi.java
#	core/src/test/java/com/sap/ai/sdk/core/client/ArtifactUnitTest.java
#	core/src/test/java/com/sap/ai/sdk/core/client/ConfigurationUnitTest.java
#	core/src/test/java/com/sap/ai/sdk/core/client/DeploymentUnitTest.java
#	core/src/test/java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java
#	core/src/test/java/com/sap/ai/sdk/core/client/ScenarioUnitTest.java
  • Loading branch information
newtork committed Aug 14, 2024
2 parents ca61b53 + 84b708f commit b224175
Show file tree
Hide file tree
Showing 23 changed files with 541 additions and 502 deletions.
2 changes: 1 addition & 1 deletion .pipeline/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<property name="severity" value="info"/>
</module>
<module name="JavadocMethod">
<property name="scope" value="protected"/>
<property name="accessModifiers" value="protected"/>
<property name="allowedAnnotations" value="Override"/>
<property name="severity" value="info"/>
</module>
Expand Down
56 changes: 28 additions & 28 deletions core/src/main/java/com/sap/ai/sdk/core/client/ApplicationApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ public ApplicationApi( @Nonnull final ApiClient apiClient )
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationCreationResponse create( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest, @Nullable final String authorization) throws OpenApiRequestException {
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 create");
throw new OpenApiRequestException("Missing the required parameter 'kubesubmitV4ApplicationsCreateRequest' when calling kubesubmitV4ApplicationsCreate");
}

final String localVarPath = UriComponentsBuilder.fromPath("/admin/applications").build().toUriString();
Expand Down Expand Up @@ -125,8 +125,8 @@ public BckndArgoCDApplicationCreationResponse create( @Nonnull final KubesubmitV
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationCreationResponse create( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
return create(kubesubmitV4ApplicationsCreateRequest, null);
public BckndArgoCDApplicationCreationResponse kubesubmitV4ApplicationsCreate( @Nonnull final KubesubmitV4ApplicationsCreateRequest kubesubmitV4ApplicationsCreateRequest) throws OpenApiRequestException {
return kubesubmitV4ApplicationsCreate(kubesubmitV4ApplicationsCreateRequest, null);
}

/**
Expand All @@ -144,12 +144,12 @@ public BckndArgoCDApplicationCreationResponse create( @Nonnull final KubesubmitV
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationDeletionResponse delete( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
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 delete");
throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsDelete");
}

// create path and map variables
Expand Down Expand Up @@ -190,8 +190,8 @@ public BckndArgoCDApplicationDeletionResponse delete( @Nonnull final String appl
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationDeletionResponse delete( @Nonnull final String applicationName) throws OpenApiRequestException {
return delete(applicationName, null);
public BckndArgoCDApplicationDeletionResponse kubesubmitV4ApplicationsDelete( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsDelete(applicationName, null);
}

/**
Expand All @@ -209,12 +209,12 @@ public BckndArgoCDApplicationDeletionResponse delete( @Nonnull final String appl
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationData get( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
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 get");
throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGet");
}

// create path and map variables
Expand Down Expand Up @@ -255,8 +255,8 @@ public BckndArgoCDApplicationData get( @Nonnull final String applicationName, @
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationData get( @Nonnull final String applicationName) throws OpenApiRequestException {
return get(applicationName, null);
public BckndArgoCDApplicationData kubesubmitV4ApplicationsGet( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsGet(applicationName, null);
}

/**
Expand All @@ -277,7 +277,7 @@ public BckndArgoCDApplicationData get( @Nonnull final String applicationName) th
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndAllArgoCDApplicationData getAll( @Nullable final String authorization, @Nullable final Integer $top, @Nullable final Integer $skip, @Nullable final Boolean $count) throws OpenApiRequestException {
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();
Expand Down Expand Up @@ -317,8 +317,8 @@ public BckndAllArgoCDApplicationData getAll( @Nullable final String authorizatio
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndAllArgoCDApplicationData getAll() throws OpenApiRequestException {
return getAll(null, null, null, null);
public BckndAllArgoCDApplicationData kubesubmitV4ApplicationsGetAll() throws OpenApiRequestException {
return kubesubmitV4ApplicationsGetAll(null, null, null, null);
}

/**
Expand All @@ -336,12 +336,12 @@ public BckndAllArgoCDApplicationData getAll() throws OpenApiRequestException {
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationStatus getStatus( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
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 getStatus");
throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsGetStatus");
}

// create path and map variables
Expand Down Expand Up @@ -382,8 +382,8 @@ public BckndArgoCDApplicationStatus getStatus( @Nonnull final String application
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationStatus getStatus( @Nonnull final String applicationName) throws OpenApiRequestException {
return getStatus(applicationName, null);
public BckndArgoCDApplicationStatus kubesubmitV4ApplicationsGetStatus( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsGetStatus(applicationName, null);
}

/**
Expand All @@ -401,12 +401,12 @@ public BckndArgoCDApplicationStatus getStatus( @Nonnull final String application
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationRefreshResponse refresh( @Nonnull final String applicationName, @Nullable final String authorization) throws OpenApiRequestException {
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 refresh");
throw new OpenApiRequestException("Missing the required parameter 'applicationName' when calling kubesubmitV4ApplicationsRefresh");
}

// create path and map variables
Expand Down Expand Up @@ -447,8 +447,8 @@ public BckndArgoCDApplicationRefreshResponse refresh( @Nonnull final String appl
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationRefreshResponse refresh( @Nonnull final String applicationName) throws OpenApiRequestException {
return refresh(applicationName, null);
public BckndArgoCDApplicationRefreshResponse kubesubmitV4ApplicationsRefresh( @Nonnull final String applicationName) throws OpenApiRequestException {
return kubesubmitV4ApplicationsRefresh(applicationName, null);
}

/**
Expand All @@ -468,17 +468,17 @@ public BckndArgoCDApplicationRefreshResponse refresh( @Nonnull final String appl
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationModificationResponse update( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData, @Nullable final String authorization) throws OpenApiRequestException {
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 update");
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 update");
throw new OpenApiRequestException("Missing the required parameter 'bckndArgoCDApplicationBaseData' when calling kubesubmitV4ApplicationsUpdate");
}

// create path and map variables
Expand Down Expand Up @@ -523,7 +523,7 @@ public BckndArgoCDApplicationModificationResponse update( @Nonnull final String
* @throws OpenApiRequestException if an error occurs while attempting to invoke the API
*/
@Nonnull
public BckndArgoCDApplicationModificationResponse update( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
return update(applicationName, bckndArgoCDApplicationBaseData, null);
public BckndArgoCDApplicationModificationResponse kubesubmitV4ApplicationsUpdate( @Nonnull final String applicationName, @Nonnull final BckndArgoCDApplicationBaseData bckndArgoCDApplicationBaseData) throws OpenApiRequestException {
return kubesubmitV4ApplicationsUpdate(applicationName, bckndArgoCDApplicationBaseData, null);
}
}
Loading

0 comments on commit b224175

Please sign in to comment.