You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2010/07/27 10:15:32 UTC

[jira] Created: (MRM-1409) Web services for repository merging or artifact promotion

Web services for repository merging or artifact promotion
---------------------------------------------------------

                 Key: MRM-1409
                 URL: http://jira.codehaus.org/browse/MRM-1409
             Project: Archiva
          Issue Type: New Feature
          Components: XMLRPC Interface
            Reporter: Maria Odea Ching


I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwen Harold Autencio updated MRM-1409:
--------------------------------------

    Attachment: modified-MRM-1409.patch

Hi Miss Deng,

* corrected typo error
* added object in conflicts list in AdministationServiceImplTest
* removed ${project.version}
* added more unit tests.

Thanks,
Gwen

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, modified-MRM-1409.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-1409:
------------------------------

    Fix Version/s: 1.4

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>             Fix For: 1.4
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwen Harold Autencio updated MRM-1409:
--------------------------------------

    Attachment: archiva.patch

Hi,

Attaching webservice for repository merging. Added service in AdministrationService. after merge it will do a scan on the repository.

Thanks,
Gwen

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Gwen Harold Autencio (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gwen Harold Autencio updated MRM-1409:
--------------------------------------

    Attachment: updated-MRM-1409.patch

Sorry, didn't read the previous comment on the audit logs.
Attaching an updated patch that includes audit log and reports.

Thanks,
Gwen

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching reassigned MRM-1409:
-------------------------------------

    Assignee: Maria Odea Ching

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, modified-MRM-1409.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Issue Comment Edited: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237057#action_237057 ] 

Maria Odea Ching edited comment on MRM-1409 at 9/30/10 10:52 PM:
-----------------------------------------------------------------

Patch applied to trunk [-r1003378|http://svn.apache.org/viewvc?revision=1003378&view=revision]. Thanks Gwen!

      was (Author: oching):
    Patch applied to trunk -r1003378. Thanks Gwen!
  
> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, modified-MRM-1409.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236841#action_236841 ] 

Maria Odea Ching commented on MRM-1409:
---------------------------------------

Thanks for the patch Gwen :) A couple of minor comments though:

* There's a missing 'e' in 'Triggred' in the ff. line for AuditEvent:

{code}
+    public static final String MERGE_REPO_REMOTE = "Merged Staging Repository Triggred Remotely";
{code}

* For RepositoryMerger, it might be better to rename the following method to getConflictingArtifacts(..)

{code}
+    public List<ArtifactMetadata> getConflictsartifacts( String sourceRepo, String targetRepo )
+        throws Exception;
{code}

* In AdministrationServiceImpl, what is the call to .removeAll(..) for since conflicts is an empty list?

{code}
+        List<ArtifactMetadata> conflicts = new ArrayList<ArtifactMetadata>();
+        sources.removeAll( conflicts );
{code}

* Lastly, you can already remove the <version>${project.version}</version> in the dependencies that you've added in the respective POMs since the version is already specified in the root POM


> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-1409.
---------------------------------

    Resolution: Fixed

Patch applied to trunk -r1003378. Thanks Gwen!

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>            Assignee: Maria Odea Ching
>             Fix For: 1.4
>
>         Attachments: archiva.patch, modified-MRM-1409.patch, updated-MRM-1409.patch
>
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-1409) Web services for repository merging or artifact promotion

Posted by "Maria Odea Ching (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=229923#action_229923 ] 

Maria Odea Ching commented on MRM-1409:
---------------------------------------

This should also show up in the audit logs report. We can indicate that the merging was triggered remotely.

> Web services for repository merging or artifact promotion
> ---------------------------------------------------------
>
>                 Key: MRM-1409
>                 URL: http://jira.codehaus.org/browse/MRM-1409
>             Project: Archiva
>          Issue Type: New Feature
>          Components: XMLRPC Interface
>            Reporter: Maria Odea Ching
>
> I think CRUD for managed repositories should be a pre-requisite of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira