Skip to content

Commit

Permalink
Reduce systematic factors and add business logic factors
Browse files Browse the repository at this point in the history
  • Loading branch information
f-higashi committed Feb 24, 2016
1 parent 4d4078b commit f1b3d7b
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions docs/test/deploy-from-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,27 @@ 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 |vagrant or OpenStack |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| | | | | |



Expand Down

0 comments on commit f1b3d7b

Please sign in to comment.