JustPaste.it

#
# 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.
#
# This is the OAK feature.
[feature name=oak]

[variables]
oak.version=1.16.0

# The segment node store is used via a configuration
[artifacts startLevel=10]
org.apache.felix/org.apache.felix.jaas/1.0.2

[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}
# TODO - Sling does not come up without oak-store-composite
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}
org.apache.jackrabbit/oak-blob-cloud/${oak.version}
com.amazonaws/aws-java-sdk-osgi/1.11.330
io.netty/netty-handler/4.1.17.Final
io.netty/netty-buffer/4.1.17.Final
joda-time/joda-time/2.8.1
software.amazon.ion/ion-java/1.0.2
com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/2.6.7
io.netty/netty-codec-http/4.1.17.Final
io.netty/netty-codec/4.1.17.Final
io.netty/netty-resolver/4.1.17.Final
io.netty/netty-common/4.1.17.Final
io.netty/netty-transport/4.1.17.Final

[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

[configurations]
org.apache.felix.jaas.Configuration.factory-GuestLoginModule
jaas.controlFlag="optional"
jaas.classname="org.apache.jackrabbit.oak.spi.security.authentication.GuestLoginModule"
jaas.ranking=I"300"

org.apache.felix.jaas.Configuration.factory-LoginModuleImpl
jaas.controlFlag="required"
jaas.classname="org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl"

org.apache.felix.jaas.Configuration.factory-TokenLoginModule
jaas.controlFlag="sufficient"
jaas.classname="org.apache.jackrabbit.oak.security.authentication.token.TokenLoginModule"
jaas.ranking=I"200"

org.apache.felix.jaas.ConfigurationSpi
jaas.defaultRealmName="jackrabbit.oak"
jaas.configProviderName="FelixJaasProvider"

org.apache.jackrabbit.oak.security.authentication.AuthenticationConfigurationImpl
org.apache.jackrabbit.oak.authentication.configSpiName="FelixJaasProvider"

org.apache.jackrabbit.oak.security.user.UserConfigurationImpl
groupsPath="/home/groups"
usersPath="/home/users"
defaultDepth="1"
importBehavior="besteffort"

org.apache.jackrabbit.oak.security.user.RandomAuthorizableNodeName
length=I"21"

org.apache.jackrabbit.oak.spi.security.user.action.DefaultAuthorizableActionProvider
enabledActions=["org.apache.jackrabbit.oak.spi.security.user.action.AccessControlAction"]
userPrivilegeNames=["jcr:all"]
groupPrivilegeNames=["jcr:read"]

org.apache.jackrabbit.oak.plugins.blob.datastore.S3DataStore
accessKey="XXXXXXXX"
secretKey="XXXXXXXXXXXXXXXXXXXXXXXX"
s3Bucket="testbucket"
s3Region="ap-south-1"
s3EndPoint="s3-website.ap-south-1.amazonaws.com"
connectionTimeout="120000"
socketTimeout="120000"
maxConnections="40"
writeThreads="30"
maxErrorRetry="10"



[configurations runModes=oak_tar]
org.apache.jackrabbit.oak.segment.SegmentNodeStoreService
name="Default\ NodeStore"
customBlobStore=B"true"



[configurations runModes=oak_mongo]
org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService
mongouri="mongodb://localhost:27017"
db="sling"