-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate connector name and pipeline description through API (#1242)
* validate connector name when creating a connector through the API * validate pipeline description character limit to be 250 characters * add validation for name, description and id of pipeline * add validation for name and id of connectors * lint fix * regexp pattern fix * regexp pattern reformat to string * resolve pr conversations, use multierr to return err in validateConnector * modify regex to correctly match and add tests for validation in connector service_test.go * modify and add tests for service_test.go increase delay in persister_test.go * update regex to confide with provisioning test * lint fix * Update pkg/pipeline/errors.go Co-authored-by: Lovro Mažgon <[email protected]> * regex fix --------- Co-authored-by: Lovro Mažgon <[email protected]>
- Loading branch information
1 parent
e06af99
commit 01fafc5
Showing
7 changed files
with
315 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.