提交 b1520e79 编写于 作者: H higashi

Reduce systematic factors and add business logic factors

上级 4d4078bb
...@@ -9,28 +9,26 @@ Open deploy dialog (+) and select "Specify app details below" ...@@ -9,28 +9,26 @@ Open deploy dialog (+) and select "Specify app details below"
## Specific factors ## Specific factors
|Factor |1 |2 |3 |4 |5 |6 |7 |Comment| |Factor |1 |2 |3 |4 |5 |Comment |
|----------------------------|------------------|----------------------------------|----------------|----------------|-------------------------|---------------------|----------------|-------| |--------------------------|--------------------------------------|-----------------------------------|---------------------------------------------------------|-----------------------------------|---------------------------------------------|--------------------------------------------------------------------------------|
|App name |Empty |Correct value |Max-length |Validation error|Same name app exists | | | | |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 |Empty |Correct value |Max-length |With version |With hostname of registry|With port of registry|Validation error| | |Container image |Max-length |With version |With hostname of registry |With port of registry | | |
|Number of pods |0 |Positive integer |Negative integer|Not integer |Not a number | | | | |Number of pods |Floating point number |Not a number |Max-values | | | |
|Port |0 |Positive integer |Negative integer|Not integer |Not a number | | | | |Port |Border cases(1, 65535) |Out of range(<0, >65535) |Floating point number |Not a number |Same port is mapped to different target ports| |
|Target Port |0 |Positive integer |Negative integer|Not integer |Not a number | | | | |Protocol |TCP |UDP | | | | |
|Protocol |TCP |UDP | | | | | | | |Exporse service externally|lcoal |Without load-balancer (vagrant) |With load-balancer (GCE) | | | |
|Expose service externally |Checked |Not checked | | | | | | | |Description |Max-length | | | | |Description is mapped to 'metadata/annotations/description' for RC, Service, Pod|
|Description |Empty |Correct value |Max-length |Validation error| | | | | |Labels |Max-length |key is empty and value is not empty|Key contains domain suffix | | | |
|Key(Labels) |Empty |Correct value |Max-length |Validation error|Existing key | | | | |Namespace |Create Max-length namespace |Create existing namespace | | | | |
|Value(Labels) |Empty |Correct value |Max-length |Validation error| | | | | |Image Pull Secret |Create Max-length secret name |Create existing secret name |Data is not Base64 encoded | | | |
|Namespace |Existing namespace|Select "Create a new namespace..."| | | | | | | |CPU requiremnt(cores) |Floating point number |Not a number |> value of quota | | | |
|Image Pull Secret |Existing secret |Select "Create a new secret..." | | | | | | | |Memory requirement(MB) |Floating point number |Not a number |> value of quota | | | |
|CPU requirement(cores) |0 |Positive integer |Negative integer|Not integer |Not a number | | | | |Run command |Max-length | | | | | |
|Memory requirement(MB) |0 |Positive integer |Negative integer|Not integer |Not a number | | | | |Run command arguments |Max-length | | | | | |
|Run command |Empty |Correct value |Max-length |Validation error| | | | | |Run as privileged | | | | | | |
|Run command arguments |Empty |Correct value |Max-length |Validation error| | | | | |Environment variables |Max-length |Key is empty and value is not empty|Value conatins Environment variables | | | |
|Run as privileged |Checked |Not checked | | | | | | | |Action |Deploy |Cancel | | | | |
|Key(Environment variables) |Empty |Correct value |Max-length |Validation error|Existing key | | | | |Concurrency explicitly |Create same name app at tha same time| | | | | |
|Value(Environment variables)|Empty |Correct value |Max-length |Validation error| | | | |
|Action |Deploy |Cancel | | | | | | |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册