Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316921

Summary: Need artifact repository entities in the p2 ecore model
Product: z_Archived Reporter: Thomas Hallgren <thomas>
Component: b3Assignee: Thomas Hallgren <thomas>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: henrik.lindberg
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Thomas Hallgren CLA 2010-06-15 11:06:35 EDT
The p2 ecore model is missing IArtifactDescriptor and IArtifactRepository.
Comment 1 Thomas Hallgren CLA 2010-06-17 10:19:22 EDT
The model now contains everything needed to load a SimpleArtifactRepository.

IRepository
  |- Repository
  |- IAritfactRepository
        |- ArtifactRepository
        |- IFileArtifactRepository
             |- SimpleArtifactRepository

IArtifactDescriptor
  |- ArtifactDescriptor
       |- SimpleArtifactDescriptor

MappingRule (for SimpleArtifactRepository rules).

The inheritance for the MetadataRepository was changed so that it now shares a common Repository implementation with the ArtifactRepository.

All functionality except actually dealing with artifacts (i.e. OutputStreams and Files) was implemented so the repository is queryable.

I also added tests for the new classes in the org.eclipse.b3.p2.tests bundle.