Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OER Atrifacts Store Setup and Configuration for CVS.

GPS-OracleDec 10 2008 — edited Dec 29 2008
Hello,

My question is related to proper configuration of a CVS based Artifact Store in Oracle Enterprise Repository.

I've attempted to configure a CVS Artifact Store from within OER's Asset Editor (as described on page 27 of the OER Configuration Guide & pages 92-93 of the OER Admin Guide.) I have also ensured that this new Artifact Store is selected in the dropdown for the Submission Upload Artifact Store system setting on the OER Admin page. However, my configuration settings for the Store appear to be incorrect and I haven't found a CVS example that has been thorough enough to infer the proper settings.

So I'm hoping someone can assist me who has been through configuring a CVS Artifact Store for OER. I'll try to provide detailed information below with the hope that it may be of assistance.

First, analogous CVS settings that are configured for my standard CVS plug-in in Oracle Workshop. These settings are for the pserver protocol, but I think they will provide some value to someone who has experience in configuring a CVS Artifact Store.
The standard Eclipse CVS plug-in settings for our enterprise repository location:

Connection Type: pserver
User: sampleuser
Password: Pa55wd
Host: dev003
Repository Path: /cvs/Integration


This translates to repository location --> :pserver:sampleuser:Pa55wd@dev003:/cvs/Integration
(Which is the root of our enterprise CVS repository)


Now…within this repository location above there is a module (Development/OER-POC) that is located in:

/cvs/Integration/Development/OER-POC

…and checked out into a project called "Sandbox" located in the default workspace in Oracle Workshop.



Additionally, within the organization we also have HTTP access to CVS. This previous example XSD I just mentioned has an HTTP URI of:
http://dev003:8080/viewcvs/viewcvs.cgi/Development/OER-POC/src/schemas/ExtOfAddrRef/v1/ExtOfAddrRef.xsd?cvsroot=Integration


Now as I have attempted to properly set up the configuration for the OER Artifact Store I have "translated" the above information into the following entries on the Artifact Store setup screen:

Name: CVS Enterprise Store
Type: Raw SCM
Hostname: dev003
SCM Location: Integration (??? Not sure if this has been inferred correctly. If not what should be specified here.)
SCM Type: CVS
Download Path URI Suffix: cvsroot=Integration (??? Not sure if this correct based in previous information?)
Download Path URI: (??? Not sure what should be specified here. I have inferred several logical options but they have not worked.)



Finally, when I referenced page 62 of the ORE Core Registrars Guide PDF the "Additional Development documentation" link (http://devwiki.flashline.com/index.php/B02831) states:

• "All files from an SCM will be URL addressable. The SCM (or a third party) must provide a way to get a particular file based on a URL. In other words, we are not going to use any client libraries to write code that will retrieve us a file from an SCM. "

• "Added concept of a 'download path' to an artifact store. For example, consider our development environment. Eclipse will have SCM information (i.e. cvs.flashline.com), eclipse/cvs project information (i.e. projects/framework/modules/com.flashline.geneva.rbac), and file/cvs file information (i.e. /code/com/flashline/geneva/rbac/base/RoleContextPersistBroker.java?rev=1.66). Using this info, a fileinfo's uri can be set. The artifact store will then allow us to specify a download base path such as http://cvs.flashline.com/viewcvs/viewcvs.cgi/."


To conclude my questions are:

1) Based on the comments in the Registrar's Guide it seems clear that the intent of an Artifact Store is purely for the support of downloading the physical artifact that corresponds to an OER asset. I would conclude that "Raw SCM" based Artifact Stores do not intend to support direct check-ins for the various SCM systems. (rather assets/artifacts in Eclipse would be manually checked in from within the IDE environment). If someone could confirm whether this is correct that would be much appreciated.

2) Based on the information I supplied for the example enterprise CVS repository...what would the appropriate settings be for these fields on the Artifact Store setup screen:
a) SCM Location
b) Download Path URI Suffix
c) Download Path URI
3) Since the "CVS" SCM Type does NOT specify fields for username and password (unlike when you select other potential SCM Types in the Store setup screen); how should one handle credentials in CVS repositories?


Thanks in advance to any assistance.

~Todd
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2009
Added on Dec 10 2008
1 comment
598 views