...
ACTION: Review all demo objects and use local.fedora.server where possible. As per ISSUEthe solution for issue-2, use local.fedora.server/fedora/ where appropriate.
WHO: Aaron
STATUS: ?
...
ISSUE-2: Smiley demo "list" dissemination doesn't work with non-fedora context
Wiki Markup |
---|
*CAUSE:* The SDep, demo:CollectionImpl requires the "fedora" part of the path to be specified: <http:operation location="fedora/risearch\[...\]">. |
ACTION:
Wiki Markup
...
(Required) Modify Fedora so that
...
...
http\[s\]
...
/local.fedora.server/fedora/ is interpreted at runtime (and translated when appropriate at export time) with protocol://host:port/context/
...
WHO: Aaron
STATUS:
As it turns out, implementing a fix for portable relative links to resources in and outside the fedora app server context is a bit more complicated than just fixing the WSDL mechanisms.
...
and all other occurances of http\[s\]://local.fedora.server
...
/ are interpreted/translated as protocol://host:port/
- In content of WSDL and other "special" datastreams identified in DOTranslationUtility, when in the "migration" export context (in the same spirit as is done currently with
...
- local.fedora.server
...
- ). This solution will be backward compatible.
- For E and R datastreams
- (Required) Make sure all demo objects use this where appropriate (See ISSUE-1)
- (Required) Document this behavior where appropriate in the user docs. Note that it's not recommended
- (Optional) Create src/test-objects to make sure it works (with possible unit tests)
- (Optional) Find a way to avoid the hardcoding of "/fedora" in the stylesheet used by the smiley demos. Ideally, the correct URL for the images can be constructed without the stylesheet knowing where Fedora is mounted.
WHO: Aaron
STATUS: This is being tracked in FCREPO-486 and FCREPO-487. Work is being done in branches/fcrepo
So.. the task is now considerably weightier. I called Bill for a sanity check, and we both agreed that this issue has enough consequences that it probably warrants a larger discussion. So.. could we (by 'we', I mean anybody who is interested in this issue) meet tomorrow some time to discuss this? How about 10 again?
In the meantime, I created two JIRA issues, and decided to go forward with one solution and see if I reach any additional problems. Because our discussion may have bearing on the ultimate direction this takes, I've decided to put any work on this in a separate branch.
This describes the issue as a whole: https://fedora-commons.org/jira/browse/FCREPO-486
This describes the solution I'll be attempting tonight: https://fedora-commons.org/jira/browse/FCREPO-487
...
ISSUE-3: System tests don't pass with non-fedora context
...