#
#  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 a feature description
#
# A feature consists of variables and run mode dependent artifacts.
#
[feature name=configadmin]

[configurations]
org.apache.test.A
    name="A"    

org.apache.test.B
    array=[
      "one",
      "two",
      "three"
    ]
    name="B"

org.apache.test.C
    array=I[
      "1",
      "2",
      "3"
    ]
    name="C"    
    
org.apache.test.D
  textA="Here is
    a multiline
    string"     
  textB="Another one\nusing\nescaped newlines"
  
# TODO SLING-5914 this is the input format that's
# specified by the provisioning model, fails with 
# NumberFormatException if activated  
#org.apache.test.E
#    doubleValue=D"5.5"
#    floatValue=F"1.0"
#	doubles=D["0.0", "3.0"]
#	floats=F[
#	  "-1.0",
#	  "1.0"
#    ]
	 
# TODO deactivate this once
# the previous variant works
org.apache.test.E
    doubleValue=D"123456789"
    floatValue=F"223456789"
   doubles=D["323456789", "423456789"]
   floats=F[
     "523456789",
     "623456789"
    ]     	 