Changeset 6963 for ComponentRegistry/trunk/ComponentRegistry
- Timestamp:
- 02/09/16 14:53:05 (8 years ago)
- Location:
- ComponentRegistry/trunk
- Files:
-
- 7 deleted
- 14 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/trunk
-
ComponentRegistry/trunk/ComponentRegistry
-
ComponentRegistry/trunk/ComponentRegistry/pom.xml
r6454 r6963 4 4 <modelVersion>4.0.0</modelVersion> 5 5 <parent> 6 <groupId> clarin.cmdi</groupId>6 <groupId>eu.clarin.cmdi</groupId> 7 7 <artifactId>componentRegistry.parent</artifactId> 8 <version> 1.0</version>8 <version>2.1-SNAPSHOT</version> 9 9 </parent> 10 <groupId> clarin.cmdi</groupId>11 <artifactId> ComponentRegistry</artifactId>10 <groupId>eu.clarin.cmdi</groupId> 11 <artifactId>component-registry-rest</artifactId> 12 12 <packaging>${packaging}</packaging> 13 <version> ${ComponentRegistry.version}</version>13 <version>2.1-SNAPSHOT</version> 14 14 <name>ComponentRegistry</name> 15 15 <description> … … 23 23 <!-- Properties to configure ComponentRegistry override on commandline 24 24 with -D or change here --> 25 <serviceRootUrl>http://localhost:8080/${project.artifactId}</serviceRootUrl> 25 <serviceUrlBase>http://localhost:8080</serviceUrlBase> 26 <serviceUrlPath>/${project.artifactId}</serviceUrlPath> 26 27 <!-- Will be inserted in context.xml --> 27 28 <webXmlPath>src/main/webapp/WEB-INF/web-test.xml</webXmlPath> 28 29 <!-- non-shib web.xml --> 29 30 <isocatSearchUrl>http://www.isocat.org/rest/user/guest/search</isocatSearchUrl> 30 <ComponentRegistrySwfName>${project.artifactId}-${ComponentBrowserGui.version}</ComponentRegistrySwfName> 31 <flexDebug>0</flexDebug> 31 <frontEndVersion>1.0.0-beta3</frontEndVersion> 32 32 <spring-data-jpa.version>1.3.4.RELEASE</spring-data-jpa.version> 33 33 <spring.version>3.2.10.RELEASE</spring.version> … … 41 41 </properties> 42 42 43 44 43 <ciManagement> 45 44 <system>hudson</system> … … 346 345 <logging.level>debug</logging.level> 347 346 <logging.appender>CONSOLE</logging.appender> 348 <serviceRootUrl>http://localhost:8080/ComponentRegistry</serviceRootUrl> 347 <serviceUrlBase>http://localhost:8080</serviceUrlBase> 348 <serviceUrlPath>/ComponentRegistry</serviceUrlPath> 349 349 <!-- Will be inserted in context.xml --> 350 350 <shibLI>http://lux16.mpi.nl/Shibboleth.sso/Login</shibLI> … … 359 359 <id>lux16</id> 360 360 <properties> 361 <serviceRootUrl>http://lux16.mpi.nl/ds/ComponentRegistry</serviceRootUrl> 361 <serviceUrlBase>http://lux16.mpi.nl</serviceUrlBase> 362 <serviceUrlPath>/ds/ComponentRegistry</serviceUrlPath> 362 363 <!-- Will be inserted in context.xml --> 363 <shibLI>http ://lux16.mpi.nl/Shibboleth.sso/Login</shibLI>364 <shibLI>https://lux16.mpi.nl/Shibboleth.sso/Login</shibLI> 364 365 <!-- Shibboleth login URI for SHHAA --> 365 <shibLO>http ://lux16.mpi.nl/Shibboleth.sso/Logout</shibLO>366 <shibLO>https://lux16.mpi.nl/Shibboleth.sso/Logout</shibLO> 366 367 <!-- Shibboleth logout URI for SHHAA --> 367 368 <webXmlPath>src/main/webapp/WEB-INF/web-shib.xml</webXmlPath> … … 373 374 <properties> 374 375 <logging.level>warn</logging.level> 375 <serviceRootUrl>http://catalog.clarin.eu/ds/ComponentRegistry</serviceRootUrl> 376 <serviceRootUrl></serviceRootUrl> 377 <serviceUrlBase>http://catalog.clarin.eu</serviceUrlBase> 378 <serviceUrlPath>/ds/ComponentRegistry</serviceUrlPath> 376 379 <!-- Will be inserted in context.xml --> 377 380 <shibLI>https://catalog.clarin.eu/Shibboleth.sso/Login</shibLI> … … 490 493 <executions> 491 494 <execution> 492 <id> copy</id>495 <id>unpack-ui</id> 493 496 <phase>process-resources</phase> 494 497 <goals> 495 <goal> copy</goal>498 <goal>unpack</goal> 496 499 </goals> 497 500 <configuration> 498 501 <artifactItems> 499 502 <artifactItem> 500 <groupId>clarin.cmdi</groupId> 501 <artifactId>ComponentBrowserGui</artifactId> 502 <version>${ComponentBrowserGui.version}</version> 503 <type>swf</type> 503 <groupId>${project.groupId}</groupId> 504 <artifactId>component-registry-react-ui</artifactId> 505 <version>${frontEndVersion}</version> 504 506 <overWrite>true</overWrite> 505 507 <outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}</outputDirectory> 506 <destFileName>${ComponentRegistrySwfName}.swf</destFileName> 508 <!-- exclude bundled external config, we provide our own --> 509 <excludes>compRegConfig.jsp</excludes> 507 510 </artifactItem> 508 511 </artifactItems> … … 549 552 </build> 550 553 551 <!--552 <reporting>553 <plugins>554 <plugin>555 <groupId>org.codehaus.mojo</groupId>556 <artifactId>findbugs-maven-plugin</artifactId>557 <version>2.5.4-SNAPSHOT</version>558 <configuration>559 <excludeFilterFile>${basedir}/src/main/resources/findbugs-exclude.xml</excludeFilterFile>560 <threshold>Normal</threshold>561 <effort>Min</effort>562 </configuration>563 </plugin>564 </plugins>565 </reporting>566 -->567 554 <repositories> 568 569 570 571 572 555 <repository> 556 <id>CLARIN</id> 557 <name>Clarin Repository</name> 558 <url>https://nexus.clarin.eu/content/repositories/Clarin</url> 559 </repository> 573 560 </repositories> 574 561 </project> -
ComponentRegistry/trunk/ComponentRegistry/src/main/java
- Property svn:mergeinfo changed
/ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/main/java (added) merged: 5939,5972-5975,6860,6862,6887,6890-6891
- Property svn:mergeinfo changed
-
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestService.java
r5938 r6963 1615 1615 1616 1616 /** 1617 * 1618 * @return The application's base URI as configured in the 1619 * {@link #APPLICATION_BASE_URL_PARAM} context parameter. If correctly 1620 * configured, it should look something like 1621 * "http://catalog.clarin.eu/ds/ComponentRegistry". <em>Be aware that this 1622 * can also be null if configured incorrectly!</em> 1623 * 1624 * @see #APPLICATION_BASE_URL_PARAM 1617 * 1618 * @see ComponentRegistryRestService#getApplicationBaseURI(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest) 1625 1619 */ 1626 1620 private String getApplicationBaseURI() { 1627 return servletContext.getInitParameter(APPLICATION_BASE_URL_PARAM);1621 return getApplicationBaseURI(servletContext, request); 1628 1622 } 1629 1623 … … 1996 1990 } 1997 1991 } 1992 1993 /** 1994 * 1995 * @return The application's base URI as defined by the following context 1996 * parameters: 1997 * 1998 * {@link APPLICATION_URL_BASE_PARAM}, 1999 * {@link APPLICATION_URL_PATH_PARAM}, 2000 * {@link APPLICATION_URL_PROTOCOL_HEADER_PARAM}, and 2001 * {@link APPLICATION_URL_HOST_HEADER_PARAM} 2002 * 2003 * If correctly configured, it should look something like 2004 * "http://catalog.clarin.eu/ds/ComponentRegistry". <em>Be aware that this 2005 * can also be null if configured incorrectly!</em> 2006 */ 2007 public static String getApplicationBaseURI(ServletContext servletContext, HttpServletRequest request) { 2008 final String path = servletContext.getInitParameter(APPLICATION_URL_PATH_PARAM); 2009 if (path != null) { 2010 final String protocolHeader = servletContext.getInitParameter(APPLICATION_URL_PROTOCOL_HEADER_PARAM); 2011 final String hostHeader = servletContext.getInitParameter(APPLICATION_URL_HOST_HEADER_PARAM); 2012 if (protocolHeader != null && hostHeader != null) { 2013 2014 return String.format("%s://%s%s", 2015 request.getHeader(protocolHeader), 2016 request.getHeader(hostHeader), 2017 path 2018 ); 2019 } else { 2020 final String base = servletContext.getInitParameter(APPLICATION_URL_BASE_PARAM); 2021 return base + path; 2022 } 2023 } 2024 LOG.error("Application URI could not be determined. Information available:\n" 2025 + " {}: {}\n {}: {}\n {}: {}\n {}: {}", 2026 APPLICATION_URL_PATH_PARAM, servletContext.getInitParameter(APPLICATION_URL_PATH_PARAM), 2027 APPLICATION_URL_BASE_PARAM, servletContext.getInitParameter(APPLICATION_URL_BASE_PARAM), 2028 APPLICATION_URL_PROTOCOL_HEADER_PARAM, servletContext.getInitParameter(APPLICATION_URL_PROTOCOL_HEADER_PARAM), 2029 APPLICATION_URL_HOST_HEADER_PARAM, servletContext.getInitParameter(APPLICATION_URL_HOST_HEADER_PARAM) 2030 ); 2031 throw new RuntimeException("Cannot determine application path"); 2032 } 2033 1998 2034 } -
ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/IComponentRegistryRestService.java
r5832 r6963 38 38 public interface IComponentRegistryRestService { 39 39 40 public static final String APPLICATION_BASE_URL_PARAM = "eu.clarin.cmdi.componentregistry.serviceRootUrl"; 40 public static final String APPLICATION_URL_BASE_PARAM = "eu.clarin.cmdi.componentregistry.serviceUrlBase"; 41 public static final String APPLICATION_URL_PATH_PARAM = "eu.clarin.cmdi.componentregistry.serviceUrlPath"; 42 public static final String APPLICATION_URL_PROTOCOL_HEADER_PARAM = "eu.clarin.cmdi.componentregistry.serviceUrlProtocolHeader"; 43 public static final String APPLICATION_URL_HOST_HEADER_PARAM = "eu.clarin.cmdi.componentregistry.serviceUrlHostHeader"; 41 44 public static final String DATA_FORM_FIELD = "data"; 42 45 public static final String NAME_FORM_FIELD = "name"; -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/META-INF/context.xml
r5917 r6963 37 37 <Context antiJARLocking="true" path="/ComponentRegistry"> 38 38 <!-- 39 Passed to the Flex UI via index.jsp so that it can locate the 40 ComponentRegistry REST service. Just supply the application root: 41 the '/rest/registry' part will be added by the application. 39 Passed to the Flex via compRegConfig.jsp so that it can locate the 40 ComponentRegistry REST service. Just supply the PUBLIC application root 41 in the path; the '/rest/registry' part will be added by the application. 42 43 "serviceUrlPath" is MANDATORY in all cases and should contain the path 44 of the application relative to the server root, starting with a forward 45 slash but no trailing slash, e.g. "/ComponentRegistry", or "" for root 46 deployment. 47 48 In addition, either "serviceUrlPath" OR the two parameters 49 "serviceUrlProtocolHeader" and "serviceUrlHostHeader" need to be 50 defined. 42 51 --> 43 <Parameter name="eu.clarin.cmdi.componentregistry.serviceRootUrl" value="${serviceRootUrl}"/> 52 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlBase" value="${serviceUrlBase}"/> 53 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlPath" value="${serviceUrlPath}"/> 54 <!-- 55 Uncomment two lines below iff you would like to use the protocol and host 56 provided in the request headers. 57 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlProtocolHeader" value="X-FORWARDED-PROTO"/> 58 <Parameter name="eu.clarin.cmdi.componentregistry.serviceUrlHostHeader" value="X-FORWARDED-HOST"/> 59 --> 60 44 61 <!-- 45 62 Location that gets redirected to from /documentation.jsp, which in turn is linked to … … 50 67 Space-separated list of users (getRemoteUser()) that should have access to the admin area of the ComponentRegistry 51 68 --> 52 <Parameter name="eu.clarin.cmdi.componentregistry.adminUsers" value="twagoo@mpi.nl olhsha@mpi.nl daan.broeder@mpi.nl dietuyt@mpi.nl Menzo.Windhouwer@mpi.nl"/>69 <Parameter name="eu.clarin.cmdi.componentregistry.adminUsers" value="twagoo@mpi.nl twan.goosen_mpi.nl@clarin.eu dietuyt@mpi.nl dietuyt_mpi.nl@clarin.eu menwin@mpi.nl menwin_mpi.nl@clarin.eu"/> 53 70 <!-- 54 71 Location of the CMDI general component schema that validates component specifications -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/WEB-INF/shhaa.xml
r5871 r6963 35 35 36 36 <authorization> 37 <location target="/admin/*" /> 37 <location target="/admin/*" /> 38 <location target="/rest/authentication" methods="POST" /> 38 39 </authorization> 39 40 -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/WEB-INF/web-shib.xml
r5944 r6963 87 87 <url-pattern>/admin/*</url-pattern> 88 88 </filter-mapping> 89 90 <!-- Enable CORS --> 91 <!-- <filter> 92 <filter-name>CorsFilter</filter-name> 93 <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> 94 <init-param> 95 <param-name>cors.allowed.methods</param-name> 96 <param-value>GET, POST, PUT, DELETE, HEAD, OPTIONS</param-value> 97 </init-param> 98 </filter> 99 <filter-mapping> 100 <filter-name>CorsFilter</filter-name> 101 <url-pattern>/*</url-pattern> 102 </filter-mapping>--> 103 89 104 <servlet> 90 105 <servlet-name>ComponentRegistry Web Application</servlet-name> … … 127 142 <load-on-startup>2</load-on-startup> 128 143 </servlet> 144 145 <welcome-file-list> 146 <welcome-file>index.html</welcome-file> 147 </welcome-file-list> 129 148 130 149 </web-app> -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/WEB-INF/web-test.xml
r5944 r6963 65 65 <url-pattern>/admin/*</url-pattern> 66 66 </filter-mapping> 67 68 <!-- Enable CORS --> 69 <!-- <filter> 70 <filter-name>CorsFilter</filter-name> 71 <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> 72 <init-param> 73 <param-name>cors.allowed.methods</param-name> 74 <param-value>GET, POST, PUT, DELETE, HEAD, OPTIONS</param-value> 75 </init-param> 76 </filter> 77 <filter-mapping> 78 <filter-name>CorsFilter</filter-name> 79 <url-pattern>/*</url-pattern> 80 </filter-mapping>--> 81 67 82 <servlet> 68 83 <servlet-name>ComponentRegistry Web Application</servlet-name> … … 142 157 143 158 <welcome-file-list> 144 <welcome-file>index. jsp</welcome-file>159 <welcome-file>index.html</welcome-file> 145 160 </welcome-file-list> 146 161 -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/WEB-INF/web.xml
r5917 r6963 65 65 <url-pattern>/admin/*</url-pattern> 66 66 </filter-mapping> 67 68 <!-- Enable CORS --> 69 <!-- <filter> 70 <filter-name>CorsFilter</filter-name> 71 <filter-class>org.apache.catalina.filters.CorsFilter</filter-class> 72 <init-param> 73 <param-name>cors.allowed.methods</param-name> 74 <param-value>GET, POST, PUT, DELETE, HEAD, OPTIONS</param-value> 75 </init-param> 76 </filter> 77 <filter-mapping> 78 <filter-name>CorsFilter</filter-name> 79 <url-pattern>/*</url-pattern> 80 </filter-mapping>--> 81 67 82 <servlet> 68 83 <servlet-name>ComponentRegistry Web Application</servlet-name> … … 120 135 </auth-constraint> 121 136 </security-constraint> 122 <security-constraint>123 <display-name>ComponentRegistry SWF GET</display-name>124 <web-resource-collection>125 <web-resource-name>ComponentRegistry access</web-resource-name>126 <description />127 <url-pattern>/*</url-pattern>128 <http-method>GET</http-method>129 </web-resource-collection>130 <auth-constraint>131 <role-name>tomcat</role-name>132 </auth-constraint>133 </security-constraint>134 137 <login-config> 135 138 <auth-method>BASIC</auth-method> … … 142 145 143 146 <welcome-file-list> 144 <welcome-file>index. jsp</welcome-file>147 <welcome-file>index.html</welcome-file> 145 148 </welcome-file-list> 146 149 -
ComponentRegistry/trunk/ComponentRegistry/src/main/webapp/index.jsp
r6591 r6963 1 1 <?xml version="1.0" encoding="UTF-8" ?> 2 2 <%@ page language="java" contentType="text/html; charset=UTF-8" 3 3 pageEncoding="UTF-8"%> 4 4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 5 6 6 <html 7 xmlns="http://www.w3.org/1999/xhtml" lang="en"> 8 <head> 9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 7 xmlns="http://www.w3.org/1999/xhtml" lang="en"> 8 <head> 9 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 10 <title>${title}</title> 11 </head> 10 12 11 <!-- BEGIN Browser History required section --> 12 <link rel="stylesheet" type="text/css" href="history/history.css" /> 13 <!-- END Browser History required section --> 13 <body> 14 <form action="rest/authentication" method="GET"> 15 <input type="submit" value="Authentication status"/> 16 </form> 17 <form action="rest/authentication?redirect=${pageContext.request.requestURL}" method="POST"> 18 <input type="submit" value="Log in"/> 19 </form> 14 20 15 <title>${title}</title> 16 <script src="AC_OETags.js" language="javascript"></script> 21 <!-- Piwik --> 22 <script type="text/javascript"> 23 var _paq = _paq || []; 24 _paq.push(['trackPageView']); 25 _paq.push(['enableLinkTracking']); 26 (function() { 27 var u="//stats.clarin.eu/"; 28 _paq.push(['setTrackerUrl', u+'piwik.php']); 29 _paq.push(['setSiteId', 17]); 30 var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; 31 g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); 32 })(); 33 </script> 34 <noscript><p><img src="//stats.clarin.eu/piwik.php?idsite=17" style="border:0;" alt="" /></p></noscript> 35 <!-- End Piwik Code --> 17 36 18 <!-- BEGIN Browser History required section -->19 <script src="history/history.js" language="javascript"></script>20 <!-- END Browser History required section -->21 22 <style>23 body {24 margin: 0px;25 overflow: hidden26 }27 </style>28 <script type="text/javascript" src="./js/extMouseWheel.js"></script>29 <script language="JavaScript" type="text/javascript">30 <!--31 // -----------------------------------------------------------------------------32 // Globals33 // Major version of Flash required34 var requiredMajorVersion = ${version_major};35 // Minor version of Flash required36 var requiredMinorVersion = ${version_minor};37 // Minor version of Flash required38 var requiredRevision = ${version_revision};39 // -----------------------------------------------------------------------------40 // -->41 </script>42 </head>43 44 <body scroll="no">45 <div id="flashContainerDiv"46 style="position: absolute; width: 100%; height: 100%"><script47 language="JavaScript" type="text/javascript">48 <!--49 // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)50 var hasProductInstall = DetectFlashVer(6, 0, 65);51 52 // Version check based upon the values defined in globals53 var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);54 55 if ( hasProductInstall && !hasRequestedVersion ) {56 // DO NOT MODIFY THE FOLLOWING FOUR LINES57 // Location visited after installation is complete if installation is required58 var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";59 var MMredirectURL = window.location;60 document.title = document.title.slice(0, 47) + " - Flash Player Installation";61 var MMdoctitle = document.title;62 63 AC_FL_RunContent(64 "src", "playerProductInstall",65 "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",66 "width", "${width}",67 "height", "${height}",68 "align", "middle",69 "id", "${application}",70 "quality", "high",71 "bgcolor", "${bgcolor}",72 "name", "${application}",73 "allowScriptAccess","sameDomain",74 "type", "application/x-shockwave-flash",75 "pluginspage", "http://www.adobe.com/go/getflashplayer"76 );77 } else if (hasRequestedVersion) {78 // if we've detected an acceptable version79 // embed the Flash Content SWF when all tests are passed80 AC_FL_RunContent(81 "src", "${ComponentRegistrySwfName}",82 "width", "${width}",83 "height", "${height}",84 "align", "middle",85 "id", "${application}",86 "quality", "high",87 "bgcolor", "${bgcolor}",88 "name", "${application}",89 "allowScriptAccess","sameDomain",90 "type", "application/x-shockwave-flash",91 "pluginspage", "http://www.adobe.com/go/getflashplayer",92 "FlashVars", "serviceRootUrl=<%= application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl") %>&userName=${pageContext.request.remoteUser}&itemId=${param.itemId}&view=${param.view}&browserview=${param.browserview}®istrySpace=${param.registrySpace}&groupId=${param.groupId}&debug=${flexDebug}"93 94 );95 } else { // flash is too old or we can't detect the plugin96 var alternateContent = 'This content requires the Adobe Flash Player. '97 + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';98 document.write(alternateContent); // insert non-flash content99 }100 // -->101 </script>102 <noscript><object103 classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"104 id="${application}" width="${width}" height="${height}"105 codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">106 <param name="movie" value="${ComponentRegistrySwfName}.swf" />107 <param name="quality" value="high" />108 <param name="bgcolor" value="${bgcolor}" />109 <param name="allowScriptAccess" value="sameDomain" />110 <embed src="${ComponentRegistrySwfName}.swf" quality="high" bgcolor="${bgcolor}"111 width="${width}" height="${height}" name="${application}"112 align="middle" play="true" loop="false" quality="high"113 allowScriptAccess="sameDomain" type="application/x-shockwave-flash"114 pluginspage="http://www.adobe.com/go/getflashplayer"115 FlashVars="serviceRootUrl=<%= application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl") %>&userName=${pageContext.request.remoteUser}&item=${param.item}&view=${param.view}&browserview=${param.browserview}&space=${param.space}&debug=${flexDebug}">116 </embed>117 </object>118 </noscript>119 </div>120 37 121 38 <!-- Piwik --> -
ComponentRegistry/trunk/ComponentRegistry/src/test/java
- Property svn:mergeinfo changed
/ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/test/java merged: 6892
- Property svn:mergeinfo changed
-
ComponentRegistry/trunk/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/rest/ComponentRegistryRestServiceTestCase.java
r5800 r6963 96 96 .contextParam("contextConfigLocation", 97 97 getApplicationContextFile()) 98 .contextParam("eu.clarin.cmdi.componentregistry.serviceUrlBase", "localhost") // deliberately inaccurate, 99 .contextParam("eu.clarin.cmdi.componentregistry.serviceUrlPath", "test") // for use of user/front end only 98 100 .servletClass(SpringServlet.class) 99 101 .initParam(WebComponent.RESOURCE_CONFIG_CLASS,
Note: See TracChangeset
for help on using the changeset viewer.