jws31-tomcat8-mysql-s2i.json 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706
  1. {
  2. "kind": "Template",
  3. "apiVersion": "v1",
  4. "metadata": {
  5. "annotations": {
  6. "iconClass": "icon-rh-tomcat",
  7. "openshift.io/provider-display-name": "Red Hat, Inc.",
  8. "description": "Application template for JWS MySQL applications built using S2I.",
  9. "tags": "tomcat,tomcat8,java,jboss,hidden",
  10. "version": "1.4.14",
  11. "openshift.io/display-name": "JBoss Web Server 3.1 Apache Tomcat 8 + MySQL (Ephemeral with https)"
  12. },
  13. "name": "jws31-tomcat8-mysql-s2i"
  14. },
  15. "labels": {
  16. "template": "jws31-tomcat8-mysql-s2i",
  17. "xpaas": "1.4.14"
  18. },
  19. "message": "A new JWS application for Apache Tomcat 8 (using MySQL) has been created in your project. The username/password for administering your JWS is ${JWS_ADMIN_USERNAME}/${JWS_ADMIN_PASSWORD}. For accessing the MySQL database \"${DB_DATABASE}\" use the credentials ${DB_USERNAME}/${DB_PASSWORD}. Please be sure to create the secret named \"${JWS_HTTPS_SECRET}\" containing the ${JWS_HTTPS_CERTIFICATE} file used for serving secure content.",
  20. "parameters": [
  21. {
  22. "displayName": "Application Name",
  23. "description": "The name for the application.",
  24. "name": "APPLICATION_NAME",
  25. "value": "jws-app",
  26. "required": true
  27. },
  28. {
  29. "displayName": "Custom http Route Hostname",
  30. "description": "Custom hostname for http service route. Leave blank for default hostname, e.g.: <application-name>-<project>.<default-domain-suffix>",
  31. "name": "HOSTNAME_HTTP",
  32. "value": "",
  33. "required": false
  34. },
  35. {
  36. "displayName": "Custom https Route Hostname",
  37. "description": "Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-<application-name>-<project>.<default-domain-suffix>",
  38. "name": "HOSTNAME_HTTPS",
  39. "value": "",
  40. "required": false
  41. },
  42. {
  43. "displayName": "Git Repository URL",
  44. "description": "Git source URI for application",
  45. "name": "SOURCE_REPOSITORY_URL",
  46. "value": "https://github.com/jboss-openshift/openshift-quickstarts",
  47. "required": true
  48. },
  49. {
  50. "displayName": "Git Reference",
  51. "description": "Git branch/tag reference",
  52. "name": "SOURCE_REPOSITORY_REF",
  53. "value": "1.2",
  54. "required": false
  55. },
  56. {
  57. "displayName": "Context Directory",
  58. "description": "Path within Git project to build; empty for root project directory.",
  59. "name": "CONTEXT_DIR",
  60. "value": "todolist/todolist-jdbc",
  61. "required": false
  62. },
  63. {
  64. "displayName": "Database JNDI Name",
  65. "description": "Database JNDI name used by application to resolve the datasource, e.g. jboss/datasources/mysqlDS",
  66. "name": "DB_JNDI",
  67. "value": "jboss/datasources/defaultDS",
  68. "required": false
  69. },
  70. {
  71. "displayName": "Database Name",
  72. "description": "Database name",
  73. "name": "DB_DATABASE",
  74. "value": "root",
  75. "required": true
  76. },
  77. {
  78. "displayName": "Secret Name",
  79. "description": "The name of the secret containing the certificate files",
  80. "name": "JWS_HTTPS_SECRET",
  81. "value": "jws-app-secret",
  82. "required": true
  83. },
  84. {
  85. "displayName": "Certificate Name",
  86. "description": "The name of the certificate file within the secret",
  87. "name": "JWS_HTTPS_CERTIFICATE",
  88. "value": "server.crt",
  89. "required": false
  90. },
  91. {
  92. "displayName": "Certificate Key Name",
  93. "description": "The name of the certificate key file within the secret",
  94. "name": "JWS_HTTPS_CERTIFICATE_KEY",
  95. "value": "server.key",
  96. "required": false
  97. },
  98. {
  99. "displayName": "Certificate Password",
  100. "description": "The certificate password",
  101. "name": "JWS_HTTPS_CERTIFICATE_PASSWORD",
  102. "value": "",
  103. "required": false
  104. },
  105. {
  106. "displayName": "Datasource Minimum Pool Size",
  107. "description": "Sets xa-pool/min-pool-size for the configured datasource.",
  108. "name": "DB_MIN_POOL_SIZE",
  109. "required": false
  110. },
  111. {
  112. "displayName": "Datasource Maximum Pool Size",
  113. "description": "Sets xa-pool/max-pool-size for the configured datasource.",
  114. "name": "DB_MAX_POOL_SIZE",
  115. "required": false
  116. },
  117. {
  118. "displayName": "Datasource Transaction Isolation",
  119. "description": "Sets transaction-isolation for the configured datasource.",
  120. "name": "DB_TX_ISOLATION",
  121. "required": false
  122. },
  123. {
  124. "displayName": "MySQL Lower Case Table Names",
  125. "description": "Sets how the table names are stored and compared.",
  126. "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
  127. "required": false
  128. },
  129. {
  130. "displayName": "MySQL Maximum number of connections",
  131. "description": "The maximum permitted number of simultaneous client connections.",
  132. "name": "MYSQL_MAX_CONNECTIONS",
  133. "required": false
  134. },
  135. {
  136. "displayName": "MySQL FullText Minimum Word Length",
  137. "description": "The minimum length of the word to be included in a FULLTEXT index.",
  138. "name": "MYSQL_FT_MIN_WORD_LEN",
  139. "required": false
  140. },
  141. {
  142. "displayName": "MySQL FullText Maximum Word Length",
  143. "description": "The maximum length of the word to be included in a FULLTEXT index.",
  144. "name": "MYSQL_FT_MAX_WORD_LEN",
  145. "required": false
  146. },
  147. {
  148. "displayName": "MySQL AIO",
  149. "description": "Controls the innodb_use_native_aio setting value if the native AIO is broken.",
  150. "name": "MYSQL_AIO",
  151. "required": false
  152. },
  153. {
  154. "displayName": "Database Username",
  155. "description": "Database user name",
  156. "name": "DB_USERNAME",
  157. "from": "user[a-zA-Z0-9]{3}",
  158. "generate": "expression",
  159. "required": true
  160. },
  161. {
  162. "displayName": "Database Password",
  163. "description": "Database user password",
  164. "name": "DB_PASSWORD",
  165. "from": "[a-zA-Z0-9]{8}",
  166. "generate": "expression",
  167. "required": true
  168. },
  169. {
  170. "displayName": "JWS Admin Username",
  171. "description": "JWS Admin User",
  172. "name": "JWS_ADMIN_USERNAME",
  173. "from": "[a-zA-Z0-9]{8}",
  174. "generate": "expression",
  175. "required": true
  176. },
  177. {
  178. "displayName": "JWS Admin Password",
  179. "description": "JWS Admin Password",
  180. "name": "JWS_ADMIN_PASSWORD",
  181. "from": "[a-zA-Z0-9]{8}",
  182. "generate": "expression",
  183. "required": true
  184. },
  185. {
  186. "displayName": "Github Webhook Secret",
  187. "description": "GitHub trigger secret",
  188. "name": "GITHUB_WEBHOOK_SECRET",
  189. "from": "[a-zA-Z0-9]{8}",
  190. "generate": "expression",
  191. "required": true
  192. },
  193. {
  194. "displayName": "Generic Webhook Secret",
  195. "description": "Generic build trigger secret",
  196. "name": "GENERIC_WEBHOOK_SECRET",
  197. "from": "[a-zA-Z0-9]{8}",
  198. "generate": "expression",
  199. "required": true
  200. },
  201. {
  202. "displayName": "ImageStream Namespace",
  203. "description": "Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.",
  204. "name": "IMAGE_STREAM_NAMESPACE",
  205. "value": "openshift",
  206. "required": true
  207. },
  208. {
  209. "displayName": "Maven mirror URL",
  210. "description": "Maven mirror to use for S2I builds",
  211. "name": "MAVEN_MIRROR_URL",
  212. "value": "",
  213. "required": false
  214. },
  215. {
  216. "description": "List of directories from which archives will be copied into the deployment folder. If unspecified, all archives in /target will be copied.",
  217. "name": "ARTIFACT_DIR",
  218. "value": "",
  219. "required": false
  220. },
  221. {
  222. "displayName": "MySQL Image Stream Tag",
  223. "description": "The tag to use for the \"mysql\" image stream. Typically, this aligns with the major.minor version of MySQL.",
  224. "name": "MYSQL_IMAGE_STREAM_TAG",
  225. "value": "5.7",
  226. "required": true
  227. }
  228. ],
  229. "objects": [
  230. {
  231. "kind": "Service",
  232. "apiVersion": "v1",
  233. "spec": {
  234. "ports": [
  235. {
  236. "port": 8080,
  237. "targetPort": 8080
  238. }
  239. ],
  240. "selector": {
  241. "deploymentConfig": "${APPLICATION_NAME}"
  242. }
  243. },
  244. "metadata": {
  245. "name": "${APPLICATION_NAME}",
  246. "labels": {
  247. "application": "${APPLICATION_NAME}"
  248. },
  249. "annotations": {
  250. "description": "The web server's http port.",
  251. "service.alpha.openshift.io/dependencies": "[{\"name\": \"${APPLICATION_NAME}-mysql\", \"kind\": \"Service\"}]"
  252. }
  253. }
  254. },
  255. {
  256. "kind": "Service",
  257. "apiVersion": "v1",
  258. "spec": {
  259. "ports": [
  260. {
  261. "port": 8443,
  262. "targetPort": 8443
  263. }
  264. ],
  265. "selector": {
  266. "deploymentConfig": "${APPLICATION_NAME}"
  267. }
  268. },
  269. "metadata": {
  270. "name": "secure-${APPLICATION_NAME}",
  271. "labels": {
  272. "application": "${APPLICATION_NAME}"
  273. },
  274. "annotations": {
  275. "description": "The web server's https port.",
  276. "service.alpha.openshift.io/dependencies": "[{\"name\": \"${APPLICATION_NAME}-mysql\", \"kind\": \"Service\"}]"
  277. }
  278. }
  279. },
  280. {
  281. "kind": "Service",
  282. "apiVersion": "v1",
  283. "spec": {
  284. "ports": [
  285. {
  286. "port": 3306,
  287. "targetPort": 3306
  288. }
  289. ],
  290. "selector": {
  291. "deploymentConfig": "${APPLICATION_NAME}-mysql"
  292. }
  293. },
  294. "metadata": {
  295. "name": "${APPLICATION_NAME}-mysql",
  296. "labels": {
  297. "application": "${APPLICATION_NAME}"
  298. },
  299. "annotations": {
  300. "description": "The database server's port."
  301. }
  302. }
  303. },
  304. {
  305. "kind": "Route",
  306. "apiVersion": "v1",
  307. "id": "${APPLICATION_NAME}-http",
  308. "metadata": {
  309. "name": "${APPLICATION_NAME}",
  310. "labels": {
  311. "application": "${APPLICATION_NAME}"
  312. },
  313. "annotations": {
  314. "description": "Route for application's http service."
  315. }
  316. },
  317. "spec": {
  318. "host": "${HOSTNAME_HTTP}",
  319. "to": {
  320. "name": "${APPLICATION_NAME}"
  321. }
  322. }
  323. },
  324. {
  325. "kind": "Route",
  326. "apiVersion": "v1",
  327. "id": "${APPLICATION_NAME}-https",
  328. "metadata": {
  329. "name": "secure-${APPLICATION_NAME}",
  330. "labels": {
  331. "application": "${APPLICATION_NAME}"
  332. },
  333. "annotations": {
  334. "description": "Route for application's https service."
  335. }
  336. },
  337. "spec": {
  338. "host": "${HOSTNAME_HTTPS}",
  339. "to": {
  340. "name": "secure-${APPLICATION_NAME}"
  341. },
  342. "tls": {
  343. "termination": "passthrough"
  344. }
  345. }
  346. },
  347. {
  348. "kind": "ImageStream",
  349. "apiVersion": "v1",
  350. "metadata": {
  351. "name": "${APPLICATION_NAME}",
  352. "labels": {
  353. "application": "${APPLICATION_NAME}"
  354. }
  355. }
  356. },
  357. {
  358. "kind": "BuildConfig",
  359. "apiVersion": "v1",
  360. "metadata": {
  361. "name": "${APPLICATION_NAME}",
  362. "labels": {
  363. "application": "${APPLICATION_NAME}"
  364. }
  365. },
  366. "spec": {
  367. "source": {
  368. "type": "Git",
  369. "git": {
  370. "uri": "${SOURCE_REPOSITORY_URL}",
  371. "ref": "${SOURCE_REPOSITORY_REF}"
  372. },
  373. "contextDir": "${CONTEXT_DIR}"
  374. },
  375. "strategy": {
  376. "type": "Source",
  377. "sourceStrategy": {
  378. "env": [
  379. {
  380. "name": "MAVEN_MIRROR_URL",
  381. "value": "${MAVEN_MIRROR_URL}"
  382. },
  383. {
  384. "name": "ARTIFACT_DIR",
  385. "value": "${ARTIFACT_DIR}"
  386. }
  387. ],
  388. "forcePull": true,
  389. "from": {
  390. "kind": "ImageStreamTag",
  391. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  392. "name": "jboss-webserver31-tomcat8-openshift:1.2"
  393. }
  394. }
  395. },
  396. "output": {
  397. "to": {
  398. "kind": "ImageStreamTag",
  399. "name": "${APPLICATION_NAME}:latest"
  400. }
  401. },
  402. "triggers": [
  403. {
  404. "type": "GitHub",
  405. "github": {
  406. "secret": "${GITHUB_WEBHOOK_SECRET}"
  407. }
  408. },
  409. {
  410. "type": "Generic",
  411. "generic": {
  412. "secret": "${GENERIC_WEBHOOK_SECRET}"
  413. }
  414. },
  415. {
  416. "type": "ImageChange",
  417. "imageChange": {}
  418. },
  419. {
  420. "type": "ConfigChange"
  421. }
  422. ]
  423. }
  424. },
  425. {
  426. "kind": "DeploymentConfig",
  427. "apiVersion": "v1",
  428. "metadata": {
  429. "name": "${APPLICATION_NAME}",
  430. "labels": {
  431. "application": "${APPLICATION_NAME}"
  432. }
  433. },
  434. "spec": {
  435. "strategy": {
  436. "type": "Recreate"
  437. },
  438. "triggers": [
  439. {
  440. "type": "ImageChange",
  441. "imageChangeParams": {
  442. "automatic": true,
  443. "containerNames": [
  444. "${APPLICATION_NAME}"
  445. ],
  446. "from": {
  447. "kind": "ImageStreamTag",
  448. "name": "${APPLICATION_NAME}:latest"
  449. }
  450. }
  451. },
  452. {
  453. "type": "ConfigChange"
  454. }
  455. ],
  456. "replicas": 1,
  457. "selector": {
  458. "deploymentConfig": "${APPLICATION_NAME}"
  459. },
  460. "template": {
  461. "metadata": {
  462. "name": "${APPLICATION_NAME}",
  463. "labels": {
  464. "deploymentConfig": "${APPLICATION_NAME}",
  465. "application": "${APPLICATION_NAME}"
  466. }
  467. },
  468. "spec": {
  469. "terminationGracePeriodSeconds": 60,
  470. "containers": [
  471. {
  472. "name": "${APPLICATION_NAME}",
  473. "image": "${APPLICATION_NAME}",
  474. "imagePullPolicy": "Always",
  475. "readinessProbe": {
  476. "exec": {
  477. "command": [
  478. "/bin/bash",
  479. "-c",
  480. "curl --noproxy '*' -s -u ${JWS_ADMIN_USERNAME}:${JWS_ADMIN_PASSWORD} 'http://localhost:8080/manager/jmxproxy/?get=Catalina%3Atype%3DServer&att=stateName' |grep -iq 'stateName *= *STARTED'"
  481. ]
  482. }
  483. },
  484. "volumeMounts": [
  485. {
  486. "name": "jws-certificate-volume",
  487. "mountPath": "/etc/jws-secret-volume",
  488. "readOnly": true
  489. }
  490. ],
  491. "ports": [
  492. {
  493. "name": "jolokia",
  494. "containerPort": 8778,
  495. "protocol": "TCP"
  496. },
  497. {
  498. "name": "http",
  499. "containerPort": 8080,
  500. "protocol": "TCP"
  501. },
  502. {
  503. "name": "https",
  504. "containerPort": 8443,
  505. "protocol": "TCP"
  506. }
  507. ],
  508. "env": [
  509. {
  510. "name": "DB_SERVICE_PREFIX_MAPPING",
  511. "value": "${APPLICATION_NAME}-mysql=DB"
  512. },
  513. {
  514. "name": "DB_JNDI",
  515. "value": "${DB_JNDI}"
  516. },
  517. {
  518. "name": "DB_USERNAME",
  519. "value": "${DB_USERNAME}"
  520. },
  521. {
  522. "name": "DB_PASSWORD",
  523. "value": "${DB_PASSWORD}"
  524. },
  525. {
  526. "name": "DB_DATABASE",
  527. "value": "${DB_DATABASE}"
  528. },
  529. {
  530. "name": "DB_MIN_POOL_SIZE",
  531. "value": "${DB_MIN_POOL_SIZE}"
  532. },
  533. {
  534. "name": "DB_MAX_POOL_SIZE",
  535. "value": "${DB_MAX_POOL_SIZE}"
  536. },
  537. {
  538. "name": "DB_TX_ISOLATION",
  539. "value": "${DB_TX_ISOLATION}"
  540. },
  541. {
  542. "name": "JWS_HTTPS_CERTIFICATE_DIR",
  543. "value": "/etc/jws-secret-volume"
  544. },
  545. {
  546. "name": "JWS_HTTPS_CERTIFICATE",
  547. "value": "${JWS_HTTPS_CERTIFICATE}"
  548. },
  549. {
  550. "name": "JWS_HTTPS_CERTIFICATE_KEY",
  551. "value": "${JWS_HTTPS_CERTIFICATE_KEY}"
  552. },
  553. {
  554. "name": "JWS_HTTPS_CERTIFICATE_PASSWORD",
  555. "value": "${JWS_HTTPS_CERTIFICATE_PASSWORD}"
  556. },
  557. {
  558. "name": "JWS_ADMIN_USERNAME",
  559. "value": "${JWS_ADMIN_USERNAME}"
  560. },
  561. {
  562. "name": "JWS_ADMIN_PASSWORD",
  563. "value": "${JWS_ADMIN_PASSWORD}"
  564. }
  565. ]
  566. }
  567. ],
  568. "volumes": [
  569. {
  570. "name": "jws-certificate-volume",
  571. "secret": {
  572. "secretName": "${JWS_HTTPS_SECRET}"
  573. }
  574. }
  575. ]
  576. }
  577. }
  578. }
  579. },
  580. {
  581. "kind": "DeploymentConfig",
  582. "apiVersion": "v1",
  583. "metadata": {
  584. "name": "${APPLICATION_NAME}-mysql",
  585. "labels": {
  586. "application": "${APPLICATION_NAME}"
  587. }
  588. },
  589. "spec": {
  590. "strategy": {
  591. "type": "Recreate"
  592. },
  593. "triggers": [
  594. {
  595. "type": "ImageChange",
  596. "imageChangeParams": {
  597. "automatic": true,
  598. "containerNames": [
  599. "${APPLICATION_NAME}-mysql"
  600. ],
  601. "from": {
  602. "kind": "ImageStreamTag",
  603. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  604. "name": "mysql:${MYSQL_IMAGE_STREAM_TAG}"
  605. }
  606. }
  607. },
  608. {
  609. "type": "ConfigChange"
  610. }
  611. ],
  612. "replicas": 1,
  613. "selector": {
  614. "deploymentConfig": "${APPLICATION_NAME}-mysql"
  615. },
  616. "template": {
  617. "metadata": {
  618. "name": "${APPLICATION_NAME}-mysql",
  619. "labels": {
  620. "deploymentConfig": "${APPLICATION_NAME}-mysql",
  621. "application": "${APPLICATION_NAME}"
  622. }
  623. },
  624. "spec": {
  625. "terminationGracePeriodSeconds": 60,
  626. "containers": [
  627. {
  628. "name": "${APPLICATION_NAME}-mysql",
  629. "image": "mysql",
  630. "ports": [
  631. {
  632. "containerPort": 3306,
  633. "protocol": "TCP"
  634. }
  635. ],
  636. "readinessProbe": {
  637. "timeoutSeconds": 1,
  638. "initialDelaySeconds": 5,
  639. "exec": {
  640. "command": [ "/bin/sh", "-i", "-c",
  641. "MYSQL_PWD=\"$MYSQL_PASSWORD\" mysql -h 127.0.0.1 -u $MYSQL_USER -D $MYSQL_DATABASE -e 'SELECT 1'"]
  642. }
  643. },
  644. "livenessProbe": {
  645. "timeoutSeconds": 1,
  646. "initialDelaySeconds": 30,
  647. "tcpSocket": {
  648. "port": 3306
  649. }
  650. },
  651. "env": [
  652. {
  653. "name": "MYSQL_USER",
  654. "value": "${DB_USERNAME}"
  655. },
  656. {
  657. "name": "MYSQL_PASSWORD",
  658. "value": "${DB_PASSWORD}"
  659. },
  660. {
  661. "name": "MYSQL_DATABASE",
  662. "value": "${DB_DATABASE}"
  663. },
  664. {
  665. "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
  666. "value": "${MYSQL_LOWER_CASE_TABLE_NAMES}"
  667. },
  668. {
  669. "name": "MYSQL_MAX_CONNECTIONS",
  670. "value": "${MYSQL_MAX_CONNECTIONS}"
  671. },
  672. {
  673. "name": "MYSQL_FT_MIN_WORD_LEN",
  674. "value": "${MYSQL_FT_MIN_WORD_LEN}"
  675. },
  676. {
  677. "name": "MYSQL_FT_MAX_WORD_LEN",
  678. "value": "${MYSQL_FT_MAX_WORD_LEN}"
  679. },
  680. {
  681. "name": "MYSQL_AIO",
  682. "value": "${MYSQL_AIO}"
  683. }
  684. ],
  685. "volumeMounts": [
  686. {
  687. "mountPath": "/var/lib/mysql/data",
  688. "name": "${APPLICATION_NAME}-data"
  689. }
  690. ]
  691. }
  692. ],
  693. "volumes": [
  694. {
  695. "emptyDir": {
  696. "medium": ""
  697. },
  698. "name": "${APPLICATION_NAME}-data"
  699. }
  700. ]
  701. }
  702. }
  703. }
  704. }
  705. ]
  706. }