updated junit test
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@174078 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
d7c86fae32
commit
381c5dea20
|
@ -4,9 +4,6 @@
|
|||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
<dependent-module archiveName="ckan-util-library-2.8.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ckan-util-library-TRUNK/ckan-util-library-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<property name="context-root" value="uri-resolver"/>
|
||||
<property name="java-output-path" value="/uri-resolver/target/classes"/>
|
||||
</wb-module>
|
||||
|
|
|
@ -210,13 +210,13 @@ public class TestResolvers {
|
|||
*
|
||||
* @throws Exception the exception
|
||||
*/
|
||||
//@Test
|
||||
@Test
|
||||
public void testCatalogueResolverCreatePublicItemURL() throws Exception{
|
||||
|
||||
String entityName = "sarda-sarda";
|
||||
//String entityContext = "product";
|
||||
String entityContext = "dataset";
|
||||
String scope = "/gcube/devsec/devVRE";
|
||||
String scope = "/gcube/devNext/NextNext";
|
||||
|
||||
String url = String.format("%s/%s",URI_RESOLVER_SERVICE_ENDPOINT,"catalogue");
|
||||
logger.info("POST Request to URL: "+url);
|
||||
|
|
Loading…
Reference in New Issue