-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ui integration #97
Merged
Merged
Ui integration #97
Changes from 53 commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
3b8d63f
Added yaml for ui constellation
4b78e3e
Added pega.yaml that launches infinity and kubernetes together
anuds20 a63b1cc
Added the changes to accept DNode settings as Java arguments
anuds20 78d33ef
Added changes to establish communication between Infinity and Constel…
anuds20 9a099eb
Modified c11n ingress files to autodeploy the ingress path based rout…
anuds20 44e7c95
Resolved the constellation health check issue.
anuds20 8c90d1c
Added constellation deployment configuration to Infinity deployment c…
anuds20 d4fdb6a
Updated the comments in pega-environment-config and constellation val…
anuds20 1837cb9
Added yaml for ui constellation
9b2b22e
Added pega.yaml that launches infinity and kubernetes together
anuds20 c97bb49
Added the changes to accept DNode settings as Java arguments
anuds20 27ea74c
Added changes to establish communication between Infinity and Constel…
anuds20 20f9966
Modified c11n ingress files to autodeploy the ingress path based rout…
anuds20 f5bc6bd
Resolved the constellation health check issue.
anuds20 49b8810
Added constellation deployment configuration to Infinity deployment c…
anuds20 4659435
Updated the comments in pega-environment-config and constellation val…
anuds20 23ee19a
Added yaml for ui constellation
e7c3f35
Added pega.yaml that launches infinity and kubernetes together
anuds20 a2aaecd
Added the changes to accept DNode settings as Java arguments
anuds20 70f81c4
Added changes to establish communication between Infinity and Constel…
anuds20 c9b43cb
Modified c11n ingress files to autodeploy the ingress path based rout…
anuds20 7c5ff87
Resolved the constellation health check issue.
anuds20 79682d5
Added constellation deployment configuration to Infinity deployment c…
anuds20 8756f9a
Updated the comments in pega-environment-config and constellation val…
anuds20 f03ac4a
Merge branch 'master' of https://github.com/nikhilparmar86/pega-helm-…
69ef9c3
Changes based on PR review - 1
anuds20 2a34491
Temp
36c8a88
Merge branch 'ui_integration' of https://github.com/nikhilparmar86/pe…
2012f96
Added condition to create ingress for constellation
36120ec
EPIC:59563, US-345810 : Modified the constellation deployment to make…
anuds20 a4d3666
Reverted unwanted in addons values yaml.
anuds20 92e8602
Fixed Lint errors
28a2cba
Updated with master
5b74aed
Rebased with master
aeb07f4
Updated go tests to work with constellation service changes.
anuds20 c2d4096
Added constellation test.
anuds20 a16e392
Updated the package for constellation test.
anuds20 5e1790e
Removed redundant pegahelmcharts path
anuds20 297b636
Modified existing deployment config based on PR#97 comments.
anuds20 d92a67b
Merge remote-tracking branch 'upstream/master'
44b91dd
Merge branch 'master' into ui_integration
be5c5be
Upated based on PR comments
ae4ed65
Modified constellation tests.
anuds20 528e898
Merge branch 'ui_integration' of https://github.com/nikhilparmar86/pe…
anuds20 1f4bcfa
Updated constellation deployment charts based on the PR review comments.
anuds20 96394d2
Removed the infinity url parameter as constellation no longer require…
anuds20 37c411e
Added a placeholder for the image repo.
anuds20 a2ac157
Synced up the file with master.
anuds20 6fcbed6
Updated the constellation charts based on review comments.
anuds20 27319e2
Updated the constellation URI settings parameter and value.
anuds20 4441cb7
Update the constellation parameter in all values yaml files.
anuds20 9c67156
Modified the value of the constellation url and also modified the go …
anuds20 1c11427
Renamed the UI service to reflect the latest name COSMOS.
anuds20 5899d80
Fixed issues in templates.
anuds20 a500b0c
Reverted the cosmosUI change.
anuds20 0f22cd4
Reverted cosmosUI changes
a911a69
Updated the constellation service path based on PR comments.
anuds20 df44d88
Merge branch 'ui_integration' of https://github.com/nikhilparmar86/pe…
anuds20 79298c4
Modified the DSS settings as per PR review comments.
anuds20 023dbd3
Updated constellation tests.
anuds20 edbac0a
Minor changes based on feedback with Nigel.
dcasavant 36c1d66
Fix yaml formatting
dcasavant da0b802
Incorporate code review feedback
dcasavant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
apiVersion: v1 | ||
name: cosmosUI | ||
version: 0.0.1 | ||
description: Pega Constellation UI service | ||
appVersion: 8.5.0 |
34 changes: 34 additions & 0 deletions
34
charts/pega/charts/constellation/templates/clln-deployment.yaml
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,34 @@ | ||
#Deploy only when the cosmosUI flag has been enabled in the values yaml. | ||
{{ if and .Values.enabled (eq .Values.enabled true) }} | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
metadata: | ||
name: cosmosUI | ||
labels: | ||
app: cosmosUI | ||
# component: cosmosUI | ||
spec: | ||
replicas: 1 | ||
dcasavant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
selector: | ||
matchLabels: | ||
app: cosmosUI | ||
# component: cosmosUI | ||
template: | ||
metadata: | ||
labels: | ||
app: cosmosUI | ||
# component: cosmosUI | ||
spec: | ||
imagePullSecrets: | ||
- name: {{ template "pegaRegistrySecret" }} | ||
containers: | ||
dcasavant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: cosmosUIUI | ||
imagePullPolicy: {{ .Values.imagePullPolicy }} | ||
image: {{ .Values.image }} | ||
args: | ||
- port=3000 | ||
- sync=true | ||
dcasavant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- {{ .Values.logLevel }} | ||
ports: | ||
- containerPort: 3000 | ||
{{ end }} |
19 changes: 19 additions & 0 deletions
19
charts/pega/charts/constellation/templates/clln-service.yaml
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 @@ | ||
#Deploy only when the cosmosUI flag has been enabled in the values yaml. | ||
{{ if and .Values.enabled (eq .Values.enabled true) }} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: cosmosUI | ||
labels: | ||
app: cosmosUI | ||
# component: cosmosUI | ||
spec: | ||
selector: | ||
app: cosmosUI | ||
# component: cosmosUI | ||
ports: | ||
- protocol: TCP | ||
port: 3000 | ||
targetPort: 3000 | ||
type: NodePort | ||
dcasavant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{{ end }} |
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,7 @@ | ||
--- | ||
# Parameters for Constellation operation: | ||
# Docker repos and tag for image | ||
image: IMAGE_REPO_URL_HERE | ||
dcasavant marked this conversation as resolved.
Show resolved
Hide resolved
|
||
# log level : error, warn, info, debug. use error for production | ||
logLevel: info | ||
enabled: false |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,29 @@ | ||
package pega | ||
|
||
import ( | ||
"path/filepath" | ||
"testing" | ||
|
||
"github.com/gruntwork-io/terratest/modules/helm" | ||
"github.com/stretchr/testify/require" | ||
) | ||
|
||
// set action execute to install | ||
var cosmosUI_options = &helm.Options{ | ||
SetValues: map[string]string{ | ||
"global.provider": "k8s", | ||
"global.actions.execute": "deploy", | ||
"cosmosUI.enabled": "true", | ||
}, | ||
} | ||
|
||
// TestPegaStandardTierDeployment - Test case to verify the standard pega tier deployment. | ||
// Standard tier deployment includes web deployment, batch deployment, stream statefulset, search service, hpa, rolling update, web services, ingresses and config maps | ||
func TestPegaStandardTierDeploymentWithConstellation(t *testing.T) { | ||
t.Parallel() | ||
// Path to the helm chart we will test | ||
helmChartPath, err := filepath.Abs(PegaHelmChartPath) | ||
require.NoError(t, err) | ||
|
||
VerifyPegaStandardTierDeployment(t, helmChartPath, cosmosUI_options, []string{"wait-for-pegasearch", "wait-for-cassandra"}) | ||
} |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, we shouldn't check boolean value with eq operator.