Commit graph

143 commits

Author SHA1 Message Date
bom
1c30c8c157 Faster renewal of certificates 2023-03-02 11:54:55 +01:00
bom
30d444c2a0 Rename keywords to monitoring specific values 2023-01-27 13:37:33 +01:00
dc23ef15cc Refactor spec definitions as spec keywords. 2023-01-27 12:25:58 +01:00
e827b6113d Update postgres to use strings instead of keywords
In config and auth.
2023-01-27 12:24:22 +01:00
64298cc69e Refactor keywords to strings
Because the yaml reader reads clojure keywords as string.
2023-01-27 12:23:01 +01:00
bom
a270ce3d13 Merge branch 'master' of gitlab.com:domaindrivenarchitecture/c4k-common 2023-01-27 10:37:18 +01:00
bom
f34fa113ca Fix monitoring test to include cljs path 2023-01-27 10:37:15 +01:00
7cd303b478 Implement specs as def 2023-01-27 10:34:45 +01:00
bom
e53dfc01aa Implement regression test for invalid spec definition 2023-01-27 10:26:19 +01:00
bom
67c2fb4af7 Implement specs as defs and not functions
This caused values to be spec valid no matter what
2023-01-27 10:25:59 +01:00
50f269e8d4 breaking: fixed spec for monitoring 2022-12-28 17:58:24 +01:00
a85e3c3b24 add ability to either consume yaml or edn 2022-12-28 08:40:08 +01:00
7af0897db3 format 2022-12-27 08:19:22 +01:00
d8c7bdc55f refactor name 2022-12-27 08:19:13 +01:00
0991ac2f73 bind ingress to public 2022-12-26 18:06:12 +01:00
2c8ce98d66 breaking: widen spec for ingress usage 2022-12-26 18:05:52 +01:00
167c58be08 breaking: rename ingress-cert -> ingress & add generateingress-and-cert 2022-12-26 18:04:53 +01:00
6241f63967 add groups f. browser 2022-12-23 18:53:01 +01:00
Pat Dyn
8a3fc9399e We now produce a working monitoring config 2022-12-23 14:52:43 +00:00
bom
a440fc47a6 Use defn instead of multimethod for load-as-edn 2022-11-18 10:38:39 +01:00
bom
21c1b69ade Remove tls annotation from ingress
This is not required as specifying the tls section already specializes
this ingress for https traffic.
2022-11-18 09:37:26 +01:00
bom
d635988f5a Remove router.tls annotation
This specialized the ingress for https connections which is no longer
the case for the combined ingress
2022-11-11 10:24:33 +01:00
bom
948b7d92e7 Consolidate http and https ingress
The two ingresses were used to enable http to https redirects which can
also be done by specifying a middleware in the annotations.
2022-11-11 09:35:42 +01:00
Pat Dyn
070e794981 Merge branch 'master' into 'yaml-ns-refactoring'
# Conflicts:
#   src/test/cljc/dda/c4k_common/common_test.cljc
2022-11-08 13:28:36 +00:00
efca8c0cd9 Update ingress 2022-11-08 14:00:03 +01:00
2ee2985139 Cleanup 2022-11-08 13:53:02 +01:00
6358701732 shadow-cljs/resource need literal string 2022-11-08 13:43:54 +01:00
1cadd0e993 [WIP] Update postgres and tests 2022-11-08 13:37:08 +01:00
65dd1d1ca2 [WIP] Check for allowed resources 2022-11-08 13:06:26 +01:00
d1f4fb942d [WIP] Refactor yaml.cljs
Move redundand functionality from modules to common.
2022-11-08 12:57:54 +01:00
ce73df117c Remove Todo from http ing[F 2022-11-04 12:06:44 +01:00
ef9fd8ea65 Fix test and update deps
* Exception testing now happens for clj only
  * If testing for cljs is required we need tests for cljs
2022-11-02 13:58:20 +01:00
68d8323921 Refactor labels.app.kubernetes.part-of 2022-11-01 15:38:14 +01:00
fe2d74a947 [Skip-Ci] [WIP] Refactor ingress ns
* now ingress-cert
* typo fix
2022-11-01 13:59:24 +01:00
Clemens
e6074cdb4d Added integer-string? predicate 2022-10-28 12:42:19 +02:00
bb8ac8a78f Add ingress definitions to c4k-common
Also update gitignore.
2022-10-19 09:25:37 +02:00
34f498cacb Added pred int-gt-n? 2022-08-05 08:50:25 +02:00
508f0a76f8 renamed commen-test -> test-helper 2022-07-29 14:04:28 +02:00
6d520d3fa8 fix spec for concat-vec & added tests 2022-07-29 13:46:53 +02:00
c3a14c96d1 Added concat-str-vec with string-vector? pred 2022-07-29 12:39:40 +02:00
bom
a4de7f54e3 Fix tests 2022-07-27 11:56:21 +02:00
bom
e28ccabf72 Move input to end of pred function 2022-07-27 11:53:10 +02:00
bom
aa55ae4606 Add tests for all remaining predicates 2022-07-27 11:30:16 +02:00
bom
f403f9452b Fix: print (usage name) instead of the usage function 2022-07-27 11:29:31 +02:00
bom
980eec3158 Update name of list-of-separated-by? 2022-07-27 11:28:49 +02:00
9a065943c9 Add unittests for predicates 2022-07-27 11:02:30 +02:00
bom
b0fe222c25 Use map-diff function in postgres_test
Add tests alongside the existing tests which use map-diff to demonstrate
the usage of map-diff.
2022-06-13 22:15:25 +02:00
bom
792947c939 Add common_test namespace with map-diff function
The map-diff function searches two collections with the same structure
for equal keywords with differing values and returns the diff as a map.
2022-06-13 22:08:23 +02:00
bom
181b4c9e09 prep for release 2022-05-13 15:37:42 +02:00
bom
75bd554624 prep for release 2022-05-13 15:24:04 +02:00
bom
2acf9b3bb2 moved main to uberjar from common ns 2022-05-13 14:19:37 +02:00
bom
56e30b0b5f added load-as-edn as function 2022-05-13 14:19:16 +02:00
933342d860 Changed letsencrypt issuer stages from keywords to strings. 2022-05-11 14:14:29 +02:00
bom
1a2997b89f Merge branch 'master' of gitlab.com:domaindrivenarchitecture/c4k-common 2022-04-27 13:20:02 +02:00
bom
d5cb048221 Version 1.1.1 2022-04-27 13:19:42 +02:00
76206a28ba Added predicate is-yaml? 2022-04-13 13:39:55 +02:00
4cfe791e85 Breaking-Change: generate-pvc now needs a config.
introduced storage-size & storage-class-name
2022-02-12 18:28:35 +01:00
jem
0fc9fc3e65 fixed cljs tests 2021-11-06 17:29:13 +01:00
jem
d5e3810d02 fixed tests 2021-11-05 19:35:16 +01:00
jem
47b7a412c9 mob finish 2021-11-05 16:18:37 +01:00
bom
86a191f45a mob 2021-11-05 15:16:04 +01:00
az
370eb687c7 mob4 2021-11-05 15:00:32 +01:00
jem
c4e1539958 mob 2021-11-05 14:40:40 +01:00
leo
bb7757338c mob2 2021-11-05 14:25:35 +01:00
bom
86b6e890cf mob 2021-11-05 14:11:20 +01:00
az
d270dfcbd0 mob1 2021-11-05 13:51:22 +01:00
az
7713afdb38 add spec to yaml.clj and base64.clj 2021-10-31 08:51:03 +01:00
bom
494241a15a dont append to body directly but c4k-content div instead 2021-10-22 15:33:32 +02:00
bom
d9a1b53596 removed onblur from html 2021-10-08 16:38:40 +02:00
bom
7c73735a64 add functions to create js-objs from hickory 2021-10-08 16:23:35 +02:00
jem
bc2ffc0693 allow pg pinning override 2021-10-08 11:56:42 +02:00
jem
ce72dc84eb pin postgres to version 13 2021-10-08 11:41:46 +02:00
jem
4e16002151 Merge branch 'master' of gitlab.com:domaindrivenarchitecture/c4k-common 2021-10-01 15:46:10 +02:00
jem
759602fc76 add new refactoring 2021-10-01 15:46:06 +02:00
bom
2625cb615c added id to input field, variable project 2021-09-22 11:26:25 +02:00
bom
d34d7a7ce5 added onblur listener and br 2021-09-22 10:50:39 +02:00
jem
d66189bd9f add missing db-name 2021-09-14 19:38:57 +02:00
jem
60baab6a8c fix tests 2021-09-14 18:41:08 +02:00
jem
1873813e7f Merge branch 'master' of gitlab.com:domaindrivenarchitecture/c4k-common 2021-09-14 18:11:46 +02:00
jem
1dea6ceccf adjust shared buffers to 0.25 2021-09-14 18:11:42 +02:00
bom
952412b74d fixed wrong imports in postgres 2021-09-14 14:45:32 +02:00
bom
8badf77922 fixes in browser 2021-09-14 14:42:09 +02:00
jem
8b5c33183c resolve deprecation 2021-09-13 09:24:47 +02:00
jem
a0ce804499 introduce size dependand postgres-sizings 2021-09-13 09:05:08 +02:00
bom
2ac6afb3bb moved hickory framework to commons 2021-09-03 12:59:28 +02:00
Jan Krebs
ed90703b13 Add information where deprecated functions were moved to 2021-08-05 17:55:17 +02:00
jem
00651fa386 fix test resource 2021-07-09 17:17:14 +02:00
bom
930e520c42 yaml multimethod, added postgres 2021-07-09 16:53:38 +02:00
jem
67631747ae mob 2021-07-09 16:39:36 +02:00
bom
8e3b007e06 mob 2021-07-09 16:21:17 +02:00
jem
f62baf0cd0 established cljs 2021-06-18 16:18:46 +02:00
39e3b25ac0 Adjusted namepace names 2021-06-18 15:54:59 +02:00
bom
935904e024 refactor common parts 2021-06-18 15:49:43 +02:00