diff --git a/k8s/auth-service/values-prod.yaml b/k8s/auth-service/values-prod.yaml index 60cc544fea..6b752ca25b 100644 --- a/k8s/auth-service/values-prod.yaml +++ b/k8s/auth-service/values-prod.yaml @@ -6,7 +6,7 @@ app: replicaCount: 3 image: repository: eu.gcr.io/airqo-250220/airqo-auth-api - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' podAnnotations: {} diff --git a/k8s/device-registry/values-prod.yaml b/k8s/device-registry/values-prod.yaml index 40ffc485ac..e1dc9abb38 100644 --- a/k8s/device-registry/values-prod.yaml +++ b/k8s/device-registry/values-prod.yaml @@ -6,7 +6,7 @@ app: replicaCount: 3 image: repository: eu.gcr.io/airqo-250220/airqo-device-registry-api - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' podAnnotations: {} diff --git a/k8s/exceedance/values-prod-airqo.yaml b/k8s/exceedance/values-prod-airqo.yaml index 242d0e3a52..06f799f08d 100644 --- a/k8s/exceedance/values-prod-airqo.yaml +++ b/k8s/exceedance/values-prod-airqo.yaml @@ -4,6 +4,6 @@ app: configmap: env-exceedance-production image: repository: eu.gcr.io/airqo-250220/airqo-exceedance-job - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' diff --git a/k8s/exceedance/values-prod-kcca.yaml b/k8s/exceedance/values-prod-kcca.yaml index c4ca1f0aa3..fc59795e9f 100644 --- a/k8s/exceedance/values-prod-kcca.yaml +++ b/k8s/exceedance/values-prod-kcca.yaml @@ -4,6 +4,6 @@ app: configmap: env-exceedance-production image: repository: eu.gcr.io/airqo-250220/kcca-exceedance-job - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' diff --git a/k8s/predict/values-prod.yaml b/k8s/predict/values-prod.yaml index 15bd6dc49b..20dc680bf8 100644 --- a/k8s/predict/values-prod.yaml +++ b/k8s/predict/values-prod.yaml @@ -7,7 +7,7 @@ images: predictJob: eu.gcr.io/airqo-250220/airqo-predict-job trainJob: eu.gcr.io/airqo-250220/airqo-train-job predictPlaces: eu.gcr.io/airqo-250220/airqo-predict-places-air-quality - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 api: name: airqo-prediction-api label: prediction-api diff --git a/k8s/spatial/values-prod.yaml b/k8s/spatial/values-prod.yaml index 88255d30da..b9fcfb313b 100644 --- a/k8s/spatial/values-prod.yaml +++ b/k8s/spatial/values-prod.yaml @@ -6,7 +6,7 @@ app: replicaCount: 3 image: repository: eu.gcr.io/airqo-250220/airqo-spatial-api - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' podAnnotations: {} diff --git a/k8s/workflows/values-prod.yaml b/k8s/workflows/values-prod.yaml index e28b0776db..eea1516dd5 100644 --- a/k8s/workflows/values-prod.yaml +++ b/k8s/workflows/values-prod.yaml @@ -10,7 +10,7 @@ images: initContainer: eu.gcr.io/airqo-250220/airqo-workflows-xcom redisContainer: eu.gcr.io/airqo-250220/airqo-redis containers: eu.gcr.io/airqo-250220/airqo-workflows - tag: prod-4bb2ac23-1733220303 + tag: prod-bf083c5a-1733222051 nameOverride: '' fullnameOverride: '' podAnnotations: {} diff --git a/k8s/workflows/values-stage.yaml b/k8s/workflows/values-stage.yaml index 15ed1a62be..117229c2c9 100644 --- a/k8s/workflows/values-stage.yaml +++ b/k8s/workflows/values-stage.yaml @@ -10,7 +10,7 @@ images: initContainer: eu.gcr.io/airqo-250220/airqo-stage-workflows-xcom redisContainer: eu.gcr.io/airqo-250220/airqo-stage-redis containers: eu.gcr.io/airqo-250220/airqo-stage-workflows - tag: stage-cd34710b-1733152881 + tag: stage-536a74ca-1733221946 nameOverride: '' fullnameOverride: '' podAnnotations: {} diff --git a/src/auth-service/utils/create-network.js b/src/auth-service/utils/create-network.js index eaa2e8ea9e..8b879af0bf 100644 --- a/src/auth-service/utils/create-network.js +++ b/src/auth-service/utils/create-network.js @@ -142,14 +142,14 @@ const createNetwork = { }, create: async (request, next) => { try { - // return { - // success: false, - // message: "Service Temporarily Unavailable", - // errors: { - // message: "Service Temporarily Unavailable", - // }, - // status: httpStatus.SERVICE_UNAVAILABLE, - // }; + return { + success: false, + message: "Service Temporarily Unavailable", + errors: { + message: "Service Temporarily Unavailable", + }, + status: httpStatus.SERVICE_UNAVAILABLE, + }; const { body, query } = request; const { tenant } = query; diff --git a/src/device-registry/utils/create-cohort.js b/src/device-registry/utils/create-cohort.js index 982ff7cb80..b0ac194d85 100644 --- a/src/device-registry/utils/create-cohort.js +++ b/src/device-registry/utils/create-cohort.js @@ -186,6 +186,12 @@ const createCohort = { }, createNetwork: async (request, next) => { try { + return { + success: false, + message: "Service Temporarily Disabled --coming soon", + status: httpStatus.SERVICE_UNAVAILABLE, + errors: { message: "Service Unavailable" }, + }; /** * in the near future, this wont be needed since Kafka * will handle the entire creation process @@ -289,6 +295,12 @@ const createCohort = { }, delete: async (request, next) => { try { + return { + success: false, + message: "Service Temporarily Disabled --coming soon", + status: httpStatus.SERVICE_UNAVAILABLE, + errors: { message: "Service Unavailable" }, + }; const { query } = request; const { tenant } = query; const filter = generateFilter.cohorts(request, next);