Skip to content

LPD-91606 Use namespaced hostname for workspace URLs#277

Merged
drewbrokke merged 6 commits into
liferay:masterfrom
anthony-chu:LPD-91606
Jun 3, 2026
Merged

LPD-91606 Use namespaced hostname for workspace URLs#277
drewbrokke merged 6 commits into
liferay:masterfrom
anthony-chu:LPD-91606

Conversation

@anthony-chu

Copy link
Copy Markdown
Member

https://liferay.atlassian.net/browse/LPD-91606

Workaround at the LEC layer: each workspace gets a distinct <namespace>.localhost hostname so browser cookies scope per workspace. Doesn't change the underlying RFC 6265 behavior — just stops LEC from steering users into the collision by default. Plain localhost:<port> still works for single-workspace use.

@anthony-chu anthony-chu marked this pull request as draft May 21, 2026 16:29
@anthony-chu anthony-chu marked this pull request as ready for review May 21, 2026 22:24
Comment thread compose-recipes/liferay/service.liferay.yaml Outdated
Comment thread build.gradle
}

environmentMap.put("DL_STORE_CLASS", config.dlStoreClass)
environmentMap.put("LIFERAY_VALID_HOSTS", config.webserverHostnames.replace(' ', ','))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

IIRC, weren't we going to just drop this one until we found a use-case for it? Correct me if I'm wrong here...

@anthony-chu anthony-chu requested a review from drewbrokke June 1, 2026 22:31
drewbrokke and others added 4 commits June 2, 2026 15:11
…or transforms

- print headers directly in template
- leverage comma-separation to make whitespace less important in the template
- uses "$.Name" for the service name since "$" always anchors to the root object even inside a range
- uses a "sed" statement to replace the hyphen with the namespaced link
- uses the comma delimiter for the "column" statement
- uses "tee /dev/tty" to print the table while continuing the pipeline
- uses "grep -q ... &&" to conditionally print
- adjusts wording - "project" is the canonical term for a Composer workspace
@drewbrokke drewbrokke merged commit 32ed98c into liferay:master Jun 3, 2026
2 checks passed
@anthony-chu anthony-chu deleted the LPD-91606 branch June 3, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants