theme.json 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  1. {
  2. "name": "default",
  3. "description": "Default theme for Dolphin Scheduler service",
  4. "configuration": {
  5. "layouts": [
  6. {
  7. "name": "default",
  8. "tabs": [
  9. {
  10. "name": "settings",
  11. "display-name": "Settings",
  12. "layout": {
  13. "tab-rows": "3",
  14. "tab-columns": "3",
  15. "sections": [
  16. {
  17. "name": "dolphin-env-config",
  18. "display-name": "Dolphin Env Config",
  19. "row-index": "0",
  20. "column-index": "0",
  21. "row-span": "1",
  22. "column-span": "2",
  23. "section-rows": "1",
  24. "section-columns": "2",
  25. "subsections": [
  26. {
  27. "name": "env-row1-col1",
  28. "display-name": "Deploy User Info",
  29. "row-index": "0",
  30. "column-index": "0",
  31. "row-span": "1",
  32. "column-span": "1"
  33. },
  34. {
  35. "name": "env-row1-col2",
  36. "display-name": "System Env Optimization",
  37. "row-index": "0",
  38. "column-index": "1",
  39. "row-span": "1",
  40. "column-span": "1"
  41. }
  42. ]
  43. },
  44. {
  45. "name": "dolphin-database-config",
  46. "display-name": "Database Config",
  47. "row-index": "1",
  48. "column-index": "0",
  49. "row-span": "1",
  50. "column-span": "2",
  51. "section-rows": "1",
  52. "section-columns": "3",
  53. "subsections": [
  54. {
  55. "name": "database-row1-col1",
  56. "row-index": "0",
  57. "column-index": "0",
  58. "row-span": "1",
  59. "column-span": "1"
  60. },
  61. {
  62. "name": "database-row1-col2",
  63. "row-index": "0",
  64. "column-index": "1",
  65. "row-span": "1",
  66. "column-span": "1"
  67. },
  68. {
  69. "name": "database-row1-col3",
  70. "row-index": "0",
  71. "column-index": "2",
  72. "row-span": "1",
  73. "column-span": "1"
  74. }
  75. ]
  76. },
  77. {
  78. "name": "dynamic-config",
  79. "row-index": "2",
  80. "column-index": "0",
  81. "row-span": "1",
  82. "column-span": "2",
  83. "section-rows": "1",
  84. "section-columns": "3",
  85. "subsections": [
  86. {
  87. "name": "dynamic-row1-col1",
  88. "display-name": "Resource FS Config",
  89. "row-index": "0",
  90. "column-index": "0",
  91. "row-span": "1",
  92. "column-span": "1"
  93. },
  94. {
  95. "name": "dynamic-row1-col2",
  96. "display-name": "Kerberos Info",
  97. "row-index": "0",
  98. "column-index": "1",
  99. "row-span": "1",
  100. "column-span": "1"
  101. },
  102. {
  103. "name": "dynamic-row1-col3",
  104. "display-name": "Wechat Info",
  105. "row-index": "0",
  106. "column-index": "1",
  107. "row-span": "1",
  108. "column-span": "1"
  109. }
  110. ]
  111. }
  112. ]
  113. }
  114. }
  115. ]
  116. }
  117. ],
  118. "placement": {
  119. "configuration-layout": "default",
  120. "configs": [
  121. {
  122. "config": "dolphin-env/dolphin.database.type",
  123. "subsection-name": "database-row1-col1"
  124. },
  125. {
  126. "config": "dolphin-env/dolphin.database.host",
  127. "subsection-name": "database-row1-col2"
  128. },
  129. {
  130. "config": "dolphin-env/dolphin.database.port",
  131. "subsection-name": "database-row1-col2"
  132. },
  133. {
  134. "config": "dolphin-env/dolphin.database.username",
  135. "subsection-name": "database-row1-col3"
  136. },
  137. {
  138. "config": "dolphin-env/dolphin.database.password",
  139. "subsection-name": "database-row1-col3"
  140. },
  141. {
  142. "config": "dolphin-env/dolphin.user",
  143. "subsection-name": "env-row1-col1"
  144. },
  145. {
  146. "config": "dolphin-env/dolphin.group",
  147. "subsection-name": "env-row1-col1"
  148. },
  149. {
  150. "config": "dolphin-env/dolphinscheduler-env-content",
  151. "subsection-name": "env-row1-col2"
  152. },
  153. {
  154. "config": "dolphin-common/resource.storage.type",
  155. "subsection-name": "dynamic-row1-col1"
  156. },
  157. {
  158. "config": "dolphin-common/resource.upload.path",
  159. "subsection-name": "dynamic-row1-col1",
  160. "depends-on": [
  161. {
  162. "configs":[
  163. "dolphin-common/resource.storage.type"
  164. ],
  165. "if": "${dolphin-common/resource.storage.type} === HDFS || ${dolphin-common/resource.storage.type} === S3",
  166. "then": {
  167. "property_value_attributes": {
  168. "visible": true
  169. }
  170. },
  171. "else": {
  172. "property_value_attributes": {
  173. "visible": false
  174. }
  175. }
  176. }
  177. ]
  178. },
  179. {
  180. "config": "dolphin-common/hdfs.root.user",
  181. "subsection-name": "dynamic-row1-col1",
  182. "depends-on": [
  183. {
  184. "configs":[
  185. "dolphin-common/resource.storage.type"
  186. ],
  187. "if": "${dolphin-common/resource.storage.type} === HDFS",
  188. "then": {
  189. "property_value_attributes": {
  190. "visible": true
  191. }
  192. },
  193. "else": {
  194. "property_value_attributes": {
  195. "visible": false
  196. }
  197. }
  198. }
  199. ]
  200. },
  201. {
  202. "config": "dolphin-common/data.store2hdfs.basepath",
  203. "subsection-name": "dynamic-row1-col1",
  204. "depends-on": [
  205. {
  206. "configs":[
  207. "dolphin-common/resource.storage.type"
  208. ],
  209. "if": "${dolphin-common/resource.storage.type} === HDFS",
  210. "then": {
  211. "property_value_attributes": {
  212. "visible": true
  213. }
  214. },
  215. "else": {
  216. "property_value_attributes": {
  217. "visible": false
  218. }
  219. }
  220. }
  221. ]
  222. },
  223. {
  224. "config": "dolphin-common/fs.defaultFS",
  225. "subsection-name": "dynamic-row1-col1",
  226. "depends-on": [
  227. {
  228. "configs":[
  229. "dolphin-common/resource.storage.type"
  230. ],
  231. "if": "${dolphin-common/resource.storage.type} === HDFS",
  232. "then": {
  233. "property_value_attributes": {
  234. "visible": true
  235. }
  236. },
  237. "else": {
  238. "property_value_attributes": {
  239. "visible": false
  240. }
  241. }
  242. }
  243. ]
  244. },
  245. {
  246. "config": "dolphin-common/fs.s3a.endpoint",
  247. "subsection-name": "dynamic-row1-col1",
  248. "depends-on": [
  249. {
  250. "configs":[
  251. "dolphin-common/resource.storage.type"
  252. ],
  253. "if": "${dolphin-common/resource.storage.type} === S3",
  254. "then": {
  255. "property_value_attributes": {
  256. "visible": true
  257. }
  258. },
  259. "else": {
  260. "property_value_attributes": {
  261. "visible": false
  262. }
  263. }
  264. }
  265. ]
  266. },
  267. {
  268. "config": "dolphin-common/fs.s3a.access.key",
  269. "subsection-name": "dynamic-row1-col1",
  270. "depends-on": [
  271. {
  272. "configs":[
  273. "dolphin-common/resource.storage.type"
  274. ],
  275. "if": "${dolphin-common/resource.storage.type} === S3",
  276. "then": {
  277. "property_value_attributes": {
  278. "visible": true
  279. }
  280. },
  281. "else": {
  282. "property_value_attributes": {
  283. "visible": false
  284. }
  285. }
  286. }
  287. ]
  288. },
  289. {
  290. "config": "dolphin-common/fs.s3a.secret.key",
  291. "subsection-name": "dynamic-row1-col1",
  292. "depends-on": [
  293. {
  294. "configs":[
  295. "dolphin-common/resource.storage.type"
  296. ],
  297. "if": "${dolphin-common/resource.storage.type} === S3",
  298. "then": {
  299. "property_value_attributes": {
  300. "visible": true
  301. }
  302. },
  303. "else": {
  304. "property_value_attributes": {
  305. "visible": false
  306. }
  307. }
  308. }
  309. ]
  310. },
  311. {
  312. "config": "dolphin-common/hadoop.security.authentication.startup.state",
  313. "subsection-name": "dynamic-row1-col2"
  314. },
  315. {
  316. "config": "dolphin-common/java.security.krb5.conf.path",
  317. "subsection-name": "dynamic-row1-col2",
  318. "depends-on": [
  319. {
  320. "configs":[
  321. "dolphin-common/hadoop.security.authentication.startup.state"
  322. ],
  323. "if": "${dolphin-common/hadoop.security.authentication.startup.state}",
  324. "then": {
  325. "property_value_attributes": {
  326. "visible": true
  327. }
  328. },
  329. "else": {
  330. "property_value_attributes": {
  331. "visible": false
  332. }
  333. }
  334. }
  335. ]
  336. },
  337. {
  338. "config": "dolphin-common/login.user.keytab.username",
  339. "subsection-name": "dynamic-row1-col2",
  340. "depends-on": [
  341. {
  342. "configs":[
  343. "dolphin-common/hadoop.security.authentication.startup.state"
  344. ],
  345. "if": "${dolphin-common/hadoop.security.authentication.startup.state}",
  346. "then": {
  347. "property_value_attributes": {
  348. "visible": true
  349. }
  350. },
  351. "else": {
  352. "property_value_attributes": {
  353. "visible": false
  354. }
  355. }
  356. }
  357. ]
  358. },
  359. {
  360. "config": "dolphin-common/login.user.keytab.path",
  361. "subsection-name": "dynamic-row1-col2",
  362. "depends-on": [
  363. {
  364. "configs":[
  365. "dolphin-common/hadoop.security.authentication.startup.state"
  366. ],
  367. "if": "${dolphin-common/hadoop.security.authentication.startup.state}",
  368. "then": {
  369. "property_value_attributes": {
  370. "visible": true
  371. }
  372. },
  373. "else": {
  374. "property_value_attributes": {
  375. "visible": false
  376. }
  377. }
  378. }
  379. ]
  380. },
  381. {
  382. "config": "dolphin-common/kerberos.expire.time",
  383. "subsection-name": "dynamic-row1-col2",
  384. "depends-on": [
  385. {
  386. "configs":[
  387. "dolphin-common/hadoop.security.authentication.startup.state"
  388. ],
  389. "if": "${dolphin-common/hadoop.security.authentication.startup.state}",
  390. "then": {
  391. "property_value_attributes": {
  392. "visible": true
  393. }
  394. },
  395. "else": {
  396. "property_value_attributes": {
  397. "visible": false
  398. }
  399. }
  400. }
  401. ]
  402. },
  403. {
  404. "config": "dolphin-alert/enterprise.wechat.enable",
  405. "subsection-name": "dynamic-row1-col3"
  406. },
  407. {
  408. "config": "dolphin-alert/enterprise.wechat.corp.id",
  409. "subsection-name": "dynamic-row1-col3",
  410. "depends-on": [
  411. {
  412. "configs":[
  413. "dolphin-alert/enterprise.wechat.enable"
  414. ],
  415. "if": "${dolphin-alert/enterprise.wechat.enable}",
  416. "then": {
  417. "property_value_attributes": {
  418. "visible": true
  419. }
  420. },
  421. "else": {
  422. "property_value_attributes": {
  423. "visible": false
  424. }
  425. }
  426. }
  427. ]
  428. },
  429. {
  430. "config": "dolphin-alert/enterprise.wechat.secret",
  431. "subsection-name": "dynamic-row1-col3",
  432. "depends-on": [
  433. {
  434. "configs":[
  435. "dolphin-alert/enterprise.wechat.enable"
  436. ],
  437. "if": "${dolphin-alert/enterprise.wechat.enable}",
  438. "then": {
  439. "property_value_attributes": {
  440. "visible": true
  441. }
  442. },
  443. "else": {
  444. "property_value_attributes": {
  445. "visible": false
  446. }
  447. }
  448. }
  449. ]
  450. },
  451. {
  452. "config": "dolphin-alert/enterprise.wechat.agent.id",
  453. "subsection-name": "dynamic-row1-col3",
  454. "depends-on": [
  455. {
  456. "configs":[
  457. "dolphin-alert/enterprise.wechat.enable"
  458. ],
  459. "if": "${dolphin-alert/enterprise.wechat.enable}",
  460. "then": {
  461. "property_value_attributes": {
  462. "visible": true
  463. }
  464. },
  465. "else": {
  466. "property_value_attributes": {
  467. "visible": false
  468. }
  469. }
  470. }
  471. ]
  472. },
  473. {
  474. "config": "dolphin-alert/enterprise.wechat.users",
  475. "subsection-name": "dynamic-row1-col3",
  476. "depends-on": [
  477. {
  478. "configs":[
  479. "dolphin-alert/enterprise.wechat.enable"
  480. ],
  481. "if": "${dolphin-alert/enterprise.wechat.enable}",
  482. "then": {
  483. "property_value_attributes": {
  484. "visible": true
  485. }
  486. },
  487. "else": {
  488. "property_value_attributes": {
  489. "visible": false
  490. }
  491. }
  492. }
  493. ]
  494. }
  495. ]
  496. },
  497. "widgets": [
  498. {
  499. "config": "dolphin-env/dolphin.database.type",
  500. "widget": {
  501. "type": "combo"
  502. }
  503. },
  504. {
  505. "config": "dolphin-env/dolphin.database.host",
  506. "widget": {
  507. "type": "text-field"
  508. }
  509. },
  510. {
  511. "config": "dolphin-env/dolphin.database.port",
  512. "widget": {
  513. "type": "text-field",
  514. "units": [
  515. {
  516. "unit-name": "int"
  517. }
  518. ]
  519. }
  520. },
  521. {
  522. "config": "dolphin-env/dolphin.database.username",
  523. "widget": {
  524. "type": "text-field"
  525. }
  526. },
  527. {
  528. "config": "dolphin-env/dolphin.database.password",
  529. "widget": {
  530. "type": "password"
  531. }
  532. },
  533. {
  534. "config": "dolphin-env/dolphin.user",
  535. "widget": {
  536. "type": "text-field"
  537. }
  538. },
  539. {
  540. "config": "dolphin-env/dolphin.group",
  541. "widget": {
  542. "type": "text-field"
  543. }
  544. },
  545. {
  546. "config": "dolphin-env/dolphinscheduler-env-content",
  547. "widget": {
  548. "type": "text-area"
  549. }
  550. },
  551. {
  552. "config": "dolphin-common/resource.storage.type",
  553. "widget": {
  554. "type": "combo"
  555. }
  556. },
  557. {
  558. "config": "dolphin-common/resource.upload.path",
  559. "widget": {
  560. "type": "text-field"
  561. }
  562. },
  563. {
  564. "config": "dolphin-common/hdfs.root.user",
  565. "widget": {
  566. "type": "text-field"
  567. }
  568. },
  569. {
  570. "config": "dolphin-common/data.store2hdfs.basepath",
  571. "widget": {
  572. "type": "text-field"
  573. }
  574. },
  575. {
  576. "config": "dolphin-common/fs.defaultFS",
  577. "widget": {
  578. "type": "text-field"
  579. }
  580. },
  581. {
  582. "config": "dolphin-common/fs.s3a.endpoint",
  583. "widget": {
  584. "type": "text-field"
  585. }
  586. },
  587. {
  588. "config": "dolphin-common/fs.s3a.access.key",
  589. "widget": {
  590. "type": "text-field"
  591. }
  592. },
  593. {
  594. "config": "dolphin-common/fs.s3a.secret.key",
  595. "widget": {
  596. "type": "text-field"
  597. }
  598. },
  599. {
  600. "config": "dolphin-common/hadoop.security.authentication.startup.state",
  601. "widget": {
  602. "type": "toggle"
  603. }
  604. },
  605. {
  606. "config": "dolphin-common/java.security.krb5.conf.path",
  607. "widget": {
  608. "type": "text-field"
  609. }
  610. },
  611. {
  612. "config": "dolphin-common/login.user.keytab.username",
  613. "widget": {
  614. "type": "text-field"
  615. }
  616. },
  617. {
  618. "config": "dolphin-common/login.user.keytab.path",
  619. "widget": {
  620. "type": "text-field"
  621. }
  622. },
  623. {
  624. "config": "dolphin-common/kerberos.expire.time",
  625. "widget": {
  626. "type": "text-field"
  627. }
  628. },
  629. {
  630. "config": "dolphin-alert/enterprise.wechat.enable",
  631. "widget": {
  632. "type": "toggle"
  633. }
  634. },
  635. {
  636. "config": "dolphin-alert/enterprise.wechat.corp.id",
  637. "widget": {
  638. "type": "text-field"
  639. }
  640. },
  641. {
  642. "config": "dolphin-alert/enterprise.wechat.secret",
  643. "widget": {
  644. "type": "text-field"
  645. }
  646. },
  647. {
  648. "config": "dolphin-alert/enterprise.wechat.agent.id",
  649. "widget": {
  650. "type": "text-field"
  651. }
  652. },
  653. {
  654. "config": "dolphin-alert/enterprise.wechat.users",
  655. "widget": {
  656. "type": "text-field"
  657. }
  658. }
  659. ]
  660. }
  661. }