ui: revert default mirage scenario to topoMedium and set product links in all scenarios (#11649)

This commit is contained in:
Luiz Aoqui
2021-12-08 19:13:22 -05:00
committed by GitHub
parent f54a89177a
commit 147d97145b
4 changed files with 9 additions and 9 deletions

View File

@@ -25,8 +25,7 @@ module.exports = function(environment) {
APP: {
blockingQueries: true,
// TODO: revert before merging to main.
mirageScenario: 'sysbatchSmall', // convert to 'sysbatchSmall' when working on feature
mirageScenario: 'topoMedium',
mirageWithNamespaces: false,
mirageWithTokens: true,
mirageWithRegions: true,

View File

@@ -60,7 +60,7 @@ function smallCluster(server) {
}
function mediumCluster(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.createList('node', 50);
server.createList('job', 25);
}
@@ -79,7 +79,7 @@ function massiveCluster(server) {
}
function allJobTypes(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.createList('node', 5);
server.create('job', { type: 'service' });
@@ -93,7 +93,7 @@ function allJobTypes(server) {
}
function allNodeTypes(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.create('node');
server.create('node', 'forceIPv4');
@@ -106,7 +106,7 @@ function allNodeTypes(server) {
}
function everyFeature(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.create('node', 'forceIPv4');
server.create('node', 'draining');

View File

@@ -7,7 +7,8 @@ export function sysbatchLarge(server) {
}
function sysbatchScenario(server, clientCount) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
const clients = server.createList('node', clientCount, {
datacenter: 'dc1',
status: 'ready',

View File

@@ -10,7 +10,7 @@ const genResources = (CPU, Memory) => ({
});
export function topoSmall(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.createList('node', 12, {
datacenter: 'dc1',
status: 'ready',
@@ -46,7 +46,7 @@ export function topoSmall(server) {
}
export function topoMedium(server) {
server.createList('agent', 3);
server.createList('agent', 3, 'withConsulLink', 'withVaultLink');
server.createList('node', 10, {
datacenter: 'us-west-1',
status: 'ready',