Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [che-dev] Constraints on Che workspace name

We definitely need to improve the error message adding correct regexp for info, to not to make user "guess" what's the name is correct today :).

Gennady Azarenkov - CTO @ codenvy.com


On Wed, Mar 25, 2015 at 1:26 PM, Sergii Kabashniuk <skabashnyuk@xxxxxxxxxxx> wrote:


On Wed, Mar 25, 2015 at 12:52 PM, Bolshakov, Alexander <alexander.bolshakov@xxxxxxx> wrote:

Hello Che developers,

 

Che API for workspace creation (POST to “/workspace” and “workspace/temp”) has some undocumented constraints on workspace “name” parameter, as I understand it should match regular _expression_ "[\\w][\\w\\.\\-]{1,18}[\\w]". In case the constraints are not satisfied following error is returned by API : “Incorrect workspace name”. Could anybody explain what are the reasons behind this constraint, so I could add appropriate documentation.

Best Regards,

 

1. Short and simple enough to remember.
2. Valid to use as primary key in SQL DB, Mongo, etc

 

Alexander Bolshakov

Developer

Cloud Expirience DevX DI Core

SAP Labs Israel Ltd. 15 Hatidhar St. Ra'anana 43665 Israel

Tel: +972 9 7779677 ; Mobile: +972 54 927546 ; Fax: +972 7 47609677

 


_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



_______________________________________________
che-dev mailing list
che-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/che-dev



Back to the top