├── .github └── workflows │ ├── asset.yml │ ├── client.yml │ ├── graphql.yml │ ├── sensor.yml │ ├── site.yml │ └── switch.yml ├── LICENSE ├── Makefile ├── README.md ├── charts ├── .gitignore ├── README.md ├── asset │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── icon.png │ ├── requirements.lock │ ├── requirements.yaml │ ├── templates │ │ ├── NOTES.txt │ │ ├── _helpers.tpl │ │ ├── configmap.yaml │ │ ├── deployment.yaml │ │ ├── secret.yaml │ │ ├── serviceaccount.yaml │ │ └── tests │ │ │ └── test-api.yaml │ └── values.yaml ├── sensor │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── icon.png │ ├── requirements.lock │ ├── requirements.yaml │ ├── templates │ │ ├── NOTES.txt │ │ ├── _helpers.tpl │ │ ├── configmap.yaml │ │ ├── deployment.yaml │ │ ├── ingress.yaml │ │ ├── service.yaml │ │ ├── serviceaccount.yaml │ │ └── tests │ │ │ └── test-api.yaml │ └── values.yaml └── site │ ├── .helmignore │ ├── Chart.yaml │ ├── README.md │ ├── icon.png │ ├── requirements.lock │ ├── requirements.yaml │ ├── templates │ ├── NOTES.txt │ ├── _helpers.tpl │ ├── configmap.yaml │ ├── deployment.yaml │ ├── ingress.yaml │ ├── service.yaml │ ├── serviceaccount.yaml │ └── tests │ │ └── test-api.yaml │ └── values.yaml ├── docker ├── Makefile ├── README.md ├── caddy │ ├── Dockerfile │ ├── caddy.go │ └── go.mod ├── certs │ ├── caddy.cert │ ├── caddy.key │ ├── intermediate.ca.cert │ ├── intermediate.ca.chain │ ├── intermediate.ca.key │ ├── localhost.cert │ ├── localhost.key │ ├── root.ca.cert │ ├── root.ca.key │ ├── traefik.cert │ └── traefik.key ├── data │ ├── arango │ │ └── switches.json │ ├── cockroach │ │ ├── assets.sql │ │ └── init-cockroach.sql │ ├── mongo │ │ └── sites.json │ └── postgres │ │ ├── init-postgres.sql │ │ ├── pgpass │ │ └── sensors.sql ├── docker-compose.yml ├── fluentd │ ├── Dockerfile │ └── fluent.conf ├── gateway │ ├── Caddyfile │ └── traefik.toml ├── logging │ ├── elasticsearch.yml │ └── kibana.yml ├── metrics │ ├── alertmanager.yml │ ├── alerts.yml │ ├── grafana.ini │ └── prometheus.yml ├── nats-exporter │ └── Dockerfile └── seed-data.sh ├── docs └── architecture.png ├── renovate.json └── services ├── asset ├── .dockerignore ├── .gitignore ├── Dockerfile ├── Dockerfile.test ├── Makefile ├── README.md ├── VERSION ├── cmd │ ├── config │ │ ├── config.go │ │ └── config_test.go │ ├── server │ │ ├── server.go │ │ └── server_test.go │ └── version │ │ └── version.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── internal │ ├── db │ │ ├── cockroach.go │ │ └── cockroach_test.go │ ├── middleware │ │ ├── middleware.go │ │ ├── monitor.go │ │ └── monitor_test.go │ ├── model │ │ └── model.go │ ├── queue │ │ ├── nats.go │ │ └── nats_test.go │ ├── service │ │ ├── alarm.go │ │ ├── alarm_test.go │ │ ├── camera.go │ │ ├── camera_test.go │ │ └── helper_test.go │ └── transport │ │ ├── messages.go │ │ ├── mock_test.go │ │ ├── nats.go │ │ └── nats_test.go ├── main.go ├── pkg │ ├── http │ │ ├── http.go │ │ └── http_test.go │ ├── log │ │ ├── logger.go │ │ └── logger_test.go │ ├── metrics │ │ ├── metrics.go │ │ └── metrics_test.go │ └── trace │ │ ├── tracer.go │ │ └── tracer_test.go ├── scripts │ ├── build.sh │ ├── test-component.sh │ ├── test-integration.sh │ └── test-unit-cover.sh └── test │ ├── component │ ├── component_test.go │ ├── liveness_test.go │ ├── readiness_test.go │ └── service_test.go │ └── integration │ ├── cockroach_test.go │ ├── integration_test.go │ └── nats_test.go ├── client ├── .dockerignore ├── .eslintrc ├── .gitignore ├── Dockerfile ├── Makefile ├── README.md ├── docker-compose.yml ├── mock │ ├── config.json │ ├── data.json │ ├── index.js │ └── routes.json ├── package.json ├── public │ ├── favicon.ico │ ├── index.html │ └── manifest.json ├── server │ ├── index.js │ ├── package.json │ └── yarn.lock ├── src │ ├── actions │ │ ├── __tests__ │ │ │ ├── sensor.test.js │ │ │ └── site.test.js │ │ ├── sensor.js │ │ └── site.js │ ├── api │ │ ├── __mocks__ │ │ │ └── axios.js │ │ ├── __tests__ │ │ │ ├── sensor.test.js │ │ │ └── site.test.js │ │ ├── sensor.js │ │ └── site.js │ ├── components │ │ ├── App.jsx │ │ ├── Routes.jsx │ │ ├── about │ │ │ ├── AboutPage.jsx │ │ │ └── __tests__ │ │ │ │ ├── AboutPage.test.js │ │ │ │ └── __snapshots__ │ │ │ │ └── AboutPage.test.js.snap │ │ ├── common │ │ │ ├── Header.jsx │ │ │ ├── Loading.jsx │ │ │ ├── TextInput.jsx │ │ │ └── __tests__ │ │ │ │ ├── Header.test.js │ │ │ │ ├── Loading.test.js │ │ │ │ ├── TextInput.test.js │ │ │ │ └── __snapshots__ │ │ │ │ ├── Header.test.js.snap │ │ │ │ ├── Loading.test.js.snap │ │ │ │ └── TextInput.test.js.snap │ │ ├── home │ │ │ ├── HomePage.jsx │ │ │ └── __tests__ │ │ │ │ ├── HomePage.test.js │ │ │ │ └── __snapshots__ │ │ │ │ └── HomePage.test.js.snap │ │ ├── sensor │ │ │ ├── SensorList.jsx │ │ │ ├── SensorListItem.jsx │ │ │ ├── SensorPage.jsx │ │ │ └── __tests__ │ │ │ │ ├── SensorList.test.js │ │ │ │ ├── SensorListItem.test.js │ │ │ │ ├── SensorPage.test.js │ │ │ │ └── __snapshots__ │ │ │ │ ├── SensorList.test.js.snap │ │ │ │ ├── SensorListItem.test.js.snap │ │ │ │ └── SensorPage.test.js.snap │ │ └── site │ │ │ ├── SiteList.jsx │ │ │ ├── SiteListItem.jsx │ │ │ ├── SitePage.jsx │ │ │ └── __tests__ │ │ │ ├── SiteList.test.js │ │ │ ├── SiteListItem.test.js │ │ │ ├── SitePage.test.js │ │ │ └── __snapshots__ │ │ │ ├── SiteList.test.js.snap │ │ │ ├── SiteListItem.test.js.snap │ │ │ └── SitePage.test.js.snap │ ├── index.js │ ├── reducers │ │ ├── __tests__ │ │ │ ├── sensor.test.js │ │ │ └── site.test.js │ │ ├── index.js │ │ ├── sensor.js │ │ └── site.js │ ├── setupTests.js │ ├── store │ │ ├── __tests__ │ │ │ └── store.test.js │ │ ├── index.js │ │ ├── store.dev.js │ │ └── store.prod.js │ └── styles │ │ └── styles.css └── yarn.lock ├── graphql ├── .dockerignore ├── .gitignore ├── Dockerfile ├── Dockerfile.test ├── Makefile ├── README.md ├── docker-compose.yml ├── package.json ├── src │ ├── config │ │ ├── index.js │ │ └── index.test.js │ ├── graphql │ │ ├── resolvers │ │ │ ├── asset.js │ │ │ ├── asset.test.js │ │ │ ├── index.js │ │ │ ├── sensor.js │ │ │ ├── sensor.test.js │ │ │ ├── site.js │ │ │ ├── site.test.js │ │ │ ├── switch.js │ │ │ └── switch.test.js │ │ ├── router.js │ │ ├── router.test.js │ │ └── schema.graphql │ ├── grpc │ │ ├── index.js │ │ ├── index.test.js │ │ └── switch.proto │ ├── middleware │ │ ├── index.js │ │ ├── index.test.js │ │ ├── monitor.js │ │ └── monitor.test.js │ ├── routes │ │ ├── liveness.js │ │ ├── liveness.test.js │ │ ├── readiness.js │ │ └── readiness.test.js │ ├── server.js │ ├── server.test.js │ ├── services │ │ ├── asset.js │ │ ├── asset.test.js │ │ ├── sensor.js │ │ ├── sensor.test.js │ │ ├── site.js │ │ ├── site.test.js │ │ ├── switch.js │ │ └── switch.test.js │ └── utils │ │ ├── logger.js │ │ ├── logger.test.js │ │ ├── metrics.js │ │ ├── metrics.test.js │ │ ├── tracer.js │ │ └── tracer.test.js ├── test │ ├── component │ │ └── index.js │ └── mock │ │ ├── grpc │ │ ├── data.json │ │ └── index.js │ │ ├── nats │ │ ├── config.js │ │ └── index.js │ │ └── rest │ │ ├── config.json │ │ ├── data.json │ │ ├── index.js │ │ └── routes.json └── yarn.lock ├── sensor ├── .gitignore ├── Dockerfile ├── Dockerfile.test ├── Makefile ├── README.md ├── VERSION ├── config │ ├── config.go │ └── config_test.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── handler │ ├── common.go │ ├── common_test.go │ ├── sensor.go │ └── sensor_test.go ├── init-postgres.sql ├── main.go ├── middleware │ ├── logger.go │ ├── logger_test.go │ ├── metrics.go │ ├── metrics_test.go │ ├── middleware.go │ ├── middleware_test.go │ ├── tracer.go │ └── tracer_test.go ├── scripts │ ├── build.sh │ └── test-component.sh ├── server │ ├── server.go │ └── server_test.go ├── service │ ├── postgres.go │ ├── postgres_test.go │ ├── sensor.go │ └── sensor_test.go ├── test │ └── component │ │ ├── component.go │ │ └── component_test.go └── util │ ├── http.go │ ├── http_test.go │ ├── logger.go │ ├── logger_test.go │ ├── metrics.go │ ├── metrics_test.go │ ├── tracer.go │ └── tracer_test.go ├── site ├── .dockerignore ├── .gitignore ├── Dockerfile ├── Dockerfile.test ├── Makefile ├── README.md ├── config │ └── index.js ├── docker-compose.yml ├── middleware │ ├── index.js │ ├── logger.js │ ├── metrics.js │ └── tracer.js ├── models │ ├── mongo.js │ └── site.js ├── package.json ├── routes │ ├── health.js │ └── site.js ├── server.js ├── services │ └── site.js ├── tests │ ├── component │ │ └── index.js │ └── unit │ │ ├── config │ │ └── index.js │ │ ├── middleware │ │ ├── index.js │ │ ├── logger.js │ │ ├── metrics.js │ │ └── tracer.js │ │ ├── models │ │ ├── mongo.js │ │ └── site.js │ │ ├── routes │ │ ├── health.js │ │ └── site.js │ │ ├── server.js │ │ ├── services │ │ └── site.js │ │ └── util │ │ ├── logger.js │ │ ├── metrics.js │ │ └── tracer.js ├── util │ ├── logger.js │ ├── metrics.js │ └── tracer.js └── yarn.lock └── switch ├── .gitignore ├── Dockerfile ├── Dockerfile.test ├── Makefile ├── README.md ├── VERSION ├── cmd ├── config │ ├── config.go │ └── config_test.go ├── server │ ├── mock_test.go │ ├── server.go │ └── server_test.go └── version │ └── version.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── internal ├── certs │ ├── ca.chain.cert │ ├── client.cert │ ├── client.key │ ├── server.cert │ └── server.key ├── client │ ├── client.go │ └── client_test.go ├── metrics │ ├── metrics.go │ └── metrics_test.go ├── model │ └── switch.go ├── proto │ ├── switch.pb.go │ └── switch.proto ├── service │ ├── arango.go │ ├── arango_test.go │ ├── mock_test.go │ ├── switch.go │ └── switch_test.go └── transport │ ├── grpc.go │ ├── grpc_test.go │ ├── http.go │ └── http_test.go ├── main.go ├── pkg ├── arango │ ├── arango.go │ └── arango_test.go ├── http │ ├── http.go │ └── http_test.go ├── log │ ├── logger.go │ └── logger_test.go └── trace │ ├── tracer.go │ └── tracer_test.go ├── scripts ├── build.sh ├── proto-gen.sh ├── test-component.sh └── test-integration.sh └── test ├── component └── component_test.go └── integration └── integration_test.go /.github/workflows/asset.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/asset.yml -------------------------------------------------------------------------------- /.github/workflows/client.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/client.yml -------------------------------------------------------------------------------- /.github/workflows/graphql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/graphql.yml -------------------------------------------------------------------------------- /.github/workflows/sensor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/sensor.yml -------------------------------------------------------------------------------- /.github/workflows/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/site.yml -------------------------------------------------------------------------------- /.github/workflows/switch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/.github/workflows/switch.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/README.md -------------------------------------------------------------------------------- /charts/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/.gitignore -------------------------------------------------------------------------------- /charts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/README.md -------------------------------------------------------------------------------- /charts/asset/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/.helmignore -------------------------------------------------------------------------------- /charts/asset/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/Chart.yaml -------------------------------------------------------------------------------- /charts/asset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/README.md -------------------------------------------------------------------------------- /charts/asset/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/icon.png -------------------------------------------------------------------------------- /charts/asset/requirements.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/requirements.lock -------------------------------------------------------------------------------- /charts/asset/requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/requirements.yaml -------------------------------------------------------------------------------- /charts/asset/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/NOTES.txt -------------------------------------------------------------------------------- /charts/asset/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/asset/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/configmap.yaml -------------------------------------------------------------------------------- /charts/asset/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/asset/templates/secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/secret.yaml -------------------------------------------------------------------------------- /charts/asset/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /charts/asset/templates/tests/test-api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/templates/tests/test-api.yaml -------------------------------------------------------------------------------- /charts/asset/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/asset/values.yaml -------------------------------------------------------------------------------- /charts/sensor/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/.helmignore -------------------------------------------------------------------------------- /charts/sensor/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/Chart.yaml -------------------------------------------------------------------------------- /charts/sensor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/README.md -------------------------------------------------------------------------------- /charts/sensor/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/icon.png -------------------------------------------------------------------------------- /charts/sensor/requirements.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/requirements.lock -------------------------------------------------------------------------------- /charts/sensor/requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/requirements.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/NOTES.txt -------------------------------------------------------------------------------- /charts/sensor/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/sensor/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/configmap.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/ingress.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/service.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /charts/sensor/templates/tests/test-api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/templates/tests/test-api.yaml -------------------------------------------------------------------------------- /charts/sensor/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/sensor/values.yaml -------------------------------------------------------------------------------- /charts/site/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/.helmignore -------------------------------------------------------------------------------- /charts/site/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/Chart.yaml -------------------------------------------------------------------------------- /charts/site/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/README.md -------------------------------------------------------------------------------- /charts/site/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/icon.png -------------------------------------------------------------------------------- /charts/site/requirements.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/requirements.lock -------------------------------------------------------------------------------- /charts/site/requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/requirements.yaml -------------------------------------------------------------------------------- /charts/site/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/NOTES.txt -------------------------------------------------------------------------------- /charts/site/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/_helpers.tpl -------------------------------------------------------------------------------- /charts/site/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/configmap.yaml -------------------------------------------------------------------------------- /charts/site/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/deployment.yaml -------------------------------------------------------------------------------- /charts/site/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/ingress.yaml -------------------------------------------------------------------------------- /charts/site/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/service.yaml -------------------------------------------------------------------------------- /charts/site/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /charts/site/templates/tests/test-api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/templates/tests/test-api.yaml -------------------------------------------------------------------------------- /charts/site/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/charts/site/values.yaml -------------------------------------------------------------------------------- /docker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/Makefile -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/README.md -------------------------------------------------------------------------------- /docker/caddy/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/caddy/Dockerfile -------------------------------------------------------------------------------- /docker/caddy/caddy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/caddy/caddy.go -------------------------------------------------------------------------------- /docker/caddy/go.mod: -------------------------------------------------------------------------------- 1 | module caddy 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /docker/certs/caddy.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/caddy.cert -------------------------------------------------------------------------------- /docker/certs/caddy.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/caddy.key -------------------------------------------------------------------------------- /docker/certs/intermediate.ca.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/intermediate.ca.cert -------------------------------------------------------------------------------- /docker/certs/intermediate.ca.chain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/intermediate.ca.chain -------------------------------------------------------------------------------- /docker/certs/intermediate.ca.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/intermediate.ca.key -------------------------------------------------------------------------------- /docker/certs/localhost.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/localhost.cert -------------------------------------------------------------------------------- /docker/certs/localhost.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/localhost.key -------------------------------------------------------------------------------- /docker/certs/root.ca.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/root.ca.cert -------------------------------------------------------------------------------- /docker/certs/root.ca.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/root.ca.key -------------------------------------------------------------------------------- /docker/certs/traefik.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/traefik.cert -------------------------------------------------------------------------------- /docker/certs/traefik.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/certs/traefik.key -------------------------------------------------------------------------------- /docker/data/arango/switches.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/arango/switches.json -------------------------------------------------------------------------------- /docker/data/cockroach/assets.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/cockroach/assets.sql -------------------------------------------------------------------------------- /docker/data/cockroach/init-cockroach.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/cockroach/init-cockroach.sql -------------------------------------------------------------------------------- /docker/data/mongo/sites.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/mongo/sites.json -------------------------------------------------------------------------------- /docker/data/postgres/init-postgres.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/postgres/init-postgres.sql -------------------------------------------------------------------------------- /docker/data/postgres/pgpass: -------------------------------------------------------------------------------- 1 | postgres:5432:sensors:root:pass 2 | -------------------------------------------------------------------------------- /docker/data/postgres/sensors.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/data/postgres/sensors.sql -------------------------------------------------------------------------------- /docker/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/docker-compose.yml -------------------------------------------------------------------------------- /docker/fluentd/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/fluentd/Dockerfile -------------------------------------------------------------------------------- /docker/fluentd/fluent.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/fluentd/fluent.conf -------------------------------------------------------------------------------- /docker/gateway/Caddyfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/gateway/Caddyfile -------------------------------------------------------------------------------- /docker/gateway/traefik.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/gateway/traefik.toml -------------------------------------------------------------------------------- /docker/logging/elasticsearch.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/logging/elasticsearch.yml -------------------------------------------------------------------------------- /docker/logging/kibana.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/logging/kibana.yml -------------------------------------------------------------------------------- /docker/metrics/alertmanager.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/metrics/alertmanager.yml -------------------------------------------------------------------------------- /docker/metrics/alerts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/metrics/alerts.yml -------------------------------------------------------------------------------- /docker/metrics/grafana.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/metrics/grafana.ini -------------------------------------------------------------------------------- /docker/metrics/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/metrics/prometheus.yml -------------------------------------------------------------------------------- /docker/nats-exporter/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/nats-exporter/Dockerfile -------------------------------------------------------------------------------- /docker/seed-data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docker/seed-data.sh -------------------------------------------------------------------------------- /docs/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/docs/architecture.png -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/renovate.json -------------------------------------------------------------------------------- /services/asset/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/.dockerignore -------------------------------------------------------------------------------- /services/asset/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/.gitignore -------------------------------------------------------------------------------- /services/asset/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/Dockerfile -------------------------------------------------------------------------------- /services/asset/Dockerfile.test: -------------------------------------------------------------------------------- 1 | # TEST IMAGE 2 | FROM golang:1.14 3 | WORKDIR /repo 4 | COPY . . 5 | RUN go get ./... 6 | -------------------------------------------------------------------------------- /services/asset/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/Makefile -------------------------------------------------------------------------------- /services/asset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/README.md -------------------------------------------------------------------------------- /services/asset/VERSION: -------------------------------------------------------------------------------- 1 | 0.1.0-0 2 | -------------------------------------------------------------------------------- /services/asset/cmd/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/cmd/config/config.go -------------------------------------------------------------------------------- /services/asset/cmd/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/cmd/config/config_test.go -------------------------------------------------------------------------------- /services/asset/cmd/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/cmd/server/server.go -------------------------------------------------------------------------------- /services/asset/cmd/server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/cmd/server/server_test.go -------------------------------------------------------------------------------- /services/asset/cmd/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/cmd/version/version.go -------------------------------------------------------------------------------- /services/asset/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/docker-compose.yml -------------------------------------------------------------------------------- /services/asset/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/go.mod -------------------------------------------------------------------------------- /services/asset/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/go.sum -------------------------------------------------------------------------------- /services/asset/internal/db/cockroach.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/db/cockroach.go -------------------------------------------------------------------------------- /services/asset/internal/db/cockroach_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/db/cockroach_test.go -------------------------------------------------------------------------------- /services/asset/internal/middleware/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/middleware/middleware.go -------------------------------------------------------------------------------- /services/asset/internal/middleware/monitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/middleware/monitor.go -------------------------------------------------------------------------------- /services/asset/internal/middleware/monitor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/middleware/monitor_test.go -------------------------------------------------------------------------------- /services/asset/internal/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/model/model.go -------------------------------------------------------------------------------- /services/asset/internal/queue/nats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/queue/nats.go -------------------------------------------------------------------------------- /services/asset/internal/queue/nats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/queue/nats_test.go -------------------------------------------------------------------------------- /services/asset/internal/service/alarm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/service/alarm.go -------------------------------------------------------------------------------- /services/asset/internal/service/alarm_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/service/alarm_test.go -------------------------------------------------------------------------------- /services/asset/internal/service/camera.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/service/camera.go -------------------------------------------------------------------------------- /services/asset/internal/service/camera_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/service/camera_test.go -------------------------------------------------------------------------------- /services/asset/internal/service/helper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/service/helper_test.go -------------------------------------------------------------------------------- /services/asset/internal/transport/messages.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/transport/messages.go -------------------------------------------------------------------------------- /services/asset/internal/transport/mock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/transport/mock_test.go -------------------------------------------------------------------------------- /services/asset/internal/transport/nats.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/transport/nats.go -------------------------------------------------------------------------------- /services/asset/internal/transport/nats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/internal/transport/nats_test.go -------------------------------------------------------------------------------- /services/asset/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/main.go -------------------------------------------------------------------------------- /services/asset/pkg/http/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/http/http.go -------------------------------------------------------------------------------- /services/asset/pkg/http/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/http/http_test.go -------------------------------------------------------------------------------- /services/asset/pkg/log/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/log/logger.go -------------------------------------------------------------------------------- /services/asset/pkg/log/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/log/logger_test.go -------------------------------------------------------------------------------- /services/asset/pkg/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/metrics/metrics.go -------------------------------------------------------------------------------- /services/asset/pkg/metrics/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/metrics/metrics_test.go -------------------------------------------------------------------------------- /services/asset/pkg/trace/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/trace/tracer.go -------------------------------------------------------------------------------- /services/asset/pkg/trace/tracer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/pkg/trace/tracer_test.go -------------------------------------------------------------------------------- /services/asset/scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/scripts/build.sh -------------------------------------------------------------------------------- /services/asset/scripts/test-component.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/scripts/test-component.sh -------------------------------------------------------------------------------- /services/asset/scripts/test-integration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/scripts/test-integration.sh -------------------------------------------------------------------------------- /services/asset/scripts/test-unit-cover.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/scripts/test-unit-cover.sh -------------------------------------------------------------------------------- /services/asset/test/component/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/component/component_test.go -------------------------------------------------------------------------------- /services/asset/test/component/liveness_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/component/liveness_test.go -------------------------------------------------------------------------------- /services/asset/test/component/readiness_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/component/readiness_test.go -------------------------------------------------------------------------------- /services/asset/test/component/service_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/component/service_test.go -------------------------------------------------------------------------------- /services/asset/test/integration/cockroach_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/integration/cockroach_test.go -------------------------------------------------------------------------------- /services/asset/test/integration/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/integration/integration_test.go -------------------------------------------------------------------------------- /services/asset/test/integration/nats_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/asset/test/integration/nats_test.go -------------------------------------------------------------------------------- /services/client/.dockerignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /services/client/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "react-app" 3 | } 4 | -------------------------------------------------------------------------------- /services/client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/.gitignore -------------------------------------------------------------------------------- /services/client/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/Dockerfile -------------------------------------------------------------------------------- /services/client/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/Makefile -------------------------------------------------------------------------------- /services/client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/README.md -------------------------------------------------------------------------------- /services/client/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/docker-compose.yml -------------------------------------------------------------------------------- /services/client/mock/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/mock/config.json -------------------------------------------------------------------------------- /services/client/mock/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/mock/data.json -------------------------------------------------------------------------------- /services/client/mock/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/mock/index.js -------------------------------------------------------------------------------- /services/client/mock/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | "/api/v1/*": "/$1" 3 | } 4 | -------------------------------------------------------------------------------- /services/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/package.json -------------------------------------------------------------------------------- /services/client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/public/favicon.ico -------------------------------------------------------------------------------- /services/client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/public/index.html -------------------------------------------------------------------------------- /services/client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/public/manifest.json -------------------------------------------------------------------------------- /services/client/server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/server/index.js -------------------------------------------------------------------------------- /services/client/server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/server/package.json -------------------------------------------------------------------------------- /services/client/server/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/server/yarn.lock -------------------------------------------------------------------------------- /services/client/src/actions/__tests__/sensor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/actions/__tests__/sensor.test.js -------------------------------------------------------------------------------- /services/client/src/actions/__tests__/site.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/actions/__tests__/site.test.js -------------------------------------------------------------------------------- /services/client/src/actions/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/actions/sensor.js -------------------------------------------------------------------------------- /services/client/src/actions/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/actions/site.js -------------------------------------------------------------------------------- /services/client/src/api/__mocks__/axios.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/api/__mocks__/axios.js -------------------------------------------------------------------------------- /services/client/src/api/__tests__/sensor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/api/__tests__/sensor.test.js -------------------------------------------------------------------------------- /services/client/src/api/__tests__/site.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/api/__tests__/site.test.js -------------------------------------------------------------------------------- /services/client/src/api/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/api/sensor.js -------------------------------------------------------------------------------- /services/client/src/api/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/api/site.js -------------------------------------------------------------------------------- /services/client/src/components/App.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/App.jsx -------------------------------------------------------------------------------- /services/client/src/components/Routes.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/Routes.jsx -------------------------------------------------------------------------------- /services/client/src/components/about/AboutPage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/about/AboutPage.jsx -------------------------------------------------------------------------------- /services/client/src/components/about/__tests__/AboutPage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/about/__tests__/AboutPage.test.js -------------------------------------------------------------------------------- /services/client/src/components/about/__tests__/__snapshots__/AboutPage.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/about/__tests__/__snapshots__/AboutPage.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/common/Header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/Header.jsx -------------------------------------------------------------------------------- /services/client/src/components/common/Loading.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/Loading.jsx -------------------------------------------------------------------------------- /services/client/src/components/common/TextInput.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/TextInput.jsx -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/Header.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/Header.test.js -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/Loading.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/Loading.test.js -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/TextInput.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/TextInput.test.js -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/__snapshots__/Header.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/__snapshots__/Header.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/__snapshots__/Loading.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/__snapshots__/Loading.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/common/__tests__/__snapshots__/TextInput.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/common/__tests__/__snapshots__/TextInput.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/home/HomePage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/home/HomePage.jsx -------------------------------------------------------------------------------- /services/client/src/components/home/__tests__/HomePage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/home/__tests__/HomePage.test.js -------------------------------------------------------------------------------- /services/client/src/components/home/__tests__/__snapshots__/HomePage.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/home/__tests__/__snapshots__/HomePage.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/sensor/SensorList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/SensorList.jsx -------------------------------------------------------------------------------- /services/client/src/components/sensor/SensorListItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/SensorListItem.jsx -------------------------------------------------------------------------------- /services/client/src/components/sensor/SensorPage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/SensorPage.jsx -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/SensorList.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/SensorList.test.js -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/SensorListItem.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/SensorListItem.test.js -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/SensorPage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/SensorPage.test.js -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/__snapshots__/SensorList.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/__snapshots__/SensorList.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/__snapshots__/SensorListItem.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/__snapshots__/SensorListItem.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/sensor/__tests__/__snapshots__/SensorPage.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/sensor/__tests__/__snapshots__/SensorPage.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/site/SiteList.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/SiteList.jsx -------------------------------------------------------------------------------- /services/client/src/components/site/SiteListItem.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/SiteListItem.jsx -------------------------------------------------------------------------------- /services/client/src/components/site/SitePage.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/SitePage.jsx -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/SiteList.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/SiteList.test.js -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/SiteListItem.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/SiteListItem.test.js -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/SitePage.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/SitePage.test.js -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/__snapshots__/SiteList.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/__snapshots__/SiteList.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/__snapshots__/SiteListItem.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/__snapshots__/SiteListItem.test.js.snap -------------------------------------------------------------------------------- /services/client/src/components/site/__tests__/__snapshots__/SitePage.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/components/site/__tests__/__snapshots__/SitePage.test.js.snap -------------------------------------------------------------------------------- /services/client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/index.js -------------------------------------------------------------------------------- /services/client/src/reducers/__tests__/sensor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/reducers/__tests__/sensor.test.js -------------------------------------------------------------------------------- /services/client/src/reducers/__tests__/site.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/reducers/__tests__/site.test.js -------------------------------------------------------------------------------- /services/client/src/reducers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/reducers/index.js -------------------------------------------------------------------------------- /services/client/src/reducers/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/reducers/sensor.js -------------------------------------------------------------------------------- /services/client/src/reducers/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/reducers/site.js -------------------------------------------------------------------------------- /services/client/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/setupTests.js -------------------------------------------------------------------------------- /services/client/src/store/__tests__/store.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/store/__tests__/store.test.js -------------------------------------------------------------------------------- /services/client/src/store/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/store/index.js -------------------------------------------------------------------------------- /services/client/src/store/store.dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/store/store.dev.js -------------------------------------------------------------------------------- /services/client/src/store/store.prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/src/store/store.prod.js -------------------------------------------------------------------------------- /services/client/src/styles/styles.css: -------------------------------------------------------------------------------- 1 | .dots { 2 | padding-top: 4px 3 | } 4 | -------------------------------------------------------------------------------- /services/client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/client/yarn.lock -------------------------------------------------------------------------------- /services/graphql/.dockerignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | .nyc_output/ 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /services/graphql/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/.gitignore -------------------------------------------------------------------------------- /services/graphql/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/Dockerfile -------------------------------------------------------------------------------- /services/graphql/Dockerfile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/Dockerfile.test -------------------------------------------------------------------------------- /services/graphql/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/Makefile -------------------------------------------------------------------------------- /services/graphql/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/README.md -------------------------------------------------------------------------------- /services/graphql/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/docker-compose.yml -------------------------------------------------------------------------------- /services/graphql/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/package.json -------------------------------------------------------------------------------- /services/graphql/src/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/config/index.js -------------------------------------------------------------------------------- /services/graphql/src/config/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/config/index.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/asset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/asset.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/asset.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/asset.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/index.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/sensor.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/sensor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/sensor.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/site.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/site.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/site.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/switch.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/resolvers/switch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/resolvers/switch.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/router.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/router.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/router.test.js -------------------------------------------------------------------------------- /services/graphql/src/graphql/schema.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/graphql/schema.graphql -------------------------------------------------------------------------------- /services/graphql/src/grpc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/grpc/index.js -------------------------------------------------------------------------------- /services/graphql/src/grpc/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/grpc/index.test.js -------------------------------------------------------------------------------- /services/graphql/src/grpc/switch.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/grpc/switch.proto -------------------------------------------------------------------------------- /services/graphql/src/middleware/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/middleware/index.js -------------------------------------------------------------------------------- /services/graphql/src/middleware/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/middleware/index.test.js -------------------------------------------------------------------------------- /services/graphql/src/middleware/monitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/middleware/monitor.js -------------------------------------------------------------------------------- /services/graphql/src/middleware/monitor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/middleware/monitor.test.js -------------------------------------------------------------------------------- /services/graphql/src/routes/liveness.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/routes/liveness.js -------------------------------------------------------------------------------- /services/graphql/src/routes/liveness.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/routes/liveness.test.js -------------------------------------------------------------------------------- /services/graphql/src/routes/readiness.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/routes/readiness.js -------------------------------------------------------------------------------- /services/graphql/src/routes/readiness.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/routes/readiness.test.js -------------------------------------------------------------------------------- /services/graphql/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/server.js -------------------------------------------------------------------------------- /services/graphql/src/server.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/server.test.js -------------------------------------------------------------------------------- /services/graphql/src/services/asset.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/asset.js -------------------------------------------------------------------------------- /services/graphql/src/services/asset.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/asset.test.js -------------------------------------------------------------------------------- /services/graphql/src/services/sensor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/sensor.js -------------------------------------------------------------------------------- /services/graphql/src/services/sensor.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/sensor.test.js -------------------------------------------------------------------------------- /services/graphql/src/services/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/site.js -------------------------------------------------------------------------------- /services/graphql/src/services/site.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/site.test.js -------------------------------------------------------------------------------- /services/graphql/src/services/switch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/switch.js -------------------------------------------------------------------------------- /services/graphql/src/services/switch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/services/switch.test.js -------------------------------------------------------------------------------- /services/graphql/src/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/logger.js -------------------------------------------------------------------------------- /services/graphql/src/utils/logger.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/logger.test.js -------------------------------------------------------------------------------- /services/graphql/src/utils/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/metrics.js -------------------------------------------------------------------------------- /services/graphql/src/utils/metrics.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/metrics.test.js -------------------------------------------------------------------------------- /services/graphql/src/utils/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/tracer.js -------------------------------------------------------------------------------- /services/graphql/src/utils/tracer.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/src/utils/tracer.test.js -------------------------------------------------------------------------------- /services/graphql/test/component/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/component/index.js -------------------------------------------------------------------------------- /services/graphql/test/mock/grpc/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/grpc/data.json -------------------------------------------------------------------------------- /services/graphql/test/mock/grpc/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/grpc/index.js -------------------------------------------------------------------------------- /services/graphql/test/mock/nats/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/nats/config.js -------------------------------------------------------------------------------- /services/graphql/test/mock/nats/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/nats/index.js -------------------------------------------------------------------------------- /services/graphql/test/mock/rest/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/rest/config.json -------------------------------------------------------------------------------- /services/graphql/test/mock/rest/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/rest/data.json -------------------------------------------------------------------------------- /services/graphql/test/mock/rest/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/test/mock/rest/index.js -------------------------------------------------------------------------------- /services/graphql/test/mock/rest/routes.json: -------------------------------------------------------------------------------- 1 | { 2 | "/v1/*": "/$1" 3 | } 4 | -------------------------------------------------------------------------------- /services/graphql/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/graphql/yarn.lock -------------------------------------------------------------------------------- /services/sensor/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/.gitignore -------------------------------------------------------------------------------- /services/sensor/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/Dockerfile -------------------------------------------------------------------------------- /services/sensor/Dockerfile.test: -------------------------------------------------------------------------------- 1 | # TEST IMAGE 2 | FROM golang:1.14 3 | WORKDIR /repo 4 | COPY . . 5 | RUN go get ./... 6 | -------------------------------------------------------------------------------- /services/sensor/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/Makefile -------------------------------------------------------------------------------- /services/sensor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/README.md -------------------------------------------------------------------------------- /services/sensor/VERSION: -------------------------------------------------------------------------------- 1 | 0.1.0-0 2 | -------------------------------------------------------------------------------- /services/sensor/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/config/config.go -------------------------------------------------------------------------------- /services/sensor/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/config/config_test.go -------------------------------------------------------------------------------- /services/sensor/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/docker-compose.yml -------------------------------------------------------------------------------- /services/sensor/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/go.mod -------------------------------------------------------------------------------- /services/sensor/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/go.sum -------------------------------------------------------------------------------- /services/sensor/handler/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/handler/common.go -------------------------------------------------------------------------------- /services/sensor/handler/common_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/handler/common_test.go -------------------------------------------------------------------------------- /services/sensor/handler/sensor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/handler/sensor.go -------------------------------------------------------------------------------- /services/sensor/handler/sensor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/handler/sensor_test.go -------------------------------------------------------------------------------- /services/sensor/init-postgres.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/init-postgres.sql -------------------------------------------------------------------------------- /services/sensor/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/main.go -------------------------------------------------------------------------------- /services/sensor/middleware/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/logger.go -------------------------------------------------------------------------------- /services/sensor/middleware/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/logger_test.go -------------------------------------------------------------------------------- /services/sensor/middleware/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/metrics.go -------------------------------------------------------------------------------- /services/sensor/middleware/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/metrics_test.go -------------------------------------------------------------------------------- /services/sensor/middleware/middleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/middleware.go -------------------------------------------------------------------------------- /services/sensor/middleware/middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/middleware_test.go -------------------------------------------------------------------------------- /services/sensor/middleware/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/tracer.go -------------------------------------------------------------------------------- /services/sensor/middleware/tracer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/middleware/tracer_test.go -------------------------------------------------------------------------------- /services/sensor/scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/scripts/build.sh -------------------------------------------------------------------------------- /services/sensor/scripts/test-component.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/scripts/test-component.sh -------------------------------------------------------------------------------- /services/sensor/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/server/server.go -------------------------------------------------------------------------------- /services/sensor/server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/server/server_test.go -------------------------------------------------------------------------------- /services/sensor/service/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/service/postgres.go -------------------------------------------------------------------------------- /services/sensor/service/postgres_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/service/postgres_test.go -------------------------------------------------------------------------------- /services/sensor/service/sensor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/service/sensor.go -------------------------------------------------------------------------------- /services/sensor/service/sensor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/service/sensor_test.go -------------------------------------------------------------------------------- /services/sensor/test/component/component.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/test/component/component.go -------------------------------------------------------------------------------- /services/sensor/test/component/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/test/component/component_test.go -------------------------------------------------------------------------------- /services/sensor/util/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/http.go -------------------------------------------------------------------------------- /services/sensor/util/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/http_test.go -------------------------------------------------------------------------------- /services/sensor/util/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/logger.go -------------------------------------------------------------------------------- /services/sensor/util/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/logger_test.go -------------------------------------------------------------------------------- /services/sensor/util/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/metrics.go -------------------------------------------------------------------------------- /services/sensor/util/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/metrics_test.go -------------------------------------------------------------------------------- /services/sensor/util/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/tracer.go -------------------------------------------------------------------------------- /services/sensor/util/tracer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/sensor/util/tracer_test.go -------------------------------------------------------------------------------- /services/site/.dockerignore: -------------------------------------------------------------------------------- 1 | coverage/ 2 | .nyc_output/ 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /services/site/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/.gitignore -------------------------------------------------------------------------------- /services/site/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/Dockerfile -------------------------------------------------------------------------------- /services/site/Dockerfile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/Dockerfile.test -------------------------------------------------------------------------------- /services/site/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/Makefile -------------------------------------------------------------------------------- /services/site/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/README.md -------------------------------------------------------------------------------- /services/site/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/config/index.js -------------------------------------------------------------------------------- /services/site/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/docker-compose.yml -------------------------------------------------------------------------------- /services/site/middleware/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/middleware/index.js -------------------------------------------------------------------------------- /services/site/middleware/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/middleware/logger.js -------------------------------------------------------------------------------- /services/site/middleware/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/middleware/metrics.js -------------------------------------------------------------------------------- /services/site/middleware/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/middleware/tracer.js -------------------------------------------------------------------------------- /services/site/models/mongo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/models/mongo.js -------------------------------------------------------------------------------- /services/site/models/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/models/site.js -------------------------------------------------------------------------------- /services/site/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/package.json -------------------------------------------------------------------------------- /services/site/routes/health.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/routes/health.js -------------------------------------------------------------------------------- /services/site/routes/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/routes/site.js -------------------------------------------------------------------------------- /services/site/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/server.js -------------------------------------------------------------------------------- /services/site/services/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/services/site.js -------------------------------------------------------------------------------- /services/site/tests/component/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/component/index.js -------------------------------------------------------------------------------- /services/site/tests/unit/config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/config/index.js -------------------------------------------------------------------------------- /services/site/tests/unit/middleware/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/middleware/index.js -------------------------------------------------------------------------------- /services/site/tests/unit/middleware/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/middleware/logger.js -------------------------------------------------------------------------------- /services/site/tests/unit/middleware/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/middleware/metrics.js -------------------------------------------------------------------------------- /services/site/tests/unit/middleware/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/middleware/tracer.js -------------------------------------------------------------------------------- /services/site/tests/unit/models/mongo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/models/mongo.js -------------------------------------------------------------------------------- /services/site/tests/unit/models/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/models/site.js -------------------------------------------------------------------------------- /services/site/tests/unit/routes/health.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/routes/health.js -------------------------------------------------------------------------------- /services/site/tests/unit/routes/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/routes/site.js -------------------------------------------------------------------------------- /services/site/tests/unit/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/server.js -------------------------------------------------------------------------------- /services/site/tests/unit/services/site.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/services/site.js -------------------------------------------------------------------------------- /services/site/tests/unit/util/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/util/logger.js -------------------------------------------------------------------------------- /services/site/tests/unit/util/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/util/metrics.js -------------------------------------------------------------------------------- /services/site/tests/unit/util/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/tests/unit/util/tracer.js -------------------------------------------------------------------------------- /services/site/util/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/util/logger.js -------------------------------------------------------------------------------- /services/site/util/metrics.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/util/metrics.js -------------------------------------------------------------------------------- /services/site/util/tracer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/util/tracer.js -------------------------------------------------------------------------------- /services/site/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/site/yarn.lock -------------------------------------------------------------------------------- /services/switch/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/.gitignore -------------------------------------------------------------------------------- /services/switch/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/Dockerfile -------------------------------------------------------------------------------- /services/switch/Dockerfile.test: -------------------------------------------------------------------------------- 1 | # TEST IMAGE 2 | FROM golang:1.14 3 | WORKDIR /repo 4 | COPY . . 5 | RUN go get ./... 6 | -------------------------------------------------------------------------------- /services/switch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/Makefile -------------------------------------------------------------------------------- /services/switch/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/README.md -------------------------------------------------------------------------------- /services/switch/VERSION: -------------------------------------------------------------------------------- 1 | 0.1.0-0 2 | -------------------------------------------------------------------------------- /services/switch/cmd/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/config/config.go -------------------------------------------------------------------------------- /services/switch/cmd/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/config/config_test.go -------------------------------------------------------------------------------- /services/switch/cmd/server/mock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/server/mock_test.go -------------------------------------------------------------------------------- /services/switch/cmd/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/server/server.go -------------------------------------------------------------------------------- /services/switch/cmd/server/server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/server/server_test.go -------------------------------------------------------------------------------- /services/switch/cmd/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/cmd/version/version.go -------------------------------------------------------------------------------- /services/switch/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/docker-compose.yml -------------------------------------------------------------------------------- /services/switch/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/go.mod -------------------------------------------------------------------------------- /services/switch/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/go.sum -------------------------------------------------------------------------------- /services/switch/internal/certs/ca.chain.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/certs/ca.chain.cert -------------------------------------------------------------------------------- /services/switch/internal/certs/client.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/certs/client.cert -------------------------------------------------------------------------------- /services/switch/internal/certs/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/certs/client.key -------------------------------------------------------------------------------- /services/switch/internal/certs/server.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/certs/server.cert -------------------------------------------------------------------------------- /services/switch/internal/certs/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/certs/server.key -------------------------------------------------------------------------------- /services/switch/internal/client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/client/client.go -------------------------------------------------------------------------------- /services/switch/internal/client/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/client/client_test.go -------------------------------------------------------------------------------- /services/switch/internal/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/metrics/metrics.go -------------------------------------------------------------------------------- /services/switch/internal/metrics/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/metrics/metrics_test.go -------------------------------------------------------------------------------- /services/switch/internal/model/switch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/model/switch.go -------------------------------------------------------------------------------- /services/switch/internal/proto/switch.pb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/proto/switch.pb.go -------------------------------------------------------------------------------- /services/switch/internal/proto/switch.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/proto/switch.proto -------------------------------------------------------------------------------- /services/switch/internal/service/arango.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/service/arango.go -------------------------------------------------------------------------------- /services/switch/internal/service/arango_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/service/arango_test.go -------------------------------------------------------------------------------- /services/switch/internal/service/mock_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/service/mock_test.go -------------------------------------------------------------------------------- /services/switch/internal/service/switch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/service/switch.go -------------------------------------------------------------------------------- /services/switch/internal/service/switch_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/service/switch_test.go -------------------------------------------------------------------------------- /services/switch/internal/transport/grpc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/transport/grpc.go -------------------------------------------------------------------------------- /services/switch/internal/transport/grpc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/transport/grpc_test.go -------------------------------------------------------------------------------- /services/switch/internal/transport/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/transport/http.go -------------------------------------------------------------------------------- /services/switch/internal/transport/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/internal/transport/http_test.go -------------------------------------------------------------------------------- /services/switch/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/main.go -------------------------------------------------------------------------------- /services/switch/pkg/arango/arango.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/arango/arango.go -------------------------------------------------------------------------------- /services/switch/pkg/arango/arango_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/arango/arango_test.go -------------------------------------------------------------------------------- /services/switch/pkg/http/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/http/http.go -------------------------------------------------------------------------------- /services/switch/pkg/http/http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/http/http_test.go -------------------------------------------------------------------------------- /services/switch/pkg/log/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/log/logger.go -------------------------------------------------------------------------------- /services/switch/pkg/log/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/log/logger_test.go -------------------------------------------------------------------------------- /services/switch/pkg/trace/tracer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/trace/tracer.go -------------------------------------------------------------------------------- /services/switch/pkg/trace/tracer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/pkg/trace/tracer_test.go -------------------------------------------------------------------------------- /services/switch/scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/scripts/build.sh -------------------------------------------------------------------------------- /services/switch/scripts/proto-gen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/scripts/proto-gen.sh -------------------------------------------------------------------------------- /services/switch/scripts/test-component.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/scripts/test-component.sh -------------------------------------------------------------------------------- /services/switch/scripts/test-integration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/scripts/test-integration.sh -------------------------------------------------------------------------------- /services/switch/test/component/component_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/test/component/component_test.go -------------------------------------------------------------------------------- /services/switch/test/integration/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/moorara/microservices-demo/HEAD/services/switch/test/integration/integration_test.go --------------------------------------------------------------------------------