-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Fully Qualified App Name (#86)
* app name functions and refactored devfile registry labels function for app name getter changes Signed-off-by: Michael Valdron <[email protected]> * truncateName & LabelsForDevfileRegistry test cases Signed-off-by: Michael Valdron <[email protected]> * app name getter test cases Signed-off-by: Michael Valdron <[email protected]> * refactor naming.go functions to use fully qualified app name instead of CR name Signed-off-by: Michael Valdron <[email protected]> * change truncated length of app full name part of configmap name to add space for suffix part Signed-off-by: Michael Valdron <[email protected]> * naming function getter test cases Signed-off-by: Michael Valdron <[email protected]> * truncateName & truncateNameLengthN comment blocks Signed-off-by: Michael Valdron <[email protected]> * k8s ingress host name uses app full name rather than CR name to match OpenShift route url Signed-off-by: Michael Valdron <[email protected]> * fix full name contains case Signed-off-by: Michael Valdron <[email protected]> * fix given CR names in integration test cases to contain default app name devfile-registry Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]>
- Loading branch information
1 parent
c385aba
commit 89120e9
Showing
23 changed files
with
1,186 additions
and
86 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// | ||
// Copyright Red Hat | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package registry | ||
|
||
const maxTruncLength = 63 |
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.