Commit a90f59aa authored by ethiraj krishnamanaidu's avatar ethiraj krishnamanaidu
Browse files

record-id changes

parent 5d09889e
Pipeline #20908 passed with stages
in 3 minutes and 42 seconds
......@@ -6,7 +6,7 @@
<groupId>org.opengroup.osdu</groupId>
<artifactId>os-core-common</artifactId>
<version>0.3.23</version>
<version>0.3.24-SNAPSHOT1</version>
<packaging>jar</packaging>
......
......@@ -22,9 +22,9 @@ public class ValidationDoc {
// https://www.owasp.org/index.php/OWASP_Validation_Regex_Repository
public static final String EMAIL_REGEX = "^data\\.[a-zA-Z0-9_+&*-]+(?:\\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,7}$";
public static final String RECORD_ID_REGEX = "[\\w-\\.]+:[\\w-\\.]+:[\\w-\\.]+";
public static final String RECORD_ID_WITH_VERSION_REGEX ="[\\w-\\.]+:[\\w-\\.]+:[\\w-\\.]+:(\\d+)";
public static final String KIND_REGEX = "[\\w-\\.]+:[\\w-\\.]+:[\\w-\\.]+:(\\d+.)?(\\d+.)?(\\d+)";
public static final String RECORD_ID_REGEX = "^[\\w\\-\\.]+:[\\w-\\.\\/]+:.+$";
public static final String RECORD_ID_WITH_VERSION_REGEX = "^[\\w\\-\\.]+:[\\w-\\.\\/]+:.+:[0-9]+$";
public static final String KIND_REGEX = "^[\\w\\-\\.]+:[\\w\\-\\.]+:[\\w\\-\\.\\/]+:[0-9]+.[0-9]+.[0-9]+$";
public static final String DUPLICATE_RECORD_ID = "Same record cannot be updated twice: '%s'.";
public static final String INVALID_NULL_IN_ARRAY = "Invalid 'null' value found in array";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment