Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Corona CC use cases

The current CC def'n has 2 parameters per RD. These use cases introduce a 3rd parameter, content-format. --Dennis O'Flynn
  • We need a design review to finalize the set of parameters needed for each RD.
  • Could a simple property (name/value) be used to allow a variable number of parameters?
A simple property mechanism could be used, but some predefined and required properties would have to be defined. In other words something that would replace current mechanism. In addition it would allow change logial model without changing physical model. --Marcin Okraszewski
None of use cases below show example of multiple connection configurations. Can someone give one? --Marcin Okraszewski

CVS repository

Checkout, modify, view, read, commit resources from CVS.

Solution:

  • repository with content-type=CVS, content-format=CVS, access-type=CVS

Web page

Simply a web page.

Solution:

  • content-type=WebPage, content-format=HTML, access-type=HTTP

Questions:

  • If display layer takes into account only content-format, we would have to use some adapter for HTTP protocol, instead of passing it directly to browser :(
It seems to me that content-type and content-format are the same. --Dennis O'Flynn
Not quite. If a page is JavaDoc, then the content-type would be JavaDoc (or ApiDoc), while content-format still HTML. --Marcin Okraszewski

Web page within CVS or JCR repository

Web page stored in some storage repository.

Solution:

  • content-type=WebPage, content-format=HTML, access-type=CVS

Problems:

  • How to display it? A single web page can be easily retrieved from repository and displayed. But what about other resources referred by the page (eg. pictures, scripts, CSS) with relative paths? Is it possible to register new protocol in embedded browser? If not (and I think it is not possible), the only solution I find would be open a local HTTP port and map all requests to proper resources in repository.


Team member XML in CVS

A team member XML in storage repository.

Solution:

  • content-type=Team, content-format=TeamXML, access-type=CVS

Questions:

  • How to specify which file contains the XML.

Team member through WS

A team member repository accessible through Web Service.

Solution

  • content-type=Team, content-format=TeamWS, access-type=WS

Questions

  • Is there any "repository adapter" that would match access-type=WS? This interface couldn't be like normal repository adapter.

Invoke command on server through SSH

For example run command that starts build on a server.

Solution

  • content-type=??, content-format=??, access-type=SSH

Questions

  • Would adapter for SSH have the same interface as repository adapter? Seems doesn't fit well :(

Back to the top