From b1520e790b4a666d03ead6ab2004fc6d930533e7 Mon Sep 17 00:00:00 2001 From: higashi Date: Wed, 24 Feb 2016 21:42:53 +0900 Subject: [PATCH] Reduce systematic factors and add business logic factors --- docs/test/deploy-from-settings.md | 42 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/docs/test/deploy-from-settings.md b/docs/test/deploy-from-settings.md index 94cc48c5b..238a814df 100644 --- a/docs/test/deploy-from-settings.md +++ b/docs/test/deploy-from-settings.md @@ -9,28 +9,26 @@ Open deploy dialog (+) and select "Specify app details below" ## Specific factors -|Factor |1 |2 |3 |4 |5 |6 |7 |Comment| -|----------------------------|------------------|----------------------------------|----------------|----------------|-------------------------|---------------------|----------------|-------| -|App name |Empty |Correct value |Max-length |Validation error|Same name app exists | | | | -|Container image |Empty |Correct value |Max-length |With version |With hostname of registry|With port of registry|Validation error| | -|Number of pods |0 |Positive integer |Negative integer|Not integer |Not a number | | | | -|Port |0 |Positive integer |Negative integer|Not integer |Not a number | | | | -|Target Port |0 |Positive integer |Negative integer|Not integer |Not a number | | | | -|Protocol |TCP |UDP | | | | | | | -|Expose service externally |Checked |Not checked | | | | | | | -|Description |Empty |Correct value |Max-length |Validation error| | | | | -|Key(Labels) |Empty |Correct value |Max-length |Validation error|Existing key | | | | -|Value(Labels) |Empty |Correct value |Max-length |Validation error| | | | | -|Namespace |Existing namespace|Select "Create a new namespace..."| | | | | | | -|Image Pull Secret |Existing secret |Select "Create a new secret..." | | | | | | | -|CPU requirement(cores) |0 |Positive integer |Negative integer|Not integer |Not a number | | | | -|Memory requirement(MB) |0 |Positive integer |Negative integer|Not integer |Not a number | | | | -|Run command |Empty |Correct value |Max-length |Validation error| | | | | -|Run command arguments |Empty |Correct value |Max-length |Validation error| | | | | -|Run as privileged |Checked |Not checked | | | | | | | -|Key(Environment variables) |Empty |Correct value |Max-length |Validation error|Existing key | | | | -|Value(Environment variables)|Empty |Correct value |Max-length |Validation error| | | | | -|Action |Deploy |Cancel | | | | | | | +|Factor |1 |2 |3 |4 |5 |Comment | +|--------------------------|--------------------------------------|-----------------------------------|---------------------------------------------------------|-----------------------------------|---------------------------------------------|--------------------------------------------------------------------------------| +|App name |Max-length |Same name RC exists |Same name RC does not exists and same name Service exists|Same name exists in other namespace| |App name is used in the help text which does have some impact on layouting. | +|Container image |Max-length |With version |With hostname of registry |With port of registry | | | +|Number of pods |Floating point number |Not a number |Max-values | | | | +|Port |Border cases(1, 65535) |Out of range(<0, >65535) |Floating point number |Not a number |Same port is mapped to different target ports| | +|Protocol |TCP |UDP | | | | | +|Exporse service externally|lcoal |Without load-balancer (vagrant) |With load-balancer (GCE) | | | | +|Description |Max-length | | | | |Description is mapped to 'metadata/annotations/description' for RC, Service, Pod| +|Labels |Max-length |key is empty and value is not empty|Key contains domain suffix | | | | +|Namespace |Create Max-length namespace |Create existing namespace | | | | | +|Image Pull Secret |Create Max-length secret name |Create existing secret name |Data is not Base64 encoded | | | | +|CPU requiremnt(cores) |Floating point number |Not a number |> value of quota | | | | +|Memory requirement(MB) |Floating point number |Not a number |> value of quota | | | | +|Run command |Max-length | | | | | | +|Run command arguments |Max-length | | | | | | +|Run as privileged | | | | | | | +|Environment variables |Max-length |Key is empty and value is not empty|Value conatins Environment variables | | | | +|Action |Deploy |Cancel | | | | | +|Concurrency explicitly |Create same name app at tha same time| | | | | | -- GitLab