Skip to content

feat: [DevOps] Update core specification #446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/sap/ai/sdk/core/client/FileApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/sap/ai/sdk/core/client/KpiApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/com/sap/ai/sdk/core/client/MetaApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.springframework.web.util.UriComponentsBuilder;

/**
* AI Core in version 2.40.0.
* AI Core in version 2.40.1.
*
* <p>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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public class AiModelBaseData
@JsonProperty("provider")
private String provider;

@JsonProperty("allowedScenarios")
private List<AiModelBaseDataAllowedScenariosInner> allowedScenarios = new ArrayList<>();

@JsonAnySetter @JsonAnyGetter
private final Map<String, Object> cloudSdkCustomFields = new LinkedHashMap<>();

Expand Down Expand Up @@ -290,6 +293,55 @@ public void setProvider(@Nullable final String provider) {
this.provider = provider;
}

/**
* Set the allowedScenarios of this {@link AiModelBaseData} instance and return the same instance.
*
* @param allowedScenarios List of scenarioId:executableId pair where the model supported
* @return The same instance of this {@link AiModelBaseData} class
*/
@Nonnull
public AiModelBaseData allowedScenarios(
@Nullable final List<AiModelBaseDataAllowedScenariosInner> allowedScenarios) {
this.allowedScenarios = allowedScenarios;
return this;
}

/**
* Add one allowedScenarios instance to this {@link AiModelBaseData}.
*
* @param allowedScenariosItem The allowedScenarios that should be added
* @return The same instance of type {@link AiModelBaseData}
*/
@Nonnull
public AiModelBaseData addAllowedScenariosItem(
@Nonnull final AiModelBaseDataAllowedScenariosInner allowedScenariosItem) {
if (this.allowedScenarios == null) {
this.allowedScenarios = new ArrayList<>();
}
this.allowedScenarios.add(allowedScenariosItem);
return this;
}

/**
* List of scenarioId:executableId pair where the model supported
*
* @return allowedScenarios The allowedScenarios of this {@link AiModelBaseData} instance.
*/
@Nonnull
public List<AiModelBaseDataAllowedScenariosInner> getAllowedScenarios() {
return allowedScenarios;
}

/**
* Set the allowedScenarios of this {@link AiModelBaseData} instance.
*
* @param allowedScenarios List of scenarioId:executableId pair where the model supported
*/
public void setAllowedScenarios(
@Nullable final List<AiModelBaseDataAllowedScenariosInner> allowedScenarios) {
this.allowedScenarios = allowedScenarios;
}

/**
* Get the names of the unrecognizable properties of the {@link AiModelBaseData}.
*
Expand Down Expand Up @@ -335,6 +387,7 @@ public Map<String, Object> toMap() {
if (displayName != null) declaredFields.put("displayName", displayName);
if (accessType != null) declaredFields.put("accessType", accessType);
if (provider != null) declaredFields.put("provider", provider);
if (allowedScenarios != null) declaredFields.put("allowedScenarios", allowedScenarios);
return declaredFields;
}

Expand Down Expand Up @@ -366,7 +419,8 @@ public boolean equals(@Nullable final java.lang.Object o) {
&& Objects.equals(this.versions, aiModelBaseData.versions)
&& Objects.equals(this.displayName, aiModelBaseData.displayName)
&& Objects.equals(this.accessType, aiModelBaseData.accessType)
&& Objects.equals(this.provider, aiModelBaseData.provider);
&& Objects.equals(this.provider, aiModelBaseData.provider)
&& Objects.equals(this.allowedScenarios, aiModelBaseData.allowedScenarios);
}

@Override
Expand All @@ -379,6 +433,7 @@ public int hashCode() {
displayName,
accessType,
provider,
allowedScenarios,
cloudSdkCustomFields);
}

Expand All @@ -394,6 +449,7 @@ public String toString() {
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" accessType: ").append(toIndentedString(accessType)).append("\n");
sb.append(" provider: ").append(toIndentedString(provider)).append("\n");
sb.append(" allowedScenarios: ").append(toIndentedString(allowedScenarios)).append("\n");
cloudSdkCustomFields.forEach(
(k, v) ->
sb.append(" ").append(k).append(": ").append(toIndentedString(v)).append("\n"));
Expand Down
Loading