pegasystems / docker-pega-web-ready

Docker project for generating a tomcat docker image for Pega
Apache License 2.0
56 stars 101 forks source link

Env Variable #191

Closed amitdangayach closed 1 month ago

amitdangayach commented 1 year ago

Describe the bug How to define custom variable in context.xml and how to refer it in pega code

To Reproduce How to define custom variable in context.xml and how to refer it in pega code.

Expected behavior How to define custom variable in context.xml and how to refer it in pega code.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (if applicable, please complete the following information):

Server (if applicable, please complete the following information):

Additional context Add any other context about the problem here.

arvasrikanth commented 1 year ago

@amitdangayach can you provide more details on your use case, what is the custom variable you are talking about and how you want use in pega code ?

kishorv10 commented 4 months ago

@amitdangayach Can you respond to above question?

I would like to provide more details about different configuration options available to update context.ml.

  1. Pega shipped OOTB data source properties can be updated through environment variable, ref here for the list. These properties overrides the defaults in the context.xml
  2. Through pega-helm-charts, extra data source configurations or any other resources can be set using CONEXT_XML_SNIPPET environment variable ref here for more details.
github-actions[bot] commented 2 months ago

This issue has been marked as stale because it has been open for 60 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 30 days since being marked as stale.