mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -05:00
Small bug fix + version bump to 1.6.0 (#20595)
* Removed Node Configuration text * Bump to 1.6.0 Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "arc",
|
||||
"displayName": "%arc.displayName%",
|
||||
"description": "%arc.description%",
|
||||
"version": "1.5.3",
|
||||
"version": "1.6.0",
|
||||
"publisher": "Microsoft",
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
"icon": "images/extension.png",
|
||||
|
||||
@@ -101,12 +101,6 @@ export const yes = localize('arc.yes', "Yes");
|
||||
export const no = localize('arc.no', "No");
|
||||
export const feedback = localize('arc.feedback', "Feedback");
|
||||
export const selectConnectionString = localize('arc.selectConnectionString', "Select from available client connection strings below.");
|
||||
export const addingWorkerNodes = localize('arc.addingWorkerNodes', "adding worker nodes");
|
||||
export const workerNodesDescription = localize('arc.workerNodesDescription', "Expand your server group and scale your database by adding worker nodes.");
|
||||
export const workerNodesConfigurationInformation = localize('arc.workerNodesConfigurationInformation', "You can configure the number of CPU cores and storage size that will apply to all worker nodes. Adjust the number of CPU cores and memory settings for your server group. To reset the requests and/or limits, pass in empty value.");
|
||||
export const coordinatorNodeConfigurationInformation = localize('arc.coordinatorNodeConfigurationInformation', "You can configure the number of CPU cores and storage size that will apply to the coordinator node. Adjust the number of CPU cores and memory settings for your server group. To reset the requests and/or limits, pass in empty value.");
|
||||
export const workerNodesInformation = localize('arc.workerNodeInformation', "It is possible to scale in and out your server group by reducing or increasing the number of worker nodes. The value must be 0 or greater than 1.");
|
||||
export const workerOneNodeValidationMessage = localize('arc.workerOneNodeValidationMessage', "Value of 1 is not supported.");
|
||||
export const vCores = localize('arc.vCores', "vCores");
|
||||
export const ram = localize('arc.ram', "RAM");
|
||||
export const refresh = localize('arc.refresh', "Refresh");
|
||||
@@ -168,7 +162,6 @@ export const emergency = localize('arc.emergency', "Emergency");
|
||||
// Postgres constants
|
||||
export const coordinatorEndpoint = localize('arc.coordinatorEndpoint', "Coordinator endpoint");
|
||||
export const postgresAdminUsername = localize('arc.postgresAdminUsername', "Admin username");
|
||||
export const nodeConfiguration = localize('arc.nodeConfiguration', "Node configuration");
|
||||
export const postgresVersion = localize('arc.postgresVersion', "PostgreSQL version");
|
||||
export const serverGroupType = localize('arc.serverGroupType', "Server group type");
|
||||
export const server = localize('arc.server', "Server");
|
||||
@@ -209,7 +202,6 @@ export const storagePerNode = localize('arc.storagePerNode', "storage per node")
|
||||
export const workerNodeCount = localize('arc.workerNodeCount', "Worker node count");
|
||||
export const computeConfiguration = localize('arc.computeConfiguration', "Compute Configuration");
|
||||
export const configurationPerNode = localize('arc.configurationPerNode', "Configuration");
|
||||
export const configuration = localize('arc.configurationCoordinatorNode', "Node Configuration");
|
||||
export const coresLimit = localize('arc.coresLimit', "CPU limit");
|
||||
export const coresRequest = localize('arc.coresRequest', "CPU request");
|
||||
export const memoryLimit = localize('arc.memoryLimit', "Memory limit (in GB)");
|
||||
|
||||
@@ -295,7 +295,6 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
|
||||
}
|
||||
|
||||
return [
|
||||
this.createCoresMemorySection(loc.configuration),
|
||||
this.createConfigurationSectionContainer(loc.coresRequest, this.coresRequestBox),
|
||||
this.createConfigurationSectionContainer(loc.coresLimit, this.coresLimitBox),
|
||||
this.createConfigurationSectionContainer(loc.memoryRequest, this.memoryRequestBox),
|
||||
@@ -350,30 +349,6 @@ export class PostgresComputeAndStoragePage extends DashboardPage {
|
||||
|
||||
}
|
||||
|
||||
private createCoresMemorySection(title: string): azdata.DivContainer {
|
||||
const titleFlex = { flex: `0 1 250px` };
|
||||
|
||||
const flexContainer = this.modelView.modelBuilder.flexContainer().withLayout({
|
||||
flexWrap: 'wrap',
|
||||
alignItems: 'center'
|
||||
}).component();
|
||||
|
||||
const titleComponent = this.modelView.modelBuilder.text().withProps({
|
||||
value: title,
|
||||
CSSStyles: { ...cssStyles.title, 'font-weight': 'bold', 'margin-block-start': '0px', 'margin-block-end': '0px' }
|
||||
}).component();
|
||||
|
||||
const titleContainer = this.modelView.modelBuilder.flexContainer().withLayout({ alignItems: 'center' }).component();
|
||||
titleContainer.addItem(titleComponent, { CSSStyles: { 'margin-right': '0px', 'margin-bottom': '15px', 'margin-top': '15px' } });
|
||||
|
||||
flexContainer.addItem(titleContainer, titleFlex);
|
||||
|
||||
let configurationSection = this.modelView.modelBuilder.divContainer().component();
|
||||
configurationSection.addItem(flexContainer);
|
||||
|
||||
return configurationSection;
|
||||
}
|
||||
|
||||
private editCores(): void {
|
||||
let currentCPUSize = this._postgresModel.config?.spec?.scheduling?.default?.resources?.requests?.cpu;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "azcli",
|
||||
"displayName": "%azcli.arc.displayName%",
|
||||
"description": "%azcli.arc.description%",
|
||||
"version": "1.5.3",
|
||||
"version": "1.6.0",
|
||||
"publisher": "Microsoft",
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
"icon": "images/extension.png",
|
||||
|
||||
Reference in New Issue
Block a user