[jbosstools-issues] [JBoss JIRA] (JBIDE-19476) Add label validation

Jeff Cantrill (JIRA) issues at jboss.org
Mon May 4 15:24:45 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065170#comment-13065170 ] 

Jeff Cantrill commented on JBIDE-19476:
---------------------------------------

[~mlabuda]
Assuming you have templates loaded into your namespace:
# Right-click on an OpenShift project and 'Create Application'
# Choose a template
# Click through the wizard until you come to the 'edit label page'
# Validate you can not add, modify, edit, delete 'readonly' labels.  Currently only the label 'template' meets this criteria
# Validate you can add, edit, modify a label and that you are warned if the value does not meet the allowable format.  Validation is duplicated from here: https://github.com/openshift/origin/blob/master/assets/app/scripts/directives/oscKeyValues.js#L64 and the ultimate authority is here: https://github.com/openshift/origin/blob/master/Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/util/validation.go

> Add label validation
> --------------------
>
>                 Key: JBIDE-19476
>                 URL: https://issues.jboss.org/browse/JBIDE-19476
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: openshift
>    Affects Versions: 4.3.0.Alpha2
>            Reporter: Jeff Cantrill
>            Assignee: Jeff Cantrill
>            Priority: Blocker
>             Fix For: 4.3.0.Beta1
>
>
> Add label key and value validations to the 'label' page in accordance of what is valid in Kubernetes.  This should be part of the 'edit label' page that will be presented to a user



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list