Skip to content
Snippets Groups Projects
Unverified Commit 9a5cdffa authored by v-yussupov's avatar v-yussupov Committed by GitHub
Browse files

Merge pull request #111 from radon-h2020/fix/scale-up-issues

Fix/scale up issues
parents 2bc05d52 c321fa6e
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ node_types:
callbackUrlCPU:
type: string
required: false
default: { get_property: [ radon.policies.scaling.ScaleUp, callbackUrlCPU ] }
default: { get_property: [ radon.policies.scaling.ScaleOut, callbackUrlCPU ] }
lambda_timeout:
type: integer
required: true
......@@ -161,31 +161,15 @@ node_types:
cpu_upper_bound:
type: float
required: false
default: { get_property: [ radon.policies.scaling.ScaleUp, cpu_upper_bound ] }
s3_bucket_key:
type: string
required: true
default: { get_property: [ SELF, s3_bucket_key ] }
aws_region:
type: string
required: true
default: { get_property: [ SELF, host, region ] }
role_arn:
type: string
required: true
default: { get_attribute: [ SELF, host, role_arn ] }
function_name:
type: string
required: true
default: { get_property: [ SELF, name ] }
default: { get_property: [ radon.policies.scaling.ScaleOut, cpu_upper_bound ] }
adjustment:
type: float
required: false
default: { get_property: [ radon.policies.scaling.ScaleUp, adjustment ] }
default: { get_property: [ radon.policies.scaling.ScaleOut, adjustment ] }
ram_upper_bound:
type: float
required: false
default: { get_property: [ radon.policies.scaling.ScaleUp, ram_upper_bound ] }
default: { get_property: [ radon.policies.scaling.ScaleOut, ram_upper_bound ] }
operations:
create:
implementation:
......
tosca_definitions_version: tosca_simple_yaml_1_3
policy_types:
radon.policies.scaling.ScaleUp:
radon.policies.scaling.ScaleOut:
derived_from: tosca.policies.Scaling
metadata:
targetNamespace: "radon.policies.scaling"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment