Log in
Skip to sidebar
Skip to main content
Linked Applications
Loading…
Confluence
Spaces
Questions
Terms
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
Developer Wiki
Pages
Blog
Terms
Questions
Space shortcuts
Shared links
File lists
Meeting notes
JIRA Reports
How-to articles
Retrospectives
Product requirements
Page tree
Browse pages
Configure
Space tools
View Page
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Markdown
Copy Page Tree
Pages
…
ONAP Developer Wiki
ONAP Projects
Mature State Projects - 2020
Configuration Persistence Service Project
Configuration Persistence Service Developer's Landing Page
Implementation Proposals
JAKARTA
CPS-322: Implement additional validations for names used as identifiers
Page History
Versions Compared
Old Version
8
changes.mady.by.user
Dylan Byrne
Saved on
Mar 21, 2022
compared with
New Version
9
changes.mady.by.user
Dylan Byrne
Saved on
Mar 21, 2022
Previous Change: Difference between versions 7 and 8
Next Change: Difference between versions 9 and 10
View Page History
Key
This line was added.
This line was removed.
Formatting was changed.
...
Implementation
Pros
Cons
Java Util Package
More consistent use of code from this library across CPS
Easier to write individual unit tests for.
Can throw more specific error message if validation doesn't match.
More production code
Spring/OpenApi keyword
Less production code
Inconsistent use of one validation library across code
.
Harder to write individual unit tests for
.
Apache Commons Validator
...
Overview
Content Tools
{"serverDuration": 204, "requestCorrelationId": "492be37c03c1866a"}