package org.carlspring.strongbox.xml;

import org.carlspring.strongbox.storage.Storage;

import javax.xml.bind.annotation.XmlElement;
import java.util.ArrayList;
import java.util.List;

/**
 * @author mtodorov
 */
public class StorageMap
{

    @XmlElement(name = "storage")
    private List<Storage> entries = new ArrayList<Storage>();


    public List<Storage> getEntries()
    {
        return entries;
    }

    public void add(Storage storage)
    {
        entries.add(storage);
    }

}


@@ -318,23 +318,16 @@
 rayList%3C
-Storage
 %3E();%0A%0A%0A 

Make the routing configurable via REST