mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 21:28:00 +08:00
bc5a4dfd2a
* resolve #3096 fixbug ambari plugin the config options which has unit doesnt write unit into config file (#3209) Co-authored-by: zhangchunyang <zhangchunyang@analysys.com.cn> * remove 1.2.1 directory and cherry pick pr 3096 * change 1.3.0 to 1.3.2 of the ambari plugin Co-authored-by: zhangchunyang <zhangchunyang0123@gmail.com> Co-authored-by: zhangchunyang <zhangchunyang@analysys.com.cn>
137 lines
3.6 KiB
XML
137 lines
3.6 KiB
XML
<!--
|
|
~ 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.
|
|
-->
|
|
<configuration>
|
|
<property>
|
|
<name>alert.type</name>
|
|
<value>EMAIL</value>
|
|
<description>alert type is EMAIL/SMS</description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.protocol</name>
|
|
<value>SMTP</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.server.host</name>
|
|
<value>xxx.xxx.com</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.server.port</name>
|
|
<value>25</value>
|
|
<value-attributes>
|
|
<type>int</type>
|
|
</value-attributes>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.sender</name>
|
|
<value>admin</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.user</name>
|
|
<value>admin</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.passwd</name>
|
|
<value>000000</value>
|
|
<description></description>
|
|
<property-type>PASSWORD</property-type>
|
|
<value-attributes>
|
|
<type>password</type>
|
|
</value-attributes>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
|
|
<property>
|
|
<name>mail.smtp.starttls.enable</name>
|
|
<value>true</value>
|
|
<value-attributes>
|
|
<type>boolean</type>
|
|
</value-attributes>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.smtp.ssl.enable</name>
|
|
<value>true</value>
|
|
<value-attributes>
|
|
<type>boolean</type>
|
|
</value-attributes>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>mail.smtp.ssl.trust</name>
|
|
<value>xxx.xxx.com</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
|
|
<property>
|
|
<name>enterprise.wechat.enable</name>
|
|
<value>false</value>
|
|
<description></description>
|
|
<value-attributes>
|
|
<type>value-list</type>
|
|
<entries>
|
|
<entry>
|
|
<value>true</value>
|
|
<label>Enabled</label>
|
|
</entry>
|
|
<entry>
|
|
<value>false</value>
|
|
<label>Disabled</label>
|
|
</entry>
|
|
</entries>
|
|
<selection-cardinality>1</selection-cardinality>
|
|
</value-attributes>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>enterprise.wechat.corp.id</name>
|
|
<value>wechatId</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>enterprise.wechat.secret</name>
|
|
<value>secret</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>enterprise.wechat.agent.id</name>
|
|
<value>agentId</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
<property>
|
|
<name>enterprise.wechat.users</name>
|
|
<value>wechatUsers</value>
|
|
<description></description>
|
|
<on-ambari-upgrade add="true"/>
|
|
</property>
|
|
</configuration> |