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

See if Liberty could read files out of an NSF like a virtual .war #14

Open
jesse-gallagher opened this issue Aug 2, 2019 · 4 comments
Open
Labels
enhancement help wanted liberty

Comments

@jesse-gallagher
Copy link
Member

@jesse-gallagher jesse-gallagher commented Aug 2, 2019

I'm not sure if there's an extension point for this, but Liberty could theoretically act like an .nsf is a .jar file - pair something that registers it with URL handlers and it MAY work.

@jesse-gallagher jesse-gallagher added the enhancement label Aug 2, 2019
@jesse-gallagher
Copy link
Member Author

@jesse-gallagher jesse-gallagher commented Aug 19, 2019

It looks like the entrypoint for this may be com.ibm.websphere.appserver.api.application, and the com.ibm.wsspi.application.handler package. This looks to be paired with the com.ibm.websphere.appserver.spi.artifact module to describe what a container is.

What's not clear, assuming those are even what they seem to be, is how an implementation would tell Liberty about the presence of the apps. Maybe it's done through the dropin system - you drop a file in there, Liberty asks its handlers if they know about it, and it goes from there. That's speculation, though.

@jesse-gallagher
Copy link
Member Author

@jesse-gallagher jesse-gallagher commented Aug 19, 2019

Assuming that it reads files on the filesystem, it could make sense to support .nsf and .nrf files. The latter is just an INI file with the Ref key within [NotesRedirectFile] containing the server!!filepath.nsf path.

@jesse-gallagher
Copy link
Member Author

@jesse-gallagher jesse-gallagher commented Aug 21, 2019

This is absolutely possible, yes.

@jesse-gallagher
Copy link
Member Author

@jesse-gallagher jesse-gallagher commented Jan 18, 2021

Presumably, these apps would be registered via <application> or <webApplication> elements in the server.xml, and then the server looks for a handler for the path/URL.

@jesse-gallagher jesse-gallagher added the help wanted label Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted liberty
Projects
None yet
Development

No branches or pull requests

1 participant