Skip to content

Commit

Permalink
Merge pull request #3984 from airqo-platform/staging
Browse files Browse the repository at this point in the history
move to production
  • Loading branch information
Baalmart authored Dec 3, 2024
2 parents bf083c5 + fc6cf1b commit e995e9f
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 16 deletions.
2 changes: 1 addition & 1 deletion k8s/auth-service/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/device-registry/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-airqo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-kcca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
2 changes: 1 addition & 1 deletion k8s/predict/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion k8s/spatial/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/workflows/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/workflows/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
16 changes: 8 additions & 8 deletions src/auth-service/utils/create-network.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
12 changes: 12 additions & 0 deletions src/device-registry/utils/create-cohort.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e995e9f

Please sign in to comment.