This is an automated email from the ASF dual-hosted git repository. bdelacretaz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-repoinit.git
commit 339dc860cd81228c74b6f9d1d60ab687bcc68cb8 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Thu Oct 31 15:08:47 2019 +0100 SLING-8740 - remove provisioning, not needed anymore --- src/test/provisioning/oak.txt | 51 ----------------------------- src/test/provisioning/repoinit-tests.txt | 55 -------------------------------- src/test/provisioning/sling.txt | 47 --------------------------- 3 files changed, 153 deletions(-) diff --git a/src/test/provisioning/oak.txt b/src/test/provisioning/oak.txt deleted file mode 100644 index 74d5537..0000000 --- a/src/test/provisioning/oak.txt +++ /dev/null @@ -1,51 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF 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. -# - -[feature name=oak] - -[variables] - oak.version=1.16.0 - -[artifacts startLevel=15] - org.apache.jackrabbit/oak-api/${oak.version} - org.apache.jackrabbit/oak-blob/${oak.version} - org.apache.jackrabbit/oak-blob-plugins/${oak.version} - org.apache.jackrabbit/oak-commons/${oak.version} - org.apache.jackrabbit/oak-core/${oak.version} - org.apache.jackrabbit/oak-core-spi/${oak.version} - org.apache.jackrabbit/oak-lucene/${oak.version} - org.apache.jackrabbit/oak-jcr/${oak.version} - org.apache.jackrabbit/oak-query-spi/${oak.version} - org.apache.jackrabbit/oak-security-spi/${oak.version} - org.apache.jackrabbit/oak-store-composite/${oak.version} - # OAK-7263 - oak-store-document should be in oak_mongo runmode - org.apache.jackrabbit/oak-store-document/${oak.version} - org.apache.jackrabbit/oak-store-spi/${oak.version} - -[artifacts startLevel=15 runModes=oak_tar] - org.apache.jackrabbit/oak-segment-tar/${oak.version} - -[artifacts startLevel=15 runModes=oak_mongo] - org.mongodb/mongo-java-driver/3.8.2 - com.h2database/h2-mvstore/1.4.194 - -# start the Oak server instance after all components have been configured -# and started to avoid restarting that component ( see SLING-4556 ) -[artifacts startLevel=16] - org.apache.sling/org.apache.sling.jcr.oak.server/1.2.2 diff --git a/src/test/provisioning/repoinit-tests.txt b/src/test/provisioning/repoinit-tests.txt deleted file mode 100644 index 1c881e8..0000000 --- a/src/test/provisioning/repoinit-tests.txt +++ /dev/null @@ -1,55 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF 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. -# - -[feature name=repoinit-tests] - -[artifacts] - org.apache.sling/org.apache.sling.repoinit.parser - org.apache.sling/org.apache.sling.jcr.repoinit - -[configurations] - org.apache.sling.jcr.repoinit.impl.RepositoryInitializer - references=["model:context:/resources/provisioning/model.txt","model@repoinitTwo:context:/resources/provisioning/model.txt"] - -[:repoinit] -# Test the RepositoryInitializer which reads such sections -create path /repoinit/fromProvisioningModel - -create service user userFromProvisioningModel - -set ACL for userFromProvisioningModel - allow jcr:read on /repoinit/fromProvisioningModel - deny jcr:write on /repoinit/fromProvisioningModel -end - -create service user thirdUserFromProvisioningModel - -disable service user thirdUserFromProvisioningModel : "Disabled for testing reason" - -register namespace (slingtest) http://sling.apache.org/ns/test/repoinit-it/v1.0 - -register nodetypes -<<=== -<< <slingtest='http://sling.apache.org/ns/test/repoinit-it/v1.0'> -<< [slingtest:unstructured] > nt:unstructured -===>> - -# second section, to test multiple configured URLs supplied in config -[:repoinitTwo] -create service user secondUserFromProvisioningModel diff --git a/src/test/provisioning/sling.txt b/src/test/provisioning/sling.txt deleted file mode 100644 index fad19c0..0000000 --- a/src/test/provisioning/sling.txt +++ /dev/null @@ -1,47 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF 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. -# - -[feature name=sling] - -[variables] - jackrabbit.version=2.18.2 - -# Dependencies -[artifacts] - org.apache.sling/org.apache.sling.starter/11/slingstart - org.apache.sling/org.apache.sling.junit.core/1.0.26 - # various dependency bumps for Oak - commons-codec/commons-codec/1.13 - org.apache.tika/tika-core/1.22 - org.apache.tika/tika-parsers/1.22 - -# additional configuration for testing -[configurations] - org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment-testing - whitelist.bundles=[ \ - "org.apache.sling.junit.core" \ - ] - whitelist.name="testing" - - org.apache.sling.servlets.resolver.SlingServletResolver - # Set the servlet resolver's cache size to zero for testing - servletresolver.cacheSize=I"0" - -[settings] - org.apache.sling.commons.log.julenabled=true \ No newline at end of file
