Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

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:

...

  • (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/ 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
    • Wiki MarkupAt runtime when reading the WSDL to decide which URL to send the dissemination request to.&nbsp;   In this case, "splitting up" the URL in the WSDL should work, so doing the local.fedora.server\[/fedora\] substitution should happen after the operation URL is constructed from the two places in the WSDL.&nbsp;   But it's not required for the translation at export (with "public" context) to do the replacement.
  • (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 to "split up" local.fedora.server/fedora/ in the WSDL because replacement won't be done on export (with "public" context) that case.
  • (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.

...

  • (Aaron) I think the changes in FCREPO-487 may have fixed this.  Also note that running system tests with alternate configs has changed slightly.
    • If fedora app server context is non-default (i.e. not 'fedora'), need to set environment variable "WEBAPP_NAME" to the new context name in order for tests involving commandline utils to succeed.  (Same technique enables the validator, rebuilder, etc to work without editing env-server.sh/.bat file).unmigrated-wiki-markup
    • Conversion of demo objects or passing additional properties is not necessary any more.&nbsp;   Just run ant juit \ -Dtest=\[system test class A, B, Q\], and it should work automatically.
  • My tests are passing now (Eddie)
  • (tick)

...