Skip to content

Commit

Permalink
OS-8087. Fix data source connection issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ek-hystax authored Dec 24, 2024
1 parent 82266e3 commit 2d4578a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ngui/server/graphql/resolvers/restapi.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ export type K8sConfig = {
};

export type K8sConfigInput = {
cost_model?: InputMaybe<Scalars['JSONObject']['input']>;
password: Scalars['String']['input'];
user: Scalars['String']['input'];
};
Expand Down
1 change: 1 addition & 0 deletions ngui/server/graphql/schemas/restapi.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ input NebiusConfigInput {
input K8sConfigInput {
password: String!
user: String!
cost_model: JSONObject
}

input DatabricksConfigInput {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ const getAwsParameters = (formData) => {
access_key_id: formData[AWS_ROOT_CREDENTIALS_FIELD_NAMES.ACCESS_KEY_ID],
secret_access_key: formData[AWS_ROOT_CREDENTIALS_FIELD_NAMES.SECRET_ACCESS_KEY],
use_edp_discount: formData[AWS_ROOT_USE_AWS_EDP_DISCOUNT_FIELD_NAMES.USE_EDP_DISCOUNT],
linked: false,
cur_version: Number(formData[AWS_ROOT_EXPORT_TYPE_FIELD_NAMES.CUR_VERSION]),
...getConfigSchemeParameters()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const ConnectCloudAccountContainer = () => {

const onSubmit = (params) => {
const configName = {
[AWS_CNR]: params.linked ? "awsLinkedConfig" : "awsRootConfig",
[AWS_CNR]: params.config.linked ? "awsLinkedConfig" : "awsRootConfig",
[AZURE_TENANT]: "azureTenantConfig",
[AZURE_CNR]: "azureSubscriptionConfig",
[GCP_CNR]: "gcpConfig",
Expand Down

0 comments on commit 2d4578a

Please sign in to comment.