Skip to content

Commit

Permalink
testing with 3.8.0 RC1
Browse files Browse the repository at this point in the history
  • Loading branch information
barmintor authored and awead committed Sep 4, 2014
1 parent 396ffff commit cbbcd89
Show file tree
Hide file tree
Showing 90 changed files with 226 additions and 205 deletions.
2 changes: 1 addition & 1 deletion fedora/client/bin/env-client.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ set OPTS=%OPTS% -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jax
set OPTS=%OPTS% -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
set OPTS=%OPTS% -Dfedora.home="%FEDORA_HOME%"

%JAVA% -Xms64m -Xmx96m -cp %CP% %OPTS% %*
%JAVA% -Xms64m -Xmx96m -cp %CP% %OPTS% %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-admin.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.Administrator %*
call %LAUNCHER% org.fcrepo.client.Administrator %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-batch-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.batch.AutoBatchBuild %*
call %LAUNCHER% org.fcrepo.client.batch.AutoBatchBuild %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-batch-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scriptdir=`dirname "$0"`

execWithCmdlineArgs org.fcrepo.client.batch.AutoBatchBuild

exit $?
exit $?
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-batch-buildingest.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.batch.AutoBatchBuildIngest %*
call %LAUNCHER% org.fcrepo.client.batch.AutoBatchBuildIngest %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-batch-ingest.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.batch.AutoBatchIngest %*
call %LAUNCHER% org.fcrepo.client.batch.AutoBatchIngest %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-batch-ingest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scriptdir=`dirname "$0"`

execWithCmdlineArgs org.fcrepo.client.batch.AutoBatchIngest

exit $?
exit $?
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-dsinfo.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.datastream.DatastreamConduit %*
call %LAUNCHER% org.fcrepo.client.datastream.DatastreamConduit %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-export.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.utility.export.Export %*
call %LAUNCHER% org.fcrepo.client.utility.export.Export %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-find.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.utility.AutoFinder %*
call %LAUNCHER% org.fcrepo.client.utility.AutoFinder %*
4 changes: 2 additions & 2 deletions fedora/client/bin/fedora-ingest-demos.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo ERROR: Not enough arguments.
echo Usage:
echo fedora-ingest-demos host port user password protocol [context]
echo Example:
echo fedora-ingest-demos localhost 8080 fedoraAdmin fedoraAdmin http my-fedora
echo fedora-ingest-demos localhost 8983 fedoraAdmin fedoraAdmin http my-fedora
exit /B 1
:enoughArgs

Expand All @@ -25,4 +25,4 @@ set ARGS=%ARGS% %DEMO_PATH%
set ARGS=%ARGS% %DEMO_FORMAT%
set ARGS=%ARGS% "%1:%2" %3 %4 %5 "" %6

call %LAUNCHER% org.fcrepo.client.utility.ingest.Ingest %ARGS%
call %LAUNCHER% org.fcrepo.client.utility.ingest.Ingest %ARGS%
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-ingest-demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $# -lt 5 ]; then
echo "Usage:"
echo " fedora-ingest-demos host port user password protocol [context]"
echo "Example:"
echo " fedora-ingest-demos localhost 8080 fedoraAdmin fedoraAdmin http my-fedora"
echo " fedora-ingest-demos localhost 8983 fedoraAdmin fedoraAdmin http my-fedora"
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-ingest.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.utility.ingest.Ingest %*
call %LAUNCHER% org.fcrepo.client.utility.ingest.Ingest %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-ingest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scriptdir=`dirname "$0"`

execWithCmdlineArgs org.fcrepo.client.utility.ingest.Ingest

exit $?
exit $?
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-massingest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scriptdir=`dirname "$0"`

execWithCmdlineArgs org.fcrepo.client.test.MassIngest

exit $?
exit $?
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-modify.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.batch.AutoModify %*
call %LAUNCHER% org.fcrepo.client.batch.AutoModify %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-purge.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.utility.AutoPurger %*
call %LAUNCHER% org.fcrepo.client.utility.AutoPurger %*
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-purge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scriptdir=`dirname "$0"`

execWithCmdlineArgs org.fcrepo.client.utility.AutoPurger

exit $?
exit $?
2 changes: 1 addition & 1 deletion fedora/client/bin/fedora-validate-objects.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\client\bin\env-client.bat"

call %LAUNCHER% org.fcrepo.client.utility.validate.process.ValidatorProcess %*
call %LAUNCHER% org.fcrepo.client.utility.validate.process.ValidatorProcess %*
2 changes: 1 addition & 1 deletion fedora/client/demo/soapclient/run-demo-soapclient.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ echo ERROR: java was found in %THIS_JAVA_HOME%, but it was not version 1.4
echo Make sure FEDORA_JAVA_HOME or JAVA_HOME points to a 1.4JRE/JDK base.
goto end

:end
:end
2 changes: 1 addition & 1 deletion fedora/default/docs/license/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<body>
<div id="header">
<h1>Fedora Commons&trade; License</h1>
<h2>Fedora Repository 3.7.0</h2>
<h2>Fedora Repository 3.8.0-SNAPSHOT</h2>
</div>

<ol id="content">
Expand Down
3 changes: 2 additions & 1 deletion fedora/default/install/install.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Install Options
#Thu Sep 19 16:33:04 EDT 2013
#Fri Aug 15 12:40:32 EDT 2014
ri.enabled=false
messaging.enabled=false
apia.auth.required=false
Expand All @@ -12,6 +12,7 @@ database.username=fedoraAdmin
fesl.authz.enabled=false
deploy.local.services=true
xacml.enabled=false
tomcat.http.port=8983
fedora.serverHost=localhost
database=included
database.driver=included
Expand Down
8 changes: 4 additions & 4 deletions fedora/default/server/access/Fedora-API-A-LITE.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
</p>
<p> A complete example URL conforming to this syntax is:</p>
<p>
<i>http://localhost:8080/fedora/describe?xml=true</i>
<i>http://localhost:8983/fedora/describe?xml=true</i>
</p>
</documentation>
<input message="fedora-api:describeRepositoryRequest"/>
Expand Down Expand Up @@ -367,15 +367,15 @@
</p>
<p> A couple complete example URLs conforming to this syntax, are:</p>
<p>
<i>http://localhost:8080/fedora/search?terms=fedora&amp;pid=true</i>
<i>http://localhost:8983/fedora/search?terms=fedora&amp;pid=true</i>
</p>
<dir>
This example requests that the server provide the pids of objects where any of the indexed fields contain the word fedora.
Since maxResults and xml aren't specified, the maxResults the server uses will be a small number, and the result will
be provided in html.
</dir>
<p>
<i>http://localhost:8080/fedora/search?query=pid~*1&amp;maxResults=50&amp;xml=true&amp;pid=true&amp;creator=true</i>
<i>http://localhost:8983/fedora/search?query=pid~*1&amp;maxResults=50&amp;xml=true&amp;pid=true&amp;creator=true</i>
</p>
<dir>
This example requests that the server provide the pids and dc:creators of objects where the pid ends with the number 1.
Expand Down Expand Up @@ -634,7 +634,7 @@ It asks for up to 50 results at a time from the server, and requests that the re
</binding>
<service name="Fedora-API-A-LITE">
<port name="Fedora-API-A-LITE-Port" binding="fedora-api:Fedora-API-A-LITE-Binding">
<http:address location="http://localhost:8080/fedora/"/>
<http:address location="http://localhost:8983/fedora/"/>
</port>
<port name="Fedora-API-A-LITE-Port-SSL" binding="fedora-api:Fedora-API-A-LITE-Binding">
<http:address location="https://localhost:8443/fedora/"/>
Expand Down
4 changes: 2 additions & 2 deletions fedora/default/server/access/Fedora-API-A-MTOM.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@

<service name="Fedora-API-A-MTOM-Service">
<port name="Fedora-API-A-MTOM-Port-SOAPHTTP" binding="fedora-api:Fedora-API-A-MTOM-Binding-SOAPHTTP">
<soap:address location="http://localhost:8080/fedora/services/accessMTOM"/>
<soap:address location="http://localhost:8983/fedora/services/accessMTOM"/>
</port>
<port name="Fedora-API-A-MTOM-Port-SOAPHTTPS" binding="fedora-api:Fedora-API-A-MTOM-Binding-SOAPHTTP">
<soap:address location="https://localhost:8443/fedora/services/accessMTOM"/>
</port>
</service>

</definitions>
</definitions>
2 changes: 1 addition & 1 deletion fedora/default/server/access/Fedora-API-A.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@

<service name="Fedora-API-A-Service">
<port name="Fedora-API-A-Port-SOAPHTTP" binding="fedora-api:Fedora-API-A-Binding-SOAPHTTP">
<soap:address location="http://localhost:8080/fedora/services/access"/>
<soap:address location="http://localhost:8983/fedora/services/access"/>
</port>
<port name="Fedora-API-A-Port-SOAPHTTPS" binding="fedora-api:Fedora-API-A-Binding-SOAPHTTP">
<soap:address location="https://localhost:8443/fedora/services/access"/>
Expand Down
2 changes: 1 addition & 1 deletion fedora/default/server/bin/env-server.bat
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ set OPTS=%OPTS% -Dcom.sun.xacml.PolicySchema="%FEDORA_HOME%\server\xsd\cs-xacml-
set OPTS=%OPTS% -Dfedora.home="%FEDORA_HOME%"
set OPTS=%OPTS% -Dfedora.web.inf.lib="%WEBINF%\lib%"

%JAVA% -server -Xmn64m -Xms256m -Xmx256m -cp %CP% %OPTS% %*
%JAVA% -server -Xmn64m -Xms256m -Xmx256m -cp %CP% %OPTS% %*
2 changes: 1 addition & 1 deletion fedora/default/server/bin/fedora-modify-control-group.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\server\bin\env-server.bat"

call %LAUNCHER% org.fcrepo.server.utilities.ServerUtility migrateDatastreamControlGroup %*
call %LAUNCHER% org.fcrepo.server.utilities.ServerUtility migrateDatastreamControlGroup %*
2 changes: 1 addition & 1 deletion fedora/default/server/bin/fedora-rebuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\server\bin\env-server.bat"

call %LAUNCHER% org.fcrepo.server.utilities.rebuild.Rebuild %*
call %LAUNCHER% org.fcrepo.server.utilities.rebuild.Rebuild %*
2 changes: 1 addition & 1 deletion fedora/default/server/bin/fedora-reload-policies.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\server\bin\env-server.bat"

call %LAUNCHER% org.fcrepo.server.utilities.ServerUtility reloadPolicies %*
call %LAUNCHER% org.fcrepo.server.utilities.ServerUtility reloadPolicies %*
2 changes: 1 addition & 1 deletion fedora/default/server/bin/validate-policy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ exit /B 1

set LAUNCHER="%FEDORA_HOME%\server\bin\env-server.bat"

call %LAUNCHER% org.fcrepo.server.security.PolicyParser %*
call %LAUNCHER% org.fcrepo.server.security.PolicyParser %*
67 changes: 33 additions & 34 deletions fedora/default/server/config/fedora.fcfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ https://wiki.duraspace.org/display/FEDORA36/Spring+Security
<param name="datastreamExtensionMappingSource" value="mime-to-extensions.xml">
<comment>Source of mappings from MIMETYPE to file extension</comment>
</param>
<param name="fedoraServerPort" value="8080">
<param name="fedoraServerPort" value="8983">
<comment>Defines the port number on which the Fedora server runs;
default is 8080.</comment>
</param>
Expand Down Expand Up @@ -142,7 +142,7 @@ https://wiki.duraspace.org/display/FEDORA36/Spring+Security
<param name="POLICY-SCHEMA-PATH" value="xsd/cs-xacml-schema-policy-01.xsd"/>
<param name="ENFORCE-MODE" value="permit-all-requests"/>
<param name="VALIDATE-OBJECT-POLICIES-FROM-DATASTREAM" value="false"/>
<param name="XACML-COMBINING-ALGORITHM" value="com.sun.xacml.combine.OrderedDenyOverridesPolicyAlg"/>
<param name="XACML-COMBINING-ALGORITHM" value="org.jboss.security.xacml.sunxacml.combine.OrderedDenyOverridesPolicyAlg"/>
<param name="VALIDATE-OBJECT-POLICIES-FROM-FILE" value="false"/>
<param name="VALIDATE-REPOSITORY-POLICIES" value="true"/>
<param name="REPOSITORY-POLICIES-DIRECTORY" value="data/fedora-xacml-policies/repository-policies" isFilePath="true"/>
Expand Down Expand Up @@ -205,7 +205,7 @@ https://wiki.duraspace.org/display/FEDORA36/Spring+Security
your own FedoraStorageHintProvider and drop your implementation to the $CATALINA_HOME/webapps/fedora/WEB_INF/classes
directory (unpackaged), or the $CATALINA_HOME/webapps/fedora/WEB_INF/lib director (packaged).</comment>
</param>
<param name="gSearchRESTURL" value="http://localhost:8080/fedoragsearch/rest">
<param name="gSearchRESTURL" value="http://localhost:8983/fedoragsearch/rest">
<comment>The REST endpoint of the Fedora Generic Search service.
This parameter is only required if GSearchDOManager is
used.</comment>
Expand All @@ -222,37 +222,6 @@ https://wiki.duraspace.org/display/FEDORA36/Spring+Security
characters, and may only contain A-Z, a-z, 0-9, &apos;.&apos;, or &apos;-&apos; (dash).</comment>
</param>
</module>
<module role="org.fcrepo.server.management.Management" class="org.fcrepo.server.management.ManagementModule">
<comment>The management subsystem. This implements the methods necessary
to fulfill API-M requests without regard to:
- how the service is exposed
- how bytestreams and java types might be marshalled/demarshalled over the wire
- how the storage subsystem is implemented.</comment>
<param name="purgeDelayInMillis" value="60000">
<comment>Optional, default is 60000 (1 minute).
This specifies the amount of time between checks to remove
temporary files uploaded via the API-M upload interface. During
each check, old files whose age exceeds uploadStorageMinutes
will be removed.</comment>
</param>
<param name="decorator1" value="org.fcrepo.server.messaging.NotificationInvocationHandler"/>
<param name="checksumAlgorithm" value="MD5">
<comment>Specifies which checksumming algorithm is to be used when
automatically computing checksums as specified by the above
parameter. Valid values are: MD5 SHA-1 SHA-256 SHA-384 SHA-512.</comment>
</param>
<param name="uploadStorageMinutes" value="5">
<comment>Optional, default is 5.
This specifies the minimum amount of time that each uploaded
file should be kept in temporary storage.</comment>
</param>
<param name="autoChecksum" value="false">
<comment>Controls whether a checksum is automatically computed for
every datastream as the datastream is added to the repository. This
will allow the integrity of datastream contents to be periodically
checked to insure the object is not corrupted.</comment>
</param>
</module>
<module role="org.fcrepo.server.access.Access" class="org.fcrepo.server.access.DefaultAccess">
<comment>Description: The access subsystem. This implements the methods
necessary to fulfill API-A requests without regard to:
Expand Down Expand Up @@ -521,6 +490,36 @@ https://wiki.duraspace.org/display/FEDORA36/Spring+Security
<module role="org.fcrepo.server.storage.ExternalContentManager" class="org.fcrepo.server.storage.DefaultExternalContentManager">
<comment>This module facilitates obtaining external content via HTTP</comment>
</module>
<module role="org.fcrepo.server.management.Management" class="org.fcrepo.server.management.ManagementModule">
<comment>The management subsystem. This implements the methods necessary
to fulfill API-M requests without regard to:
- how the service is exposed
- how bytestreams and java types might be marshalled/demarshalled over the wire
- how the storage subsystem is implemented.</comment>
<param name="purgeDelayInMillis" value="60000">
<comment>Optional, default is 60000 (1 minute).
This specifies the amount of time between checks to remove
temporary files uploaded via the API-M upload interface. During
each check, old files whose age exceeds uploadStorageMinutes
will be removed.</comment>
</param>
<param name="checksumAlgorithm" value="MD5">
<comment>Specifies which checksumming algorithm is to be used when
automatically computing checksums as specified by the above
parameter. Valid values are: MD5 SHA-1 SHA-256 SHA-384 SHA-512.</comment>
</param>
<param name="autoChecksum" value="false">
<comment>Controls whether a checksum is automatically computed for
every datastream as the datastream is added to the repository. This
will allow the integrity of datastream contents to be periodically
checked to insure the object is not corrupted.</comment>
</param>
<param name="uploadStorageMinutes" value="5">
<comment>Optional, default is 5.
This specifies the minimum amount of time that each uploaded
file should be kept in temporary storage.</comment>
</param>
</module>
<datastore id="localMySQLPool">
<comment>MySQL database on localhost with db name of fedora3. Each
connection pool instance has several configuration parameter that
Expand Down
2 changes: 1 addition & 1 deletion fedora/default/server/config/spring/README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fedora 3.7.0 Spring Configuration
Fedora 3.8.0-SNAPSHOT Spring Configuration
==== Notes ====================
Fedora will attempt to parse all files with a .xml extension in this directory
as Spring bean definitions. The application context for these definitions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@
</map>
</property>
</bean>
<bean id="org.fcrepo.server.security.ContextAttributeFinderModule"
class="org.fcrepo.server.security.ContextAttributeFinderModule"
autowire-candidate="true">
<constructor-arg><ref bean="org.fcrepo.server.security.ContextRegistry" /></constructor-arg>
</bean>

<!--
<AttributeFinder name="org.fcrepo.server.security.xacml.pdp.finder.attribute.LDAPAttributeFinder">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
class="org.fcrepo.server.security.xacml.pep.impl.FESLPolicyEnforcementPoint"
autowire-candidate="true" init-method="init">
<constructor-arg><ref bean="MelcoePDPConfig" /></constructor-arg>
<constructor-arg><ref bean="org.fcrepo.server.security.ContextRegistry" /></constructor-arg>
</bean>
<bean id="org.fcrepo.server.security.Authorization"
class="org.fcrepo.server.security.xacml.pep.impl.FESLAuthorization"
Expand Down
Loading

0 comments on commit cbbcd89

Please sign in to comment.