Changeset 6877 for ComponentRegistry
- Timestamp:
- 12/21/15 10:57:38 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-2.0/ComponentRegistry/src/main/webapp/compRegConfig.jsp
r6876 r6877 1 <%-- Configuration hosted next to the front end index page, from which it is loaded --%> 2 <%@ page import="java.net.URI" %> 1 3 { 2 "cors": true,4 "cors": false, 3 5 "REST": { 4 "protocol": "http", 5 "host": "localhost", 6 "port": "8080", 7 "path": "/ComponentRegistry", 8 "auth": { 9 "username": "user", 10 "password": "passwd" 11 } 6 "url": "<%= application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl") %>" 12 7 }, 13 8 "deploy": { 14 "path": "/ComponentRegistry" 9 "path": "<%= 10 URI.create(application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl")) 11 .getPath() //at same URL as app, so simply take path 12 %>" 15 13 } 16 14 }
Note: See TracChangeset
for help on using the changeset viewer.