zowe / zlux

The top-level superproject for zLUX. zLUX includes the Zowe Desktop framework in addition to several built-in apps and an example server implementation.
Eclipse Public License 2.0
39 stars 42 forks source link

MVS/USS/JES explorers do not work under direct desktop in v2.x #874

Closed 1000TurquoisePogs closed 11 months ago

1000TurquoisePogs commented 2 years ago

The explorers have all their URLs coded to work only in one environment, just the apiml instead of the desktop directly. Users keep on going to the desktop directly (even when in my opinion they shouldnt), and encounter non-working explorers there. There's 2 ways to fix this: Either make the explorers urls conditional to whether or not the host page is apiml (uribroker in the desktop behaves like this, by adding or removing a url prefix to all urls based upon if it sees a prefix on the host page) Or make the app-server do a force redirect to its apiml page version when apiml is enabled.

1000TurquoisePogs commented 1 year ago

Should be complete by https://github.com/zowe/zlux-server-framework/pull/449

1000TurquoisePogs commented 1 year ago

The automated test for this build fails because the test does an assert on a particular url where it goes to port 7556 and expects to still be there, but instead ends up on port 7554, as the code intends, but the test didnt know that. We need to update the test to prevent "AssertionError: expected 'https://***:7554…' to equal './ZLUX/plugins/org.zowe.zlux.bootstra…'" See build https://github.com/zowe/zowe-install-packaging/pull/3169

1000TurquoisePogs commented 11 months ago

This was fixed in 2.10 by performing a redirect.