Created
May 7, 2015 18:17
-
-
Save mhogeweg/643855607852f3ef784c to your computer and use it in GitHub Desktop.
updated gpt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
See the NOTICE file distributed with | |
this work for additional information regarding copyright ownership. | |
Esri Inc. licenses this file to You under the Apache License, Version 2.0 | |
(the "License"); you may not use this file except in compliance with | |
the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and | |
limitations under the License. | |
--> | |
<gptConfig version="1.2.5"> | |
<databaseReference name="gpt" jndiName="jdbc/gpt"/> | |
smtpHost="mail_server_smtp_host" | |
smtpPort="" | |
siteEmailAddress="portal_contact_email_address" | |
emailAddressRegexp="^[a-zA-Z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+(\.[a-zA-Z0-9,!#\$%&'\*\+/=\?\^_`\{\|}~-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*$"> | |
<smtpAuth | |
username="" | |
password="" | |
encrypted="false"/> | |
</mail> | |
<interactiveMap | |
jsapiUrl="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.5" | |
mapServiceUrl="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer" | |
mapServiceType="dynamic" | |
geometryServiceUrl="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" | |
locatorUrl="" | |
locatorSingleFieldParameter = "city"/> | |
<catalog gptTablePrefix="GPT_"> | |
<lucene | |
indexLocation="C:\lucene" | |
writeLockTimeout="60000" | |
useNativeFSLockFactory="true" | |
analyzerClassName="org.apache.lucene.analysis.standard.StandardAnalyzer"> | |
</lucene> | |
<parameter key="lucene.alwaysStoreXmlInIndex" value="false"/> | |
<parameter key="lucene.force.isPartOf" value=""/> | |
<parameter key="lucene.useSingleSearcher" value="true"/> | |
<parameter key="lucene.useSingleWriter" value="true"/> | |
<parameter key="lucene.useLocalWriter" value="true"/> | |
<parameter key="lucene.useRemoteWriter" value="false"/> | |
<parameter key="lucene.remoteWriterUrl" value=""/> | |
<parameter key="assertion.index.enabled" value="true"/> | |
<parameter key="assertion.index.location" value="C:\lucene\assertion"/> | |
<parameter key="assertion.index.allowNonLocalResourceIds" value="false"/> | |
<parameter key="assertion.rating.enabled" value="true"/> | |
<parameter key="assertion.comment.enabled" value="true"/> | |
<parameter key="assertion.comment.maxLength" value="2048"/> | |
<mapViewer> | |
<instance | |
url="http://www.arcgis.com/home/webmap/viewer.html" | |
className="com.esri.gpt.catalog.search.MapViewerAgsPortal"> | |
<parameter | |
key="wmsBaseMapUrl" | |
value="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/> | |
</instance> | |
</mapViewer> | |
<search | |
searchTimeoutMillisecs="10000" | |
distributedSearchTimeoutMillisecs="5000" | |
distributedSearchMaxSelectedSites="5" | |
searchResultsPerPage="10" | |
searchResultsReviewsShown="only-reviewed" | |
maxSavedSearches="10" | |
allowExternalSiteSearch="true" | |
allowTemporalSearch="true"> | |
<repositories> | |
<repository | |
key="local" | |
class="com.esri.gpt.catalog.search.SearchEngineLocal" | |
labelResourceKey="catalog.search.searchSite.defaultsite" | |
abstractResourceKey="catalog.search.searchSite.defaultsite.abstract"/> | |
<!-- Default search engine that catches blank rids --> | |
<repository key="^$" | |
class="com.esri.gpt.catalog.search.SearchEngineLocal" | |
labelResourceKey="" | |
abstractResourceKey=""/> | |
<!-- arcgis.com rid. Optional. --> | |
<repository key="arcgis.com" | |
class="com.esri.gpt.catalog.search.SearchEngineRest" | |
labelResourceKey="catalog.search.searchSite.agsonline" | |
abstractResourceKey="catalog.search.searchSite.agsonline.abstract"> | |
<parameter key="endPointSearchUrl" value="http://www.arcgis.com/sharing/search?q={searchTerms}&start={startIndex}&num={count}&f=json"/> | |
<parameter key="defaultParamValues" value="q✔access:shared || access:public || access:private "/> | |
<parameter key="profileId" value="urn:esri:gpt:HTTP:JSON:ESRI:AGSONLINE" /> | |
</repository> | |
<repository | |
key="dataGov" | |
class="com.esri.gpt.catalog.search.SearchEngineExternalCsw" | |
labelResourceKey="catalog.search.searchSite.dataGov" | |
abstractResourceKey="catalog.search.searchSite.dataGov.abstract"> | |
<parameter key="profileId" value="urn:ogc:CSW:2.0.2:HTTP:APISO:PYCSW" /> | |
<parameter key="url" value="http://catalog.data.gov/csw?service=CSW&version=2.0.2&request=GetCapabilities" /> | |
</repository> | |
<repository | |
key="geodab" | |
class="com.esri.gpt.catalog.search.SearchEngineExternalCsw" | |
labelResourceKey="catalog.search.searchSite.geoDab" | |
abstractResourceKey="catalog.search.searchSite.geoDab.abstract"> | |
<parameter key="profileId" value="urn:ogc:CSW:2.0.2:HTTP:APISO:GICAT" /> | |
<parameter key="url" value="http://production.geodab.eu/gi-cat-StP/services/cswiso?request=GetCapabilities&service=CSW&version=2.0.2" /> | |
</repository> | |
<repository key="*" class="com.esri.gpt.catalog.search.SearchEngineExternalCsw"/> | |
</repositories> | |
<searchResultFormat> | |
<format regexFormat="csv" class="com.esri.gpt.control.georss.CsvWriter"> | |
</format> | |
</searchResultFormat> | |
</search> | |
<metadataAccessPolicy type="unrestricted"/> | |
<parameter key="sitemap.baseUrl" value=""/> | |
<parameter key="sitemap.documentUrlPattern" value="/sitemap/document/{0}?f=html"/> | |
<parameter key="sitemap.documentUrl?attern.html" value="/sitemap/document/{0}?f=html"/> | |
<parameter key="sitemap.documentUrlPattern.htmlfragment" value="/sitemap/document/{0}?f=htmlfragment"/> | |
<parameter key="sitemap.documentUrlPattern.xml" value="/sitemap/document/{0}?f=xml"/> | |
<parameter key="sitemap.documentUrlPattern.kml" value="/sitemap/document/{0}?f=kml"/> | |
<parameter key="sitemap.urlsPerIndexFile" value="1000"/> | |
<parameter key="sitemap.urlsPerSitemapFile" value="1000"/> | |
<parameter key="sitemap.namespaceUri" value="http://www.sitemaps.org/schemas/sitemap/0.9"/> | |
<parameter key="sitemap.changefreq" value="weekly"/> | |
<parameter key="sitemap.priority" value=""/> | |
<parameter key="webharvester.active" value="true"/> | |
<parameter key="webharvester.queueEnabled" value=""/> | |
<parameter key="webharvester.poolsize" value=""/> | |
<parameter key="webharvester.autoSelectFrequency" value=""/> | |
<parameter key="webharvester.watchDogFrequency" value=""/> | |
<parameter key="webharvester.baseContextPath" value=""/> | |
<parameter key="webharvester.maxRepRecords" value="70"/> | |
<parameter key="webharvester.maxRepErrors" value="7"/> | |
<parameter key="webharvester.resource.autoApprove" value=""/> | |
<parameter key="webharvester.updateindex" value="true"/> | |
<parameter key="webharvester.cleanup" value="true"/> | |
<parameter key="webharvester.policy.class" value="com.esri.gpt.control.webharvest.engine.SimpleHarvestPolicy"/> | |
<parameter key="webharvester.policy.simple.frequency" value="1"/> | |
<parameter key="webharvester.agp2agp.maxItems" value="2000"/> | |
<parameter key="catalog.enableEditForAllPubMethods" value="false"/> | |
<parameter key="catalog.admin.allowApplyToAll" value="true"/> | |
<parameter key="catalog.useCollections" value="false"/> | |
<parameter key="database.isCaseSensitive" value="true"/> | |
<parameter key="publicationRequest.autoApprove" value="false"/> | |
<parameter key="spatialRelevance.ranking.maxDoc" value="1000000"/> | |
<parameter key="rssProviderUrl" value=""/> | |
<parameter key="reverseProxy.baseContextPath" value=""/> | |
<parameter key="RestServlet.printXml.stripStyleSheets" value="true"/> | |
<parameter key="Administration.viewMetadata.stripStyleSheets" value="true"/> | |
<parameter key="httpClientRequest.connectionTimeout" value="2[MINUTE]"/> | |
<parameter key="httpClientRequest.responseTimeout" value="2[MINUTE]"/> | |
<parameter key="httpClient.alwaysClose" value="false"/> | |
<parameter key="resourceLinkBuilder.preview.filter" | |
value="^ftp://.*|^ftps://.*|.*\.zip$|.*\.e00$|.*\.lpk$|.*\.pkinfo$|.*\.gz$|.*\.tgz$|.*\.tar$|.*\.rar$|.*\.shp$|.*\.dbf$|.*\.xls$|.*\.dwg$|.*\.dxf$|.*\.dgn$|.*\.mxd$|.*\.lyr$|.*\.nmf$|.*f=lyr.*|.*f=nmf.*|.*/globeserver.*|.*/gpserver.*|.*/geocodeserver.*|.*/geometryserver.*|.*/networkserver.*|.*/geodataserver.*|.*service=wfs.*|.*wfsserver.*|.*service=wcs.*|.*wcsserver.*|.*service=csw.*|.*cswserver.*|.*mobileserver.*|.*naserver.*"/> | |
<parameter key="ldap.identity.manage.userRoleEnabled" value="true"/> | |
<parameter key="ldap.identity.restrictToConfiguredRoles" value="true"/> | |
<parameter key="ldap.identity.search.maxResults" value="1000"/> | |
<parameter key="servicechecker.enabled" value="false"/> | |
<parameter key="servicechecker.token" value=""/> | |
<parameter key="servicechecker.checkUrl" value="http://registry.fgdc.gov/statuschecker/api/v2/results"/> | |
<parameter key="servicechecker.infoUrl" value="http://registry.fgdc.gov/statuschecker/ServiceDetail.php"/> | |
<parameter key="catalog.cart.enabled" value="false"/> | |
<parameter key="catalog.cart.maxItems" value="100"/> | |
<parameter key="catalog.cart.processor" value="com.esri.gpt.control.cart.ZipXmls"/> | |
<!-- Mapping file to map dcat fields to lucene index fields --> | |
<parameter key="dcat.mappings" value="gpt/metadata/dcat-mappings.xml"/> | |
<!-- DCAT cache directory --> | |
<parameter key="dcat.cache.path" value=""/> | |
</catalog> | |
<downloadData | |
taskUrl="" | |
mapServiceUrl="" | |
mapServiceType=""> | |
<features> | |
<feature key="File Geodatabase - GDB - .gdb" alias="gdb" resKey="catalog.download.feature.gdb"/> | |
<feature key="Shapefile - SHP - .shp" alias="shp" resKey="catalog.download.feature.shp"/> | |
<feature key="Autodesk AutoCAD - ACAD - .dxf" alias="dxf" resKey="catalog.download.feature.dxf"/> | |
<feature key="Autodesk AutoCAD - ACAD - .dwg" alias="dwg" resKey="catalog.download.feature.dwg"/> | |
<feature key="Bentley Microstation Design (V8) - DGN_V8 - .dgn" alias="dgn" resKey="catalog.download.feature.dgn"/> | |
</features> | |
<rasters> | |
<raster key="ESRI GRID - GRID" alias="grd" resKey="catalog.download.raster.grd"/> | |
<raster key="File Geodatabase - GDB - .gdb" alias="gdb" resKey="catalog.download.raster.gdb"/> | |
<raster key="ERDAS IMAGINE - IMG - .img" alias="img" resKey="catalog.download.raster.img"/> | |
<raster key="Tagged Image File Format - TIFF - .tif" alias="tif" resKey="catalog.download.raster.tif"/> | |
<raster key="Graphic Interchange Format - GIF - .gif" alias="gif" resKey="catalog.download.raster.gif"/> | |
<raster key="Joint Photographics Experts Group - JPEG - .jpg" alias="jpg" resKey="catalog.download.raster.jpg"/> | |
<raster key="Joint Photographics Experts Group - JPEG 2000 - .jp2" alias="jp2" resKey="catalog.download.raster.jp2"/> | |
<raster key="Bitmap - BMP - .bmp" alias="bmp" resKey="catalog.download.raster.bmp"/> | |
<raster key="Portable Network Graphics - PNG - .png" alias="png" resKey="catalog.download.raster.png"/> | |
</rasters> | |
</downloadData> | |
<identity encKey="PtkESRI" realm="Geoportal"> | |
<simpleAdapter> | |
<account username="gptuser" password="gptuser" encrypted="false"/> | |
<roles> | |
<role key="gptRegisteredUser"/> | |
<role key="gptPublisher"/> | |
<role key="gptAdministrator"/> | |
</roles> | |
</simpleAdapter> | |
</identity> | |
<!-- Scheduled Background Threads --> | |
<scheduler active="true" corePoolSize="0"> | |
<!-- Catalog synchronization (sync Lucene index with the database) --> | |
<thread class="com.esri.gpt.catalog.context.CatalogSynchronizer" at="01:00"/> | |
<!-- DCAT cache generation --> | |
<thread class="com.esri.gpt.control.georss.dcatcache.DcatCacheTask" period='1[DAY]' delay="15[SECOND]"/> | |
</scheduler> | |
<protocols default="false"> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.pro?ocol.factories.ResourceProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.resource"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.ArcGISProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.arcgis"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.ArcImsProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.arcims"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.OaiProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.oai"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.WafProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.waf"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.CswProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.csw"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.ThreddsProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.thredds"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.AtomProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.atom"/> | |
<protocol factoryClass="com.esri.gpt.control.webharvest.protocol.factories.DCATProtocolFactory" | |
resourceKey="catalog.harvest.manage.edit.protocol.dcat"/> | |
</protocols> | |
</gptConfig> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you teach me how to connect LDAP with geoportal??, i still dont understand how to setting this LDAP configuration especially in gpt.xml