bumped and use commons version
This commit is contained in:
parent
04f811245e
commit
354447037e
3 changed files with 18 additions and 18 deletions
|
@ -5,7 +5,7 @@
|
||||||
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
||||||
:dependencies [[org.clojure/clojure "1.10.3"]
|
:dependencies [[org.clojure/clojure "1.10.3"]
|
||||||
[org.clojure/tools.reader "1.3.4"]
|
[org.clojure/tools.reader "1.3.4"]
|
||||||
[org.domaindrivenarchitecture/c4k-common-clj "0.2.8"]
|
[org.domaindrivenarchitecture/c4k-common-clj "0.2.10"]
|
||||||
[hickory "0.7.1"]]
|
[hickory "0.7.1"]]
|
||||||
:target-path "target/%s/"
|
:target-path "target/%s/"
|
||||||
:source-paths ["src/main/cljc"
|
:source-paths ["src/main/cljc"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"src/test/cljc"
|
"src/test/cljc"
|
||||||
"src/test/cljs"
|
"src/test/cljs"
|
||||||
"src/test/resources"]
|
"src/test/resources"]
|
||||||
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.2.8"]
|
:dependencies [[org.domaindrivenarchitecture/c4k-common-cljs "0.2.10"]
|
||||||
[hickory "0.7.1"]]
|
[hickory "0.7.1"]]
|
||||||
:builds {:frontend {:target :browser
|
:builds {:frontend {:target :browser
|
||||||
:modules {:main {:init-fn dda.c4k-jira.browser/init}}
|
:modules {:main {:init-fn dda.c4k-jira.browser/init}}
|
||||||
|
|
|
@ -8,27 +8,27 @@
|
||||||
|
|
||||||
(defn generate-content
|
(defn generate-content
|
||||||
[]
|
[]
|
||||||
(into [] (concat [(assoc (generate-needs-validation) :content
|
(into [] (concat [(assoc (br/generate-needs-validation) :content
|
||||||
(into [] (concat (generate-input-field "fqdn" "Your fqdn:" "jira-neu.prod.meissa-gmbh.de")
|
(into [] (concat (br/generate-input-field "fqdn" "Your fqdn:" "jira-neu.prod.meissa-gmbh.de")
|
||||||
(generate-input-field "jira-data-volume-path" "(Optional) Your jira-data-volume-path:" "/var/jira")
|
(br/generate-input-field "jira-data-volume-path" "(Optional) Your jira-data-volume-path:" "/var/jira")
|
||||||
(generate-input-field "postgres-data-volume-path" "(Optional) Your postgres-data-volume-path:" "/var/postgres")
|
(br/generate-input-field "postgres-data-volume-path" "(Optional) Your postgres-data-volume-path:" "/var/postgres")
|
||||||
(generate-input-field "restic-repository" "(Optional) Your restic-repository:" "restic-repository")
|
(br/generate-input-field "restic-repository" "(Optional) Your restic-repository:" "restic-repository")
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")
|
(br/generate-input-field "issuer" "(Optional) Your issuer prod/staging:" "")
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-text-area "auth" "Your auth.edn:" "{:postgres-db-user \" jira \"
|
(br/generate-text-area "auth" "Your auth.edn:" "{:postgres-db-user \" jira \"
|
||||||
:postgres-db-password \" jira-db-password \"
|
:postgres-db-password \" jira-db-password \"
|
||||||
:aws-access-key-id \" aws-id \"
|
:aws-access-key-id \" aws-id \"
|
||||||
:aws-secret-access-key \" aws-secret \"
|
:aws-secret-access-key \" aws-secret \"
|
||||||
:restic-password \" restic-password \"}"
|
:restic-password \" restic-password \"}"
|
||||||
"5")
|
"5")
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-button "generate-button" "Generate c4k yaml"))))]
|
(br/generate-button "generate-button" "Generate c4k yaml"))))]
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-br)
|
(br/generate-br)
|
||||||
(generate-output "c4k-keycloak-output" "Your c4k deployment.yaml:" "25"))))
|
(br/generate-output "c4k-keycloak-output" "Your c4k deployment.yaml:" "25"))))
|
||||||
|
|
||||||
(defn config-from-document []
|
(defn config-from-document []
|
||||||
(let [jira-data-volume-path (br/get-content-from-element "jira-data-volume-path" :optional true)
|
(let [jira-data-volume-path (br/get-content-from-element "jira-data-volume-path" :optional true)
|
||||||
|
|
Reference in a new issue