Skip to content
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 63 commits into from
Aug 20, 2020
Merged

Ui integration #97

merged 63 commits into from
Aug 20, 2020

Conversation

nikhilparmar86
Copy link
Member

EPIC:59563, US-345810 : Modified the constellation deployment to make it conditional and added respective tests.

Parmar and others added 30 commits December 11, 2019 14:51
…onfiguration and updated constellation deployment configuration files.
…onfiguration and updated constellation deployment configuration files.
…onfiguration and updated constellation deployment configuration files.
@dcasavant dcasavant marked this pull request as ready for review July 17, 2020 19:34
Copy link
Member

@dcasavant dcasavant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments inline.

@pegasystems/deployment and @MadhuriArugula - can you take a look? Especially the tests to make sure they don't conflict with your recent work.

@nikhilparmar86 I think we could simplify the passing of the cosmos DSS a fair bit. Let me know if you want to discuss.

This chart is still called constellation, but it should probably be renamed to cosmosui.

charts/pega/values-large.yaml Outdated Show resolved Hide resolved
charts/pega/templates/pega-environment-config.yaml Outdated Show resolved Hide resolved
Copy link
Member

@dcasavant dcasavant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes inline

charts/pega/templates/_pega-deployment.tpl Outdated Show resolved Hide resolved
charts/pega/templates/pega-environment-config.yaml Outdated Show resolved Hide resolved
charts/pega/values-large.yaml Outdated Show resolved Hide resolved
charts/pega/values-minimal.yaml Outdated Show resolved Hide resolved
charts/pega/values.yaml Outdated Show resolved Hide resolved
charts/pega/charts/constellation/values.yaml Show resolved Hide resolved
@dcasavant
Copy link
Member

dcasavant commented Aug 19, 2020

Removing the values.yaml blocks per conversation with Nigel. Will merge this in a dormant state for now and submit one more PR once 8.5 is GA.

Removed block to re-add later:

# Pega constellation UI settings.
# Note : This node is for constellation service whose purpose is to serve static content to applications.
# This is a feature currently under development and is to be used only with Pega versions 8.5 and above.
constellation:
  enabled: false

@dcasavant dcasavant self-requested a review August 19, 2020 14:39
@dcasavant dcasavant dismissed Max-Levitskiy’s stale review August 19, 2020 15:09

There has been significant refactoring since this review. Can you take another look Max?

@dcasavant
Copy link
Member

@Max-Levitskiy FYI

@@ -0,0 +1,36 @@
#Deploy only when the constellation flag has been enabled in the values yaml.
{{ if and .Values.enabled (eq .Values.enabled true) }}
Copy link
Contributor

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.

- backend:
serviceName: {{ .name }}
paths:
{{ if and .root.Values.constellation (eq .root.Values.constellation.enabled true) }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this statement repeated multiple times. Should we extract it?

@dcasavant dcasavant merged commit 7509c8d into pegasystems:master Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants