From f6559adef43e0d55383b304d754480a95577aaa9 Mon Sep 17 00:00:00 2001 From: Idhibhat Pankam Date: Fri, 12 Jul 2024 23:31:13 +0700 Subject: [PATCH 1/2] remove microservices folder --- microservices/auth/staff.template.json | 6 ------ microservices/prometheus/prometheus.yml | 9 --------- 2 files changed, 15 deletions(-) delete mode 100644 microservices/auth/staff.template.json delete mode 100644 microservices/prometheus/prometheus.yml diff --git a/microservices/auth/staff.template.json b/microservices/auth/staff.template.json deleted file mode 100644 index 2d355e8..0000000 --- a/microservices/auth/staff.template.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "staffs": [ - "6932203021", - "6932203121" - ] -} \ No newline at end of file diff --git a/microservices/prometheus/prometheus.yml b/microservices/prometheus/prometheus.yml deleted file mode 100644 index 3d752c6..0000000 --- a/microservices/prometheus/prometheus.yml +++ /dev/null @@ -1,9 +0,0 @@ -global: - scrape_interval: 15s - evaluation_interval: 15s - -scrape_configs: - - job_name: gateway-api - static_configs: - - targets: ['gateway:3001'] - metrics_path: '/api/v1/metrics' \ No newline at end of file From 27c2c67e6739c052fe691d9fc2390edef68065c9 Mon Sep 17 00:00:00 2001 From: Idhibhat Pankam Date: Sat, 13 Jul 2024 21:05:16 +0700 Subject: [PATCH 2/2] update proto --- go.mod | 4 ++-- go.sum | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index f27ada1..45040eb 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 github.com/golang/mock v1.6.0 github.com/google/uuid v1.6.0 - github.com/isd-sgcu/rpkm67-go-proto v0.4.6 - github.com/isd-sgcu/rpkm67-model v0.0.7 + github.com/isd-sgcu/rpkm67-go-proto v0.4.8 + github.com/isd-sgcu/rpkm67-model v0.1.0 github.com/joho/godotenv v1.5.1 github.com/pkg/errors v0.9.1 github.com/redis/go-redis/v9 v9.5.3 diff --git a/go.sum b/go.sum index eb65960..b467477 100644 --- a/go.sum +++ b/go.sum @@ -22,8 +22,12 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/isd-sgcu/rpkm67-go-proto v0.4.6 h1:yUBzUY3ftBfnI2x/MT+MsynBOlV5pOR143c9OTrVGuU= github.com/isd-sgcu/rpkm67-go-proto v0.4.6/go.mod h1:w+UCeQnJ3wBuJ7Tyf8LiBiPZVb1KlecjMNCB7kBeL7M= +github.com/isd-sgcu/rpkm67-go-proto v0.4.8 h1:tU6nCv4A34guBoDwkZvUzzs6z43NBzgLsSbGmX5QRYI= +github.com/isd-sgcu/rpkm67-go-proto v0.4.8/go.mod h1:w+UCeQnJ3wBuJ7Tyf8LiBiPZVb1KlecjMNCB7kBeL7M= github.com/isd-sgcu/rpkm67-model v0.0.7 h1:3b8gf1Ocg+Ky4xocKtCqVCB3rFDg90IgEXRwNmHt0OE= github.com/isd-sgcu/rpkm67-model v0.0.7/go.mod h1:dxgLSkrFpbQOXsrzqgepZoEOyZUIG2LBGtm5gsuBbVc= +github.com/isd-sgcu/rpkm67-model v0.1.0 h1:ML4C8cU7L8m53QuAiIkrykzQP9VYlsOWGrQO53gxSLc= +github.com/isd-sgcu/rpkm67-model v0.1.0/go.mod h1:dxgLSkrFpbQOXsrzqgepZoEOyZUIG2LBGtm5gsuBbVc= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk=