eap64-mysql-persistent-s2i.json 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. {
  2. "kind": "Template",
  3. "apiVersion": "v1",
  4. "metadata": {
  5. "annotations": {
  6. "description": "Application template for EAP 6 MySQL applications with persistent storage built using S2I.",
  7. "iconClass": "icon-jboss",
  8. "tags": "eap,mysql,javaee,java,database,jboss,xpaas",
  9. "version": "1.2.0"
  10. },
  11. "name": "eap64-mysql-persistent-s2i"
  12. },
  13. "labels": {
  14. "template": "eap64-mysql-persistent-s2i",
  15. "xpaas": "1.2.0"
  16. },
  17. "parameters": [
  18. {
  19. "description": "The name for the application.",
  20. "name": "APPLICATION_NAME",
  21. "value": "eap-app",
  22. "required": true
  23. },
  24. {
  25. "description": "Custom hostname for http service route. Leave blank for default hostname, e.g.: <application-name>-<project>.<default-domain-suffix>",
  26. "name": "HOSTNAME_HTTP",
  27. "value": "",
  28. "required": false
  29. },
  30. {
  31. "description": "Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-<application-name>-<project>.<default-domain-suffix>",
  32. "name": "HOSTNAME_HTTPS",
  33. "value": "",
  34. "required": false
  35. },
  36. {
  37. "description": "Git source URI for application",
  38. "name": "SOURCE_REPOSITORY_URL",
  39. "value": "https://github.com/jboss-openshift/openshift-quickstarts",
  40. "required": true
  41. },
  42. {
  43. "description": "Git branch/tag reference",
  44. "name": "SOURCE_REPOSITORY_REF",
  45. "value": "1.2",
  46. "required": false
  47. },
  48. {
  49. "description": "Path within Git project to build; empty for root project directory.",
  50. "name": "CONTEXT_DIR",
  51. "value": "todolist/todolist-jdbc",
  52. "required": false
  53. },
  54. {
  55. "description": "Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mysql",
  56. "name": "DB_JNDI",
  57. "value": "java:jboss/datasources/TodoListDS",
  58. "required": false
  59. },
  60. {
  61. "description": "Database name",
  62. "name": "DB_DATABASE",
  63. "value": "root",
  64. "required": true
  65. },
  66. {
  67. "description": "Size of persistent storage for database volume.",
  68. "name": "VOLUME_CAPACITY",
  69. "value": "512Mi",
  70. "required": true
  71. },
  72. {
  73. "description": "Queue names",
  74. "name": "HORNETQ_QUEUES",
  75. "value": "",
  76. "required": false
  77. },
  78. {
  79. "description": "Topic names",
  80. "name": "HORNETQ_TOPICS",
  81. "value": "",
  82. "required": false
  83. },
  84. {
  85. "description": "The name of the secret containing the keystore file",
  86. "name": "HTTPS_SECRET",
  87. "value": "eap-app-secret",
  88. "required": false
  89. },
  90. {
  91. "description": "The name of the keystore file within the secret",
  92. "name": "HTTPS_KEYSTORE",
  93. "value": "keystore.jks",
  94. "required": false
  95. },
  96. {
  97. "description": "The name associated with the server certificate",
  98. "name": "HTTPS_NAME",
  99. "value": "",
  100. "required": false
  101. },
  102. {
  103. "description": "The password for the keystore and certificate",
  104. "name": "HTTPS_PASSWORD",
  105. "value": "",
  106. "required": false
  107. },
  108. {
  109. "description": "Sets xa-pool/min-pool-size for the configured datasource.",
  110. "name": "DB_MIN_POOL_SIZE",
  111. "required": false
  112. },
  113. {
  114. "description": "Sets xa-pool/max-pool-size for the configured datasource.",
  115. "name": "DB_MAX_POOL_SIZE",
  116. "required": false
  117. },
  118. {
  119. "description": "Sets transaction-isolation for the configured datasource.",
  120. "name": "DB_TX_ISOLATION",
  121. "required": false
  122. },
  123. {
  124. "description": "Sets how the table names are stored and compared.",
  125. "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
  126. "required": false
  127. },
  128. {
  129. "description": "The maximum permitted number of simultaneous client connections.",
  130. "name": "MYSQL_MAX_CONNECTIONS",
  131. "required": false
  132. },
  133. {
  134. "description": "The minimum length of the word to be included in a FULLTEXT index.",
  135. "name": "MYSQL_FT_MIN_WORD_LEN",
  136. "required": false
  137. },
  138. {
  139. "description": "The maximum length of the word to be included in a FULLTEXT index.",
  140. "name": "MYSQL_FT_MAX_WORD_LEN",
  141. "required": false
  142. },
  143. {
  144. "description": "Controls the innodb_use_native_aio setting value if the native AIO is broken.",
  145. "name": "MYSQL_AIO",
  146. "required": false
  147. },
  148. {
  149. "description": "HornetQ cluster admin password",
  150. "name": "HORNETQ_CLUSTER_PASSWORD",
  151. "from": "[a-zA-Z0-9]{8}",
  152. "generate": "expression",
  153. "required": true
  154. },
  155. {
  156. "description": "Database user name",
  157. "name": "DB_USERNAME",
  158. "from": "user[a-zA-Z0-9]{3}",
  159. "generate": "expression",
  160. "required": true
  161. },
  162. {
  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. "description": "GitHub trigger secret",
  171. "name": "GITHUB_WEBHOOK_SECRET",
  172. "from": "[a-zA-Z0-9]{8}",
  173. "generate": "expression",
  174. "required": true
  175. },
  176. {
  177. "description": "Generic build trigger secret",
  178. "name": "GENERIC_WEBHOOK_SECRET",
  179. "from": "[a-zA-Z0-9]{8}",
  180. "generate": "expression",
  181. "required": true
  182. },
  183. {
  184. "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.",
  185. "name": "IMAGE_STREAM_NAMESPACE",
  186. "value": "openshift",
  187. "required": true
  188. },
  189. {
  190. "description": "The name of the secret containing the keystore file",
  191. "name": "JGROUPS_ENCRYPT_SECRET",
  192. "value": "eap-app-secret",
  193. "required": false
  194. },
  195. {
  196. "description": "The name of the keystore file within the secret",
  197. "name": "JGROUPS_ENCRYPT_KEYSTORE",
  198. "value": "jgroups.jceks",
  199. "required": false
  200. },
  201. {
  202. "description": "The name associated with the server certificate",
  203. "name": "JGROUPS_ENCRYPT_NAME",
  204. "value": "",
  205. "required": false
  206. },
  207. {
  208. "description": "The password for the keystore and certificate",
  209. "name": "JGROUPS_ENCRYPT_PASSWORD",
  210. "value": "",
  211. "required": false
  212. },
  213. {
  214. "description": "JGroups cluster password",
  215. "name": "JGROUPS_CLUSTER_PASSWORD",
  216. "from": "[a-zA-Z0-9]{8}",
  217. "generate": "expression",
  218. "required": true
  219. }
  220. ],
  221. "objects": [
  222. {
  223. "kind": "Service",
  224. "apiVersion": "v1",
  225. "spec": {
  226. "ports": [
  227. {
  228. "port": 8080,
  229. "targetPort": 8080
  230. }
  231. ],
  232. "selector": {
  233. "deploymentConfig": "${APPLICATION_NAME}"
  234. }
  235. },
  236. "metadata": {
  237. "name": "${APPLICATION_NAME}",
  238. "labels": {
  239. "application": "${APPLICATION_NAME}"
  240. },
  241. "annotations": {
  242. "description": "The web server's http port."
  243. }
  244. }
  245. },
  246. {
  247. "kind": "Service",
  248. "apiVersion": "v1",
  249. "spec": {
  250. "ports": [
  251. {
  252. "port": 8443,
  253. "targetPort": 8443
  254. }
  255. ],
  256. "selector": {
  257. "deploymentConfig": "${APPLICATION_NAME}"
  258. }
  259. },
  260. "metadata": {
  261. "name": "secure-${APPLICATION_NAME}",
  262. "labels": {
  263. "application": "${APPLICATION_NAME}"
  264. },
  265. "annotations": {
  266. "description": "The web server's https port."
  267. }
  268. }
  269. },
  270. {
  271. "kind": "Service",
  272. "apiVersion": "v1",
  273. "spec": {
  274. "ports": [
  275. {
  276. "port": 3306,
  277. "targetPort": 3306
  278. }
  279. ],
  280. "selector": {
  281. "deploymentConfig": "${APPLICATION_NAME}-mysql"
  282. }
  283. },
  284. "metadata": {
  285. "name": "${APPLICATION_NAME}-mysql",
  286. "labels": {
  287. "application": "${APPLICATION_NAME}"
  288. },
  289. "annotations": {
  290. "description": "The database server's port."
  291. }
  292. }
  293. },
  294. {
  295. "kind": "Route",
  296. "apiVersion": "v1",
  297. "id": "${APPLICATION_NAME}-http",
  298. "metadata": {
  299. "name": "${APPLICATION_NAME}",
  300. "labels": {
  301. "application": "${APPLICATION_NAME}"
  302. },
  303. "annotations": {
  304. "description": "Route for application's http service."
  305. }
  306. },
  307. "spec": {
  308. "host": "${HOSTNAME_HTTP}",
  309. "to": {
  310. "name": "${APPLICATION_NAME}"
  311. }
  312. }
  313. },
  314. {
  315. "kind": "Route",
  316. "apiVersion": "v1",
  317. "id": "${APPLICATION_NAME}-https",
  318. "metadata": {
  319. "name": "secure-${APPLICATION_NAME}",
  320. "labels": {
  321. "application": "${APPLICATION_NAME}"
  322. },
  323. "annotations": {
  324. "description": "Route for application's https service."
  325. }
  326. },
  327. "spec": {
  328. "host": "${HOSTNAME_HTTPS}",
  329. "to": {
  330. "name": "secure-${APPLICATION_NAME}"
  331. },
  332. "tls": {
  333. "termination": "passthrough"
  334. }
  335. }
  336. },
  337. {
  338. "kind": "ImageStream",
  339. "apiVersion": "v1",
  340. "metadata": {
  341. "name": "${APPLICATION_NAME}",
  342. "labels": {
  343. "application": "${APPLICATION_NAME}"
  344. }
  345. }
  346. },
  347. {
  348. "kind": "BuildConfig",
  349. "apiVersion": "v1",
  350. "metadata": {
  351. "name": "${APPLICATION_NAME}",
  352. "labels": {
  353. "application": "${APPLICATION_NAME}"
  354. }
  355. },
  356. "spec": {
  357. "source": {
  358. "type": "Git",
  359. "git": {
  360. "uri": "${SOURCE_REPOSITORY_URL}",
  361. "ref": "${SOURCE_REPOSITORY_REF}"
  362. },
  363. "contextDir": "${CONTEXT_DIR}"
  364. },
  365. "strategy": {
  366. "type": "Source",
  367. "sourceStrategy": {
  368. "forcePull": true,
  369. "from": {
  370. "kind": "ImageStreamTag",
  371. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  372. "name": "jboss-eap64-openshift:1.2"
  373. }
  374. }
  375. },
  376. "output": {
  377. "to": {
  378. "kind": "ImageStreamTag",
  379. "name": "${APPLICATION_NAME}:latest"
  380. }
  381. },
  382. "triggers": [
  383. {
  384. "type": "GitHub",
  385. "github": {
  386. "secret": "${GITHUB_WEBHOOK_SECRET}"
  387. }
  388. },
  389. {
  390. "type": "Generic",
  391. "generic": {
  392. "secret": "${GENERIC_WEBHOOK_SECRET}"
  393. }
  394. },
  395. {
  396. "type": "ImageChange",
  397. "imageChange": {}
  398. },
  399. {
  400. "type": "ConfigChange"
  401. }
  402. ]
  403. }
  404. },
  405. {
  406. "kind": "DeploymentConfig",
  407. "apiVersion": "v1",
  408. "metadata": {
  409. "name": "${APPLICATION_NAME}",
  410. "labels": {
  411. "application": "${APPLICATION_NAME}"
  412. }
  413. },
  414. "spec": {
  415. "strategy": {
  416. "type": "Recreate"
  417. },
  418. "triggers": [
  419. {
  420. "type": "ImageChange",
  421. "imageChangeParams": {
  422. "automatic": true,
  423. "containerNames": [
  424. "${APPLICATION_NAME}"
  425. ],
  426. "from": {
  427. "kind": "ImageStream",
  428. "name": "${APPLICATION_NAME}"
  429. }
  430. }
  431. },
  432. {
  433. "type": "ConfigChange"
  434. }
  435. ],
  436. "replicas": 1,
  437. "selector": {
  438. "deploymentConfig": "${APPLICATION_NAME}"
  439. },
  440. "template": {
  441. "metadata": {
  442. "name": "${APPLICATION_NAME}",
  443. "labels": {
  444. "deploymentConfig": "${APPLICATION_NAME}",
  445. "application": "${APPLICATION_NAME}"
  446. }
  447. },
  448. "spec": {
  449. "serviceAccountName": "eap-service-account",
  450. "terminationGracePeriodSeconds": 60,
  451. "containers": [
  452. {
  453. "name": "${APPLICATION_NAME}",
  454. "image": "${APPLICATION_NAME}",
  455. "imagePullPolicy": "Always",
  456. "volumeMounts": [
  457. {
  458. "name": "eap-keystore-volume",
  459. "mountPath": "/etc/eap-secret-volume",
  460. "readOnly": true
  461. },
  462. {
  463. "name": "eap-jgroups-keystore-volume",
  464. "mountPath": "/etc/jgroups-encrypt-secret-volume",
  465. "readOnly": true
  466. }
  467. ],
  468. "livenessProbe": {
  469. "exec": {
  470. "command": [
  471. "/bin/bash",
  472. "-c",
  473. "/opt/eap/bin/livenessProbe.sh"
  474. ]
  475. }
  476. },
  477. "readinessProbe": {
  478. "exec": {
  479. "command": [
  480. "/bin/bash",
  481. "-c",
  482. "/opt/eap/bin/readinessProbe.sh"
  483. ]
  484. }
  485. },
  486. "ports": [
  487. {
  488. "name": "jolokia",
  489. "containerPort": 8778,
  490. "protocol": "TCP"
  491. },
  492. {
  493. "name": "http",
  494. "containerPort": 8080,
  495. "protocol": "TCP"
  496. },
  497. {
  498. "name": "https",
  499. "containerPort": 8443,
  500. "protocol": "TCP"
  501. },
  502. {
  503. "name": "ping",
  504. "containerPort": 8888,
  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": "TX_DATABASE_PREFIX_MAPPING",
  531. "value": "${APPLICATION_NAME}-mysql=DB"
  532. },
  533. {
  534. "name": "DB_MIN_POOL_SIZE",
  535. "value": "${DB_MIN_POOL_SIZE}"
  536. },
  537. {
  538. "name": "DB_MAX_POOL_SIZE",
  539. "value": "${DB_MAX_POOL_SIZE}"
  540. },
  541. {
  542. "name": "DB_TX_ISOLATION",
  543. "value": "${DB_TX_ISOLATION}"
  544. },
  545. {
  546. "name": "OPENSHIFT_KUBE_PING_LABELS",
  547. "value": "application=${APPLICATION_NAME}"
  548. },
  549. {
  550. "name": "OPENSHIFT_KUBE_PING_NAMESPACE",
  551. "valueFrom": {
  552. "fieldRef": {
  553. "fieldPath": "metadata.namespace"
  554. }
  555. }
  556. },
  557. {
  558. "name": "HTTPS_KEYSTORE_DIR",
  559. "value": "/etc/eap-secret-volume"
  560. },
  561. {
  562. "name": "HTTPS_KEYSTORE",
  563. "value": "${HTTPS_KEYSTORE}"
  564. },
  565. {
  566. "name": "HTTPS_NAME",
  567. "value": "${HTTPS_NAME}"
  568. },
  569. {
  570. "name": "HTTPS_PASSWORD",
  571. "value": "${HTTPS_PASSWORD}"
  572. },
  573. {
  574. "name": "HORNETQ_CLUSTER_PASSWORD",
  575. "value": "${HORNETQ_CLUSTER_PASSWORD}"
  576. },
  577. {
  578. "name": "HORNETQ_QUEUES",
  579. "value": "${HORNETQ_QUEUES}"
  580. },
  581. {
  582. "name": "HORNETQ_TOPICS",
  583. "value": "${HORNETQ_TOPICS}"
  584. },
  585. {
  586. "name": "JGROUPS_ENCRYPT_SECRET",
  587. "value": "${JGROUPS_ENCRYPT_SECRET}"
  588. },
  589. {
  590. "name": "JGROUPS_ENCRYPT_KEYSTORE_DIR",
  591. "value": "/etc/jgroups-encrypt-secret-volume"
  592. },
  593. {
  594. "name": "JGROUPS_ENCRYPT_KEYSTORE",
  595. "value": "${JGROUPS_ENCRYPT_KEYSTORE}"
  596. },
  597. {
  598. "name": "JGROUPS_ENCRYPT_NAME",
  599. "value": "${JGROUPS_ENCRYPT_NAME}"
  600. },
  601. {
  602. "name": "JGROUPS_ENCRYPT_PASSWORD",
  603. "value": "${JGROUPS_ENCRYPT_PASSWORD}"
  604. },
  605. {
  606. "name": "JGROUPS_CLUSTER_PASSWORD",
  607. "value": "${JGROUPS_CLUSTER_PASSWORD}"
  608. }
  609. ]
  610. }
  611. ],
  612. "volumes": [
  613. {
  614. "name": "eap-keystore-volume",
  615. "secret": {
  616. "secretName": "${HTTPS_SECRET}"
  617. }
  618. },
  619. {
  620. "name": "eap-jgroups-keystore-volume",
  621. "secret": {
  622. "secretName": "${JGROUPS_ENCRYPT_SECRET}"
  623. }
  624. }
  625. ]
  626. }
  627. }
  628. }
  629. },
  630. {
  631. "kind": "DeploymentConfig",
  632. "apiVersion": "v1",
  633. "metadata": {
  634. "name": "${APPLICATION_NAME}-mysql",
  635. "labels": {
  636. "application": "${APPLICATION_NAME}"
  637. }
  638. },
  639. "spec": {
  640. "strategy": {
  641. "type": "Recreate"
  642. },
  643. "triggers": [
  644. {
  645. "type": "ImageChange",
  646. "imageChangeParams": {
  647. "automatic": true,
  648. "containerNames": [
  649. "${APPLICATION_NAME}-mysql"
  650. ],
  651. "from": {
  652. "kind": "ImageStreamTag",
  653. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  654. "name": "mysql:latest"
  655. }
  656. }
  657. },
  658. {
  659. "type": "ConfigChange"
  660. }
  661. ],
  662. "replicas": 1,
  663. "selector": {
  664. "deploymentConfig": "${APPLICATION_NAME}-mysql"
  665. },
  666. "template": {
  667. "metadata": {
  668. "name": "${APPLICATION_NAME}-mysql",
  669. "labels": {
  670. "deploymentConfig": "${APPLICATION_NAME}-mysql",
  671. "application": "${APPLICATION_NAME}"
  672. }
  673. },
  674. "spec": {
  675. "terminationGracePeriodSeconds": 60,
  676. "containers": [
  677. {
  678. "name": "${APPLICATION_NAME}-mysql",
  679. "image": "mysql",
  680. "imagePullPolicy": "Always",
  681. "ports": [
  682. {
  683. "containerPort": 3306,
  684. "protocol": "TCP"
  685. }
  686. ],
  687. "volumeMounts": [
  688. {
  689. "mountPath": "/var/lib/mysql/data",
  690. "name": "${APPLICATION_NAME}-mysql-pvol"
  691. }
  692. ],
  693. "env": [
  694. {
  695. "name": "MYSQL_USER",
  696. "value": "${DB_USERNAME}"
  697. },
  698. {
  699. "name": "MYSQL_PASSWORD",
  700. "value": "${DB_PASSWORD}"
  701. },
  702. {
  703. "name": "MYSQL_DATABASE",
  704. "value": "${DB_DATABASE}"
  705. },
  706. {
  707. "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
  708. "value": "${MYSQL_LOWER_CASE_TABLE_NAMES}"
  709. },
  710. {
  711. "name": "MYSQL_MAX_CONNECTIONS",
  712. "value": "${MYSQL_MAX_CONNECTIONS}"
  713. },
  714. {
  715. "name": "MYSQL_FT_MIN_WORD_LEN",
  716. "value": "${MYSQL_FT_MIN_WORD_LEN}"
  717. },
  718. {
  719. "name": "MYSQL_FT_MAX_WORD_LEN",
  720. "value": "${MYSQL_FT_MAX_WORD_LEN}"
  721. },
  722. {
  723. "name": "MYSQL_AIO",
  724. "value": "${MYSQL_AIO}"
  725. }
  726. ]
  727. }
  728. ],
  729. "volumes": [
  730. {
  731. "name": "${APPLICATION_NAME}-mysql-pvol",
  732. "persistentVolumeClaim": {
  733. "claimName": "${APPLICATION_NAME}-mysql-claim"
  734. }
  735. }
  736. ]
  737. }
  738. }
  739. }
  740. },
  741. {
  742. "apiVersion": "v1",
  743. "kind": "PersistentVolumeClaim",
  744. "metadata": {
  745. "name": "${APPLICATION_NAME}-mysql-claim",
  746. "labels": {
  747. "application": "${APPLICATION_NAME}"
  748. }
  749. },
  750. "spec": {
  751. "accessModes": [
  752. "ReadWriteOnce"
  753. ],
  754. "resources": {
  755. "requests": {
  756. "storage": "${VOLUME_CAPACITY}"
  757. }
  758. }
  759. }
  760. }
  761. ]
  762. }