#
#  Copyright 2019 WeBank
#
# Licensed 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.

apiVersion: v1
data:
  linkis.properties: |+
    #
    # Copyright 2019 WeBank
    # Licensed 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.
    #

    wds.linkis.server.mybatis.mapperLocations=classpath:com/webank/wedatasphere/linkis/datasourcemanager/core/dao/mapper/*.xml
    wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.linkis.datasourcemanager.common.domain
    wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.linkis.datasourcemanager.core.dao

    wds.linkis.server.restful.scan.packages=com.webank.wedatasphere.linkis.datasourcemanager.core.restful

    #sit
    wds.linkis.server.version=v1

    #test
    wds.linkis.test.mode=true
    wds.linkis.test.user=
    wds.linkis.server.mybatis.datasource.url=
    wds.linkis.server.mybatis.datasource.username=
    wds.linkis.server.mybatis.datasource.password=

    #dsm
    wds.linkis.server.dsm.admin.users=

    #bml
    wds.linkis.gateway.ip=
    wds.linkis.gateway.port=

kind: ConfigMap
metadata:
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:data:
        .: {}
        f:linkis-bml.properties: {}
    manager: kubectl
    operation: Update
  name: linkis-dsm-server-config
  namespace: default

