├── .gitignore ├── Makefile ├── README.md ├── docker-compose.yml ├── go.mod ├── go.sum ├── helm ├── .helmignore ├── Chart.yaml ├── README.md ├── charts │ ├── cassandra │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── _helpers.tpl │ │ │ ├── backup │ │ │ │ ├── cronjob.yaml │ │ │ │ └── rbac.yaml │ │ │ ├── configmap.yaml │ │ │ ├── pdb.yaml │ │ │ ├── service.yaml │ │ │ └── statefulset.yaml │ │ └── values.yaml │ ├── feeds │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── service.yaml │ │ └── values.yaml │ ├── followers │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── service.yaml │ │ └── values.yaml │ ├── gateway │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── service.yaml │ │ └── values.yaml │ ├── rabbitmq │ │ ├── Chart.yaml │ │ ├── README.md │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── _helpers.tpl │ │ │ ├── configuration.yaml │ │ │ ├── ingress.yaml │ │ │ ├── role.yaml │ │ │ ├── rolebinding.yaml │ │ │ ├── secrets.yaml │ │ │ ├── serviceaccount.yaml │ │ │ ├── servicemonitor.yaml │ │ │ ├── statefulset.yaml │ │ │ ├── svc-headless.yaml │ │ │ └── svc.yaml │ │ ├── values-production.yaml │ │ └── values.yaml │ ├── traefik │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── OWNERS │ │ ├── README.md │ │ ├── ci │ │ │ └── ci-values.yaml │ │ ├── templates │ │ │ ├── NOTES.txt │ │ │ ├── _helpers.tpl │ │ │ ├── acme-pvc.yaml │ │ │ ├── config-files.yaml │ │ │ ├── configmap.yaml │ │ │ ├── dashboard-ingress.yaml │ │ │ ├── dashboard-service.yaml │ │ │ ├── default-cert-secret.yaml │ │ │ ├── deployment.yaml │ │ │ ├── dns-provider-secret.yaml │ │ │ ├── hpa.yaml │ │ │ ├── poddisruptionbudget.yaml │ │ │ ├── rbac.yaml │ │ │ ├── secret-files.yaml │ │ │ ├── service.yaml │ │ │ ├── storeconfig-job.yaml │ │ │ └── tests │ │ │ │ ├── test-configmap.yaml │ │ │ │ └── test.yaml │ │ └── values.yaml │ ├── tweets │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── service.yaml │ │ └── values.yaml │ └── users │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ ├── _helpers.tpl │ │ ├── deployment.yaml │ │ └── service.yaml │ │ └── values.yaml ├── templates │ ├── _env.tpl │ ├── _helpers.tpl │ └── ingress.yaml └── values.yaml ├── k8s ├── README.md ├── create-storage-gce.yaml ├── role-tiller.yaml └── rolebinding-tiller.yaml ├── migrations ├── 0001-initial.cql ├── 0002-users.cql ├── 0003-tweets.cql ├── 0004-followers.cql └── 0005-feeds.cql ├── scripts ├── build-and-push-docker-images.sh ├── delete-evicted-pods.sh ├── gofmt.sh ├── migrate.sh ├── rabbitmq-health-check.sh ├── run-all.sh ├── run-integration-tests.sh └── setup-k8s.sh ├── services ├── common │ ├── amqp │ │ ├── amqp.go │ │ └── routing_keys.go │ ├── auth │ │ └── tokens.go │ ├── cassandra │ │ └── cassandra.go │ ├── config │ │ ├── config.go │ │ └── service_config.go │ ├── env │ │ └── env.go │ ├── healthz │ │ └── healthz.go │ ├── logger │ │ └── logger.go │ ├── metrics │ │ └── metrics.go │ ├── service │ │ ├── repository.go │ │ └── service.go │ └── types │ │ ├── feeds.go │ │ ├── followers.go │ │ ├── tweets.go │ │ └── users.go ├── feeds │ ├── Dockerfile │ ├── README.md │ ├── cmd │ │ └── main.go │ └── internal │ │ ├── handlers.go │ │ ├── repository.go │ │ └── routes.go ├── followers │ ├── Dockerfile │ ├── README.md │ ├── cmd │ │ └── main.go │ └── internal │ │ ├── handlers.go │ │ ├── repository.go │ │ └── routes.go ├── gateway │ ├── Dockerfile │ ├── README.md │ ├── cmd │ │ └── main.go │ └── internal │ │ ├── core │ │ ├── config.go │ │ ├── error.go │ │ ├── gateway.go │ │ ├── http.go │ │ ├── logger.go │ │ ├── middlewares.go │ │ ├── router.go │ │ └── util.go │ │ ├── feeds │ │ ├── handlers.go │ │ └── routes.go │ │ ├── followers │ │ ├── handlers.go │ │ └── routes.go │ │ ├── tweets │ │ ├── handlers.go │ │ └── routes.go │ │ └── users │ │ ├── handlers.go │ │ └── routes.go ├── ready │ ├── Dockerfile │ ├── README.md │ └── cmd │ │ └── main.go ├── tweets │ ├── Dockerfile │ ├── README.md │ ├── cmd │ │ └── main.go │ └── internal │ │ ├── handlers.go │ │ ├── repository.go │ │ └── routes.go └── users │ ├── Dockerfile │ ├── README.md │ ├── cmd │ └── main.go │ └── internal │ ├── handlers.go │ ├── repository.go │ └── routes.go └── tests ├── README.md ├── helpers └── integration_test_suite.go └── integration ├── feeds_test.go ├── followers_test.go ├── tweets_test.go └── users_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/go.sum -------------------------------------------------------------------------------- /helm/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/.helmignore -------------------------------------------------------------------------------- /helm/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/Chart.yaml -------------------------------------------------------------------------------- /helm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/README.md -------------------------------------------------------------------------------- /helm/charts/cassandra/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/README.md -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/NOTES.txt -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/backup/cronjob.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/backup/cronjob.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/backup/rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/backup/rbac.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/configmap.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/pdb.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/pdb.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/templates/statefulset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/templates/statefulset.yaml -------------------------------------------------------------------------------- /helm/charts/cassandra/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/cassandra/values.yaml -------------------------------------------------------------------------------- /helm/charts/feeds/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/.helmignore -------------------------------------------------------------------------------- /helm/charts/feeds/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/feeds/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/feeds/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/feeds/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/feeds/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/feeds/values.yaml -------------------------------------------------------------------------------- /helm/charts/followers/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/.helmignore -------------------------------------------------------------------------------- /helm/charts/followers/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/followers/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/followers/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/followers/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/followers/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/followers/values.yaml -------------------------------------------------------------------------------- /helm/charts/gateway/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/.helmignore -------------------------------------------------------------------------------- /helm/charts/gateway/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/gateway/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/gateway/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/gateway/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/gateway/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/gateway/values.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/README.md -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/NOTES.txt -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/configuration.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/configuration.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/ingress.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/role.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/role.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/rolebinding.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/rolebinding.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/secrets.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/secrets.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/servicemonitor.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/servicemonitor.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/statefulset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/statefulset.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/svc-headless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/svc-headless.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/templates/svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/templates/svc.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/values-production.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/values-production.yaml -------------------------------------------------------------------------------- /helm/charts/rabbitmq/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/rabbitmq/values.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/.helmignore -------------------------------------------------------------------------------- /helm/charts/traefik/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/OWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/OWNERS -------------------------------------------------------------------------------- /helm/charts/traefik/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/README.md -------------------------------------------------------------------------------- /helm/charts/traefik/ci/ci-values.yaml: -------------------------------------------------------------------------------- 1 | serviceType: NodePort 2 | -------------------------------------------------------------------------------- /helm/charts/traefik/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/NOTES.txt -------------------------------------------------------------------------------- /helm/charts/traefik/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/traefik/templates/acme-pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/acme-pvc.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/config-files.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/config-files.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/configmap.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/dashboard-ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/dashboard-ingress.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/dashboard-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/dashboard-service.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/default-cert-secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/default-cert-secret.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/dns-provider-secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/dns-provider-secret.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/hpa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/hpa.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/poddisruptionbudget.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/poddisruptionbudget.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/rbac.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/secret-files.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/secret-files.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/storeconfig-job.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/storeconfig-job.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/tests/test-configmap.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/tests/test-configmap.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/templates/tests/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/templates/tests/test.yaml -------------------------------------------------------------------------------- /helm/charts/traefik/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/traefik/values.yaml -------------------------------------------------------------------------------- /helm/charts/tweets/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/.helmignore -------------------------------------------------------------------------------- /helm/charts/tweets/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/tweets/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/tweets/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/tweets/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/tweets/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/tweets/values.yaml -------------------------------------------------------------------------------- /helm/charts/users/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/.helmignore -------------------------------------------------------------------------------- /helm/charts/users/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/Chart.yaml -------------------------------------------------------------------------------- /helm/charts/users/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/charts/users/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/templates/deployment.yaml -------------------------------------------------------------------------------- /helm/charts/users/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/templates/service.yaml -------------------------------------------------------------------------------- /helm/charts/users/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/charts/users/values.yaml -------------------------------------------------------------------------------- /helm/templates/_env.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/templates/_env.tpl -------------------------------------------------------------------------------- /helm/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/templates/_helpers.tpl -------------------------------------------------------------------------------- /helm/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/templates/ingress.yaml -------------------------------------------------------------------------------- /helm/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/helm/values.yaml -------------------------------------------------------------------------------- /k8s/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/k8s/README.md -------------------------------------------------------------------------------- /k8s/create-storage-gce.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/k8s/create-storage-gce.yaml -------------------------------------------------------------------------------- /k8s/role-tiller.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/k8s/role-tiller.yaml -------------------------------------------------------------------------------- /k8s/rolebinding-tiller.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/k8s/rolebinding-tiller.yaml -------------------------------------------------------------------------------- /migrations/0001-initial.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/migrations/0001-initial.cql -------------------------------------------------------------------------------- /migrations/0002-users.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/migrations/0002-users.cql -------------------------------------------------------------------------------- /migrations/0003-tweets.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/migrations/0003-tweets.cql -------------------------------------------------------------------------------- /migrations/0004-followers.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/migrations/0004-followers.cql -------------------------------------------------------------------------------- /migrations/0005-feeds.cql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/migrations/0005-feeds.cql -------------------------------------------------------------------------------- /scripts/build-and-push-docker-images.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/build-and-push-docker-images.sh -------------------------------------------------------------------------------- /scripts/delete-evicted-pods.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/delete-evicted-pods.sh -------------------------------------------------------------------------------- /scripts/gofmt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/gofmt.sh -------------------------------------------------------------------------------- /scripts/migrate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/migrate.sh -------------------------------------------------------------------------------- /scripts/rabbitmq-health-check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/rabbitmq-health-check.sh -------------------------------------------------------------------------------- /scripts/run-all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/run-all.sh -------------------------------------------------------------------------------- /scripts/run-integration-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/run-integration-tests.sh -------------------------------------------------------------------------------- /scripts/setup-k8s.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/scripts/setup-k8s.sh -------------------------------------------------------------------------------- /services/common/amqp/amqp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/amqp/amqp.go -------------------------------------------------------------------------------- /services/common/amqp/routing_keys.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/amqp/routing_keys.go -------------------------------------------------------------------------------- /services/common/auth/tokens.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/auth/tokens.go -------------------------------------------------------------------------------- /services/common/cassandra/cassandra.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/cassandra/cassandra.go -------------------------------------------------------------------------------- /services/common/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/config/config.go -------------------------------------------------------------------------------- /services/common/config/service_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/config/service_config.go -------------------------------------------------------------------------------- /services/common/env/env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/env/env.go -------------------------------------------------------------------------------- /services/common/healthz/healthz.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/healthz/healthz.go -------------------------------------------------------------------------------- /services/common/logger/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/logger/logger.go -------------------------------------------------------------------------------- /services/common/metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/metrics/metrics.go -------------------------------------------------------------------------------- /services/common/service/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/service/repository.go -------------------------------------------------------------------------------- /services/common/service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/service/service.go -------------------------------------------------------------------------------- /services/common/types/feeds.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/types/feeds.go -------------------------------------------------------------------------------- /services/common/types/followers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/types/followers.go -------------------------------------------------------------------------------- /services/common/types/tweets.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/types/tweets.go -------------------------------------------------------------------------------- /services/common/types/users.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/common/types/users.go -------------------------------------------------------------------------------- /services/feeds/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/Dockerfile -------------------------------------------------------------------------------- /services/feeds/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/README.md -------------------------------------------------------------------------------- /services/feeds/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/cmd/main.go -------------------------------------------------------------------------------- /services/feeds/internal/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/internal/handlers.go -------------------------------------------------------------------------------- /services/feeds/internal/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/internal/repository.go -------------------------------------------------------------------------------- /services/feeds/internal/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/feeds/internal/routes.go -------------------------------------------------------------------------------- /services/followers/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/Dockerfile -------------------------------------------------------------------------------- /services/followers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/README.md -------------------------------------------------------------------------------- /services/followers/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/cmd/main.go -------------------------------------------------------------------------------- /services/followers/internal/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/internal/handlers.go -------------------------------------------------------------------------------- /services/followers/internal/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/internal/repository.go -------------------------------------------------------------------------------- /services/followers/internal/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/followers/internal/routes.go -------------------------------------------------------------------------------- /services/gateway/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/Dockerfile -------------------------------------------------------------------------------- /services/gateway/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/README.md -------------------------------------------------------------------------------- /services/gateway/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/cmd/main.go -------------------------------------------------------------------------------- /services/gateway/internal/core/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/config.go -------------------------------------------------------------------------------- /services/gateway/internal/core/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/error.go -------------------------------------------------------------------------------- /services/gateway/internal/core/gateway.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/gateway.go -------------------------------------------------------------------------------- /services/gateway/internal/core/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/http.go -------------------------------------------------------------------------------- /services/gateway/internal/core/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/logger.go -------------------------------------------------------------------------------- /services/gateway/internal/core/middlewares.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/middlewares.go -------------------------------------------------------------------------------- /services/gateway/internal/core/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/router.go -------------------------------------------------------------------------------- /services/gateway/internal/core/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/core/util.go -------------------------------------------------------------------------------- /services/gateway/internal/feeds/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/feeds/handlers.go -------------------------------------------------------------------------------- /services/gateway/internal/feeds/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/feeds/routes.go -------------------------------------------------------------------------------- /services/gateway/internal/followers/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/followers/handlers.go -------------------------------------------------------------------------------- /services/gateway/internal/followers/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/followers/routes.go -------------------------------------------------------------------------------- /services/gateway/internal/tweets/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/tweets/handlers.go -------------------------------------------------------------------------------- /services/gateway/internal/tweets/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/tweets/routes.go -------------------------------------------------------------------------------- /services/gateway/internal/users/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/users/handlers.go -------------------------------------------------------------------------------- /services/gateway/internal/users/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/gateway/internal/users/routes.go -------------------------------------------------------------------------------- /services/ready/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/ready/Dockerfile -------------------------------------------------------------------------------- /services/ready/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/ready/README.md -------------------------------------------------------------------------------- /services/ready/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/ready/cmd/main.go -------------------------------------------------------------------------------- /services/tweets/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/Dockerfile -------------------------------------------------------------------------------- /services/tweets/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/README.md -------------------------------------------------------------------------------- /services/tweets/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/cmd/main.go -------------------------------------------------------------------------------- /services/tweets/internal/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/internal/handlers.go -------------------------------------------------------------------------------- /services/tweets/internal/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/internal/repository.go -------------------------------------------------------------------------------- /services/tweets/internal/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/tweets/internal/routes.go -------------------------------------------------------------------------------- /services/users/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/Dockerfile -------------------------------------------------------------------------------- /services/users/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/README.md -------------------------------------------------------------------------------- /services/users/cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/cmd/main.go -------------------------------------------------------------------------------- /services/users/internal/handlers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/internal/handlers.go -------------------------------------------------------------------------------- /services/users/internal/repository.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/internal/repository.go -------------------------------------------------------------------------------- /services/users/internal/routes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/services/users/internal/routes.go -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/helpers/integration_test_suite.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/helpers/integration_test_suite.go -------------------------------------------------------------------------------- /tests/integration/feeds_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/integration/feeds_test.go -------------------------------------------------------------------------------- /tests/integration/followers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/integration/followers_test.go -------------------------------------------------------------------------------- /tests/integration/tweets_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/integration/tweets_test.go -------------------------------------------------------------------------------- /tests/integration/users_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laaksomavrick/twitter-go/HEAD/tests/integration/users_test.go --------------------------------------------------------------------------------