zowe / zss

Zowe System Services Server for enabling low-level microservices
Eclipse Public License 2.0
13 stars 45 forks source link

Fix cookie name setup #675

Closed 1000TurquoisePogs closed 5 months ago

1000TurquoisePogs commented 7 months ago

ZSS was determining whether or not to use a cookie with the suffix of its http port, or with the suffix of the HA instance name, depending on whether it detected an environment variable that appears to never have been in v2, and maybe was from v1.

Now, I try to detect if we're in an HA mode depending upon the quantity of elements in the "haInstances" section of the zowe YAML.

This should be sufficient, since if you are not using HA, that section should be commented out.

1000TurquoisePogs commented 7 months ago

Fix for https://github.com/zowe/zlux/issues/969

1000TurquoisePogs commented 7 months ago

Fix for https://github.com/zowe/zss/issues/599