Date 1 - 2 of 2
valid org, space and service instance name?
Buchen, Andreas <andreas.buchen@...>
do you know what makes a valid org, space and service instance name?
I was able to find regular expressions for org and space (see below).
For service instance names I was able to find a length restriction.
From the database migrations, it is unclear to me to what number of characters it is limited on the database.
ORG_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/.freeze
SPACE_NAME_REGEX = /\A[[:alnum:][:punct:][:print:]]+\Z/.freeze
# Service Instance
validates_max_length 50, :name
# Database Migrations
The regexes you found are correct. From the database for org and space name the max length is 255.
|1 - 2 of 2|