diff --git a/static/game.html b/static/game.html index b0ad4fc..917bbd7 100644 --- a/static/game.html +++ b/static/game.html @@ -737,12 +737,17 @@
- - + + + + + + + + + + +
@@ -752,10 +757,10 @@
- - + + - +
@@ -790,25 +795,43 @@
- - - - - + - - + - - + + + + + + + + +
@@ -835,24 +858,24 @@
- - - - - -
+ + + + + +
- - + + - - -
+ + + diff --git a/static/plugins/messageQueue.js b/static/plugins/messageQueue.js index b3a4c7a..8bae881 100644 --- a/static/plugins/messageQueue.js +++ b/static/plugins/messageQueue.js @@ -5,7 +5,7 @@ PluginRegistry.register('messageQueue', { label: 'Message Queue', props: [ { name: 'label', type: 'string', default: 'MQ', group: 'label-group' }, - { name: 'maxSize', type: 'number', default: 10000, group: 'mq-group' }, + { name: 'queueCapacity', type: 'number', default: 10000, group: 'mq-group' }, { name: 'retentionSeconds', type: 'number', default: 600, group: 'mq-group' } ] }); diff --git a/static/plugins/microservice.js b/static/plugins/microservice.js index 707a33b..72c5275 100644 --- a/static/plugins/microservice.js +++ b/static/plugins/microservice.js @@ -5,30 +5,12 @@ PluginRegistry.register('microservice', { label: 'Microservice', props: [ { name: 'label', type: 'string', default: 'Service', group: 'label-group' }, - { - name: 'instanceCount', - type: 'number', - default: 3, - group: 'microservice-group' - }, - { - name: 'instanceSize', - type: 'string', - default: 'medium', - group: 'microservice-group' - }, - { - name: 'scalingStrategy', - type: 'string', - default: 'auto', - group: 'microservice-group' - }, - { - name: 'apiVersion', - type: 'string', - default: 'v1', - group: 'microservice-group' - } + { name: 'instanceCount', type: 'number', default: 3, group: 'microservice-group' }, + { name: 'cpu', type: 'number', default: 2, group: 'microservice-group' }, + { name: 'ramGb', type: 'number', default: 4, group: 'microservice-group' }, + { name: 'rpsCapacity', type: 'number', default: 150, group: 'microservice-group' }, + { name: 'monthlyUsd', type: 'number', default: 18, group: 'microservice-group' }, + { name: 'scalingStrategy', type: 'string', default: 'auto', group: 'microservice-group' }, + { name: 'apiVersion', type: 'string', default: 'v1', group: 'microservice-group' } ] }); - diff --git a/static/plugins/webserver.js b/static/plugins/webserver.js index b27aa4d..3b217e2 100644 --- a/static/plugins/webserver.js +++ b/static/plugins/webserver.js @@ -5,6 +5,9 @@ PluginRegistry.register('webserver', { label: 'Web Server', props: [ { name: 'label', type: 'string', default: 'Web Server', group: 'label-group' }, - { name: 'instanceSize', type: 'string', default: 'medium', group: 'compute-group' } + { name: 'cpu', type: 'number', default: 2, group: 'compute-group' }, + { name: 'ramGb', type: 'number', default: 4, group: 'compute-group' }, + { name: 'rpsCapacity', type: 'number', default: 200, group: 'compute-group' }, + { name: 'monthlyCostUsd', type: 'number', default: 20, group: 'compute-group' } ] });