Commit graph

93 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