Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to production #3991

Merged
merged 12 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/auth-service/values-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 2
image:
repository: eu.gcr.io/airqo-250220/airqo-stage-auth-api
tag: stage-924cc3f2-1733248115
tag: stage-1838aa7a-1733249623
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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-877d4dac-1733224973
tag: prod-da0db8f0-1733248410
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
6 changes: 5 additions & 1 deletion src/device-registry/config/global/mappings.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ const mappings = {
PREDEFINED_FILTER_VALUES: {
NETWORKS: ["metone", "usembassy"],
COMBINATIONS: {
NETWORK_PAIRS: [["metone", "usembassy"], ["kcca", "clarity"]],
NETWORK_PAIRS: [
["metone", "usembassy", "us_embassy"],
["kcca", "clarity"],
["urbanbetter", "airbeam", "urban_better"],
],
GROUP_PAIRS: [["metone", "usembassy"], ["kcca", "clarity"]],
STATUS_PAIRS: [
["active", "enabled", "running"],
Expand Down
12 changes: 6 additions & 6 deletions src/device-registry/utils/create-cohort.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +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" },
// };
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
Loading