Skip to content

Commit

Permalink
feat: add firebase support (colibri-project-io#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantasrafael authored Jun 11, 2023
1 parent 7e3c9b2 commit 9716cef
Show file tree
Hide file tree
Showing 13 changed files with 310 additions and 153 deletions.
2 changes: 1 addition & 1 deletion development-environment/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
STACK_NAME=dev
STACK_NAME=dev-colibri-sdk-go

start:
docker-compose -p ${STACK_NAME} up -d --remove-orphans
Expand Down
4 changes: 2 additions & 2 deletions development-environment/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
wiremock:
image: wiremock/wiremock:2.32.0
image: wiremock/wiremock:2.32.0-alpine
command: "--local-response-templating"
ports:
- "5050:8080"
Expand All @@ -12,7 +12,7 @@ services:
- dev

localstack:
image: localstack/localstack
image: localstack/localstack:1.4
ports:
- "127.0.0.1:4510-4559:4510-4559" # external service port range
- "127.0.0.1:4566:4566" # LocalStack Edge Proxy
Expand Down
2 changes: 1 addition & 1 deletion development-environment/localstack/localstack-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ awslocal sns subscribe --topic-arn arn:aws:sns:us-east-1:000000000000:COLIBRI_PR

awslocal s3api create-bucket --bucket my-bucket --acl public-read

echo "localstack topics and queues started"
echo "localstack emulator started"
47 changes: 26 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ module github.com/colibri-project-io/colibri-sdk-go
go 1.20

require (
cloud.google.com/go/pubsub v1.25.1
cloud.google.com/go/storage v1.27.0
cloud.google.com/go/pubsub v1.28.0
cloud.google.com/go/storage v1.30.1
firebase.google.com/go v3.13.0+incompatible
github.com/aws/aws-sdk-go v1.44.146
github.com/docker/go-connections v0.4.0
github.com/go-playground/form/v4 v4.2.0
Expand All @@ -23,13 +24,17 @@ require (
github.com/testcontainers/testcontainers-go v0.14.0
github.com/valyala/fasthttp v1.44.0
golang.org/x/exp v0.0.0-20230310171629-522b1b587ee0
google.golang.org/api v0.114.0
k8s.io/apimachinery v0.22.5
)

require (
cloud.google.com/go v0.104.0 // indirect
cloud.google.com/go/compute v1.7.0 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go v0.110.0 // indirect
cloud.google.com/go/compute v1.18.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/firestore v1.9.0 // indirect
cloud.google.com/go/iam v0.13.0 // indirect
cloud.google.com/go/longrunning v0.4.1 // indirect
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
github.com/Microsoft/go-winio v0.5.2 // indirect
github.com/Microsoft/hcsshim v0.9.7 // indirect
Expand All @@ -38,7 +43,7 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v3 v3.1.1 // indirect
github.com/cenkalti/backoff/v4 v4.1.3 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/containerd/cgroups v1.0.4 // indirect
github.com/containerd/containerd v1.6.19 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -51,10 +56,10 @@ require (
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.8 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect
github.com/googleapis/gax-go/v2 v2.5.1 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.8.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
Expand Down Expand Up @@ -86,20 +91,20 @@ require (
github.com/tinylib/msgp v1.1.6 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/tcplisten v1.0.0 // indirect
go.opencensus.io v0.23.0 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
golang.org/x/crypto v0.5.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/api v0.97.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/oauth2 v0.6.0 // indirect
golang.org/x/sync v0.1.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.8.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 // indirect
google.golang.org/grpc v1.49.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
google.golang.org/genproto v0.0.0-20230320184635-7606e756e683 // indirect
google.golang.org/grpc v1.53.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog/v2 v2.30.0 // indirect
)
Loading

0 comments on commit 9716cef

Please sign in to comment.