balderdashy / balderdashy/sails

App Engine Deployment with Cloud SQL

Open
#7,004 7 comments 0 reactions 0 assignees View on GitHub
help wanted orm postgresql try this out please
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**: 12.16.0
**Sails version** _(sails)_: 1.2.4
**ORM hook version** _(sails-hook-orm)_: 2.1.1
**Sockets hook version** _(sails-hook-sockets)_: 2.0.0
**Grunt hook version** _(sails-hook-grunt)_: 4.0.0
**DB adapter & version** _(e.g. sails-mysql@5.55.5)_: sails-postgresql@1.0.2


I was able to deploy with GCP app engine in flex environment. But I am anot able to access my cloudsql postgres resource. As app engine supports different notation [`/cloudsql/INSTANCE_CONNECTION_NAME`] to represent resources in app engine.
https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible.
If I am using that notation, in application logs. it defaults to localhost for db

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the Sails 1.2.4 deployment on GCP App Engine Flexible with sails-postgresql 1.0.2, then inspect how the `/cloudsql/INSTANCE_CONNECTION_NAME` value is passed to the database configuration; done means the deployed app connects to Cloud SQL PostgreSQL instead of localhost.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, javascript, node.js, postgresql
Domain
backend, cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.