Skip to content

Commit

Permalink
Make updates due to kernel/kernel-impl refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Woods committed May 28, 2014
1 parent 0c6ead3 commit 4d821d1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -91,7 +91,7 @@

<dependency>
<groupId>org.fcrepo</groupId>
<artifactId>fcrepo-kernel</artifactId>
<artifactId>fcrepo-kernel-impl</artifactId>
<version>${project.version}</version>
<scope>test</scope>
<classifier>tests</classifier>
Expand Down
Expand Up @@ -15,7 +15,7 @@
*/
package org.fcrepo.auth.xacml;

import static org.fcrepo.kernel.utils.FedoraTypesUtils.isInternalNode;
import static org.fcrepo.kernel.impl.utils.FedoraTypesUtils.isInternalNode;
import static org.modeshape.jcr.api.JcrConstants.JCR_CONTENT;
import static org.jboss.security.xacml.sunxacml.ctx.Status.STATUS_PROCESSING_ERROR;

Expand Down
Expand Up @@ -34,7 +34,7 @@
import org.fcrepo.http.commons.session.SessionFactory;
import org.fcrepo.kernel.FedoraResource;
import org.fcrepo.kernel.rdf.IdentifierTranslator;
import org.fcrepo.kernel.rdf.impl.DefaultIdentifierTranslator;
import org.fcrepo.kernel.impl.rdf.impl.DefaultIdentifierTranslator;
import org.fcrepo.kernel.services.NodeService;

import org.jboss.security.xacml.sunxacml.EvaluationCtx;
Expand Down
7 changes: 4 additions & 3 deletions src/test/resources/spring-test/repo.xml
Expand Up @@ -10,10 +10,9 @@
<!-- Context that supports the actual ModeShape JCR itself -->
<context:annotation-config />

<context:component-scan base-package="org.fcrepo.kernel.services" />
<context:component-scan base-package="org.fcrepo.auth.xacml" />
<context:component-scan base-package="org.fcrepo.kernel,org.fcrepo.auth.xacml" />

<bean name="modeshapeRepofactory" class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean"
<bean name="modeshapeRepofactory" class="org.fcrepo.kernel.impl.spring.ModeShapeRepositoryFactoryBean"
depends-on="authenticationProvider">
<property name="repositoryConfiguration" value="${fcrepo.modeshape.configuration:repository.json}" />
</bean>
Expand All @@ -29,4 +28,6 @@
<property name="initialRootPolicyFile" value="${fcrepo.xacml.initial.root.policy.file:src/main/resources/policies/GlobalRolesPolicySet.xml}"/>
</bean>

<bean id="connectionManager" class="org.apache.http.impl.conn.PoolingHttpClientConnectionManager"/>

</beans>
6 changes: 3 additions & 3 deletions src/test/resources/spring-test/rest.xml
Expand Up @@ -9,11 +9,11 @@
<bean class="org.fcrepo.http.commons.session.SessionFactory"/>

<!-- Mints PIDs-->
<bean class="org.fcrepo.kernel.identifiers.UUIDPidMinter"/>
<bean class="org.fcrepo.kernel.impl.identifiers.UUIDPidMinter"/>

<!-- Identifier translation chain -->
<util:list id="translationChain" value-type="org.fcrepo.kernel.identifiers.InternalIdentifierConverter">
<bean class="org.fcrepo.kernel.identifiers.NamespaceConverter"/>
<bean class="org.fcrepo.kernel.impl.identifiers.NamespaceConverter"/>
</util:list>
<context:component-scan base-package="org.fcrepo.kernel.services, org.fcrepo.http, org.fcrepo.serialization, org.fcrepo.auth.roles.common" />
<context:component-scan base-package="org.fcrepo.kernel, org.fcrepo.http, org.fcrepo.serialization, org.fcrepo.auth.roles.common" />
</beans>

0 comments on commit 4d821d1

Please sign in to comment.