Skip to content

Commit

Permalink
mockgcp: firestore
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Pana <[email protected]>
  • Loading branch information
acpana committed Jul 24, 2024
1 parent 80cd23e commit b7d80e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mockgcp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ gen-proto-no-fixup:
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/metering/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta/multiclusteringress/*.proto \
./third_party/googleapis/mockgcp/cloud/gkehub/v1beta1/membership.proto \
./third_party/googleapis/mockgrafeas/v1/*.proto
./third_party/googleapis/mockgrafeas/v1/*.proto \
./third_party/googleapis/mockgcp/firestore/v1/*.proto


.PHONY: generate-grpc-for-google-protos
Expand Down
4 changes: 4 additions & 0 deletions mockgcp/fixup-third-party.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mv google/pubsub/ mockgcp/
mv google/spanner/ mockgcp/
mv google/storage/ mockgcp/
mv google/monitoring/ mockgcp/
mv google/firestore/ mockgcp/

mv google/api/apikeys/ mockgcp/api/
mv google/api/serviceusage/ mockgcp/api/
Expand All @@ -55,6 +56,9 @@ find . -type f -print0 | xargs -0 sed -i -e "s@google\[email protected]@g"
find . -type f -print0 | xargs -0 sed -i -e "s@google/logging/@mockgcp/logging/@g"
find . -type f -print0 | xargs -0 sed -i -e "s@google\[email protected]@g"

find . -type f -print0 | xargs -0 sed -i -e "s@google/firestore/@mockgcp/firestore/@g"
find . -type f -print0 | xargs -0 sed -i -e "s@google\[email protected]@g"

find . -type f -print0 | xargs -0 sed -i -e "s@google/pubsub/@mockgcp/pubsub/@g"
find . -type f -print0 | xargs -0 sed -i -e "s@google\[email protected]@g"

Expand Down

0 comments on commit b7d80e1

Please sign in to comment.