Karthikeyan Chinnakonda
32a316aef7
server: provide an option to enable event triggers on logically replicated tables
...
## Description ✍️
This PR introduces a new feature to enable/disable event triggers during logical replication of table data for PostgreSQL and MS-SQL data sources. We introduce a new field `trigger_on_replication` in the `*_create_event_trigger` metadata API. By default the event triggers will not fire for logical data replication.
## Changelog ✍️
__Component__ : server
__Type__: feature
__Product__: community-edition
### Short Changelog
Add option to enable/disable event triggers on logically replicated tables
### Related Issues ✍
https://github.com/hasura/graphql-engine/issues/8814
https://hasurahq.atlassian.net/browse/GS-252
### Solution and Design
- By default, triggers do **not** fire when the session mode is `replica` in Postgres, so if the `triggerOnReplication` is set to `true` for an event trigger we run the query `ALTER TABLE #{tableTxt} ENABLE ALWAYS TRIGGER #{triggerNameTxt};` so that the trigger fires always irrespective of the `session_replication_role`
- By default, triggers do fire in case of replication in MS-SQL, so if the `triggerOnReplication` is set to `false` for an event trigger we add a clause `NOT FOR REPLICATION` to the the SQL when the trigger is created/altered, which sets the `is_not_for_replication` for the trigger as `true` and it does not fire during logical replication.
### Steps to test and verify ✍
- Run hspec integration tests for HGE
## Server checklist ✍
### Metadata ✍
Does this PR add a new Metadata feature?
- ✅ Yes
- Does `export_metadata`/`replace_metadata` supports the new metadata added?
- ✅
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6953
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 92731328a2bbdcad2302c829f26f9acb33c36135
2022-11-29 17:43:13 +00:00
Varun Choudhary
b74c2952dd
console: enable naming convention check to enable/disable naming convention carded radio button
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6897
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 9dba07b1febf44fe10426e6c383cc8f3e0b799a6
2022-11-28 07:36:27 +00:00
Rahul Agarwal
5f2490b26c
Adding features to the enterprise listing docs page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7048
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: 916a20213a137d2f797648d12c6976351d67e59d
2022-11-25 15:49:13 +00:00
Tirumarai Selvan
4662d75bc6
revamp elastic connection pool docs
...
Restructure elastic connection pool docs to remove internal details and describe connection pooling benefits.
[Rendered](https://tiru-elastic-connection-pool.hasura-docs-mono.pages.dev/docs/latest/databases/connect-db/cloud-connection-pooling/ )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6960
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 10c0ebfe1313fcf0c25631e6103978ce774502f8
2022-11-24 15:18:13 +00:00
hasura-bot
0df52d8497
docs: fix streaming subscription example ( close #9241 )
...
GITHUB_PR_NUMBER: 9242
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9242
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6984
Co-authored-by: Jeff Lambert <11539524+jflambert@users.noreply.github.com>
GitOrigin-RevId: ed0965a016e3957ecc91184595478741e1cc7b25
2022-11-24 14:33:03 +00:00
Kailash Sudhakar
458ce8b384
Build configs for preview builds through GKE
...
Build configs for preview builds through GKE
## Description ✍️
Moving the docs preview builds from Cloudflare to "websitecloud" Google Cloud Project which is currently handling the staging and production deployments:
The preview triggers are expected to be called only on changes to the docs folder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6999
GitOrigin-RevId: 1699fe7677ebc03b8ce6338394e91d8e848640c3
2022-11-23 14:18:37 +00:00
Shahidh K Muhammed
e495c788b2
docs: update security team's email address
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6968
GitOrigin-RevId: d65596d0b5b6a36f4b2b35db4a50c3b6d0a91c72
2022-11-23 10:32:19 +00:00
Sean Park-Ross
26a5946622
Docs: Docusaurus update fixes
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6998
GitOrigin-RevId: 2b60acba07f8c0bdce116ec44986efcaa3f4587d
2022-11-23 07:54:19 +00:00
Abby Sassel
2b639406ca
Misc docs compatibility updates
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6956
GitOrigin-RevId: 4f8db44a62efc1e0b7998e43a301424648928c0b
2022-11-21 15:46:44 +00:00
Abby Sassel
0343bfc9a7
Server/Test and document Azure Cosmos DB support
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6943
GitOrigin-RevId: 7fba24a0b711c1c54b93a944f97b2da8e202a2fd
2022-11-21 14:37:59 +00:00
paritosh-08
0cc66d0f31
docs: add event trigger metrics
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6898
GitOrigin-RevId: f16577e2d964937287e1cbbd582467e908e9fd69
2022-11-21 08:27:28 +00:00
Adron Hall
91e483123d
Reordered the prereq for getting started with Athena.
...
## Description
Reordering the flow so that things are presented in the order in which a user would arrive at the particular step.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6935
GitOrigin-RevId: 5c04bc4142f3417cfb2eab0d057d0e264adf3f6b
2022-11-18 16:47:12 +00:00
Sean Park-Ross
619cc552f0
Updates Docusaurus to 2.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6390
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: surendran82 <26085612+surendran82@users.noreply.github.com>
GitOrigin-RevId: ca59e788e7d16bf74389c00a51db18604350b483
2022-11-18 16:02:38 +00:00
Stef Moreno
387a73b11f
docs: link to DB matrix to individual DB sections
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6909
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ab49f8aa5c15da285cfab7e67baffaae52d83cad
2022-11-18 00:13:54 +00:00
Abby Sassel
7df9dc5832
NDAT-295 Cleanup Tests.Subscriptions structure
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6882
GitOrigin-RevId: 854d30dc0a1859c08f082df4d3c375325c59cf9c
2022-11-16 13:24:15 +00:00
hasura-bot
1af1a52480
docs: update upgrade-ce-to-ee.mdx
...
GITHUB_PR_NUMBER: 9212
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9212
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6887
Co-authored-by: Chris Toth <97546117+chris-hasura@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 41b7567b9f439e25284301be34c70ece43265740
2022-11-15 22:39:49 +00:00
Rob Dominguez
1269652cbc
docs: remove mysql docs and all references
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6716
GitOrigin-RevId: 3a7ed0e4c8d723a8c10938176a0fab269760e785
2022-11-15 17:35:04 +00:00
Sean Park-Ross
a7584ccd79
Docs: Wiki add Hasura features and headings info
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6848
GitOrigin-RevId: ac23388362bcb118f9ee4d8d539adb161835070f
2022-11-15 16:18:39 +00:00
Rakesh Emmadi
2e9c93bed1
docs: elastic connection pooling in cloud
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6072
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: f8da61285ab5d6318f1e691c8f77b4ed1f1ce77c
2022-11-15 13:24:55 +00:00
Abby Sassel
b7a09a42c1
NDAT-293 Update feature matrix with features tested in api-tests suite
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6855
GitOrigin-RevId: 37f8193b8528f90955d55d2812f6f45afca054c8
2022-11-14 14:37:30 +00:00
Harish Nair
4b90c8219a
docs: add note on partial unique index support
...
>
## Description ✍️
Hasura currently does not support the use of partial unique indexes in upsert mutation as can be seen in [this issue](https://github.com/hasura/graphql-engine-mono/issues/4165 ). Call out this fact in the documentation.
## Affected components ✍️
- ✅ Docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5019
GitOrigin-RevId: adfb19acfe3f920bcc5865ae4424c3ce148c5b7c
2022-11-10 18:01:29 +00:00
Rob Dominguez
4e621fa48a
docs: resolve docker networking after guides restructure
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6823
GitOrigin-RevId: 7588f2b73a699565b38a6ac9ef58a708a4ad40e4
2022-11-10 16:32:01 +00:00
hasura-bot
a9b980a705
Fix typo
...
GITHUB_PR_NUMBER: 9143
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9143
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6816
Co-authored-by: Rowland I. Ekemezie <15085641+rowlandekemezie@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ae727cb8526d5377997e94582dd49a4833fcdbe1
2022-11-09 22:18:32 +00:00
Rob Dominguez
05df0c73f6
docs: fix link from hotfix on deployment
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6810
GitOrigin-RevId: 26259ee3c1458c460caab7135a7a4f3f8f4600d1
2022-11-09 15:43:06 +00:00
Adron Hall
027cf7c0fb
Adding Experimental feature flag and URI path for docker compose files.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6797
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ce1a6ee81b41b4fbcc5f1d08de0de42e4ed67438
2022-11-09 12:33:36 +00:00
Stef Moreno
4cd6eaf868
docs: remove best practice references
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6752
GitOrigin-RevId: 7d8a631ac540946846957fe50ce2c2464a0a1755
2022-11-08 21:21:09 +00:00
Sean Park-Ross
09c6c9b6a4
Docs: Fix a missing image in the Athena PR
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6787
GitOrigin-RevId: 856c045a32aa6e0903e49b935156bf22a0ac2999
2022-11-08 17:11:27 +00:00
pranshi06
7b7845f697
server: add jwk-refresh-log type to default enabled logs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6775
GitOrigin-RevId: 23fbeceb91e51380ccf0bb5830a4471d8964a3f5
2022-11-08 16:48:44 +00:00
Rikin Kachhia
d2e5fa60a2
docs: update ms sql server m1 mac support warning
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6515
GitOrigin-RevId: d07e73ab2456f22d0672273ae3669da69b8a9037
2022-11-08 12:28:30 +00:00
pranshi06
fd6aa0a266
server: add jwk-refresh-log as configurable log type
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6705
GitOrigin-RevId: 1f6f45ce555cefc24836a2fc5363660e351fa13b
2022-11-08 07:37:50 +00:00
Adron Hall
4d041ffd20
docs: adding amazon athena connector beta - first draft.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6534
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: fb316b24896bd46dbd8c5d6d1b4cdcd938f2f504
2022-11-08 03:55:46 +00:00
Puru Gupta
a4eb5ad95d
server: improve DX for heroku integration
...
## Description ✍️
This PR aims to improve the developer experience when using a heroku postgres instance as source database. Better error messages and relevant documentation are added as a part of this PR.
## Changelog ✍️
__Component__ : server
__Type__: enhancement
__Product__: community-edition
### Short Changelog
Improve DX for heroku integration
### Related Issues ✍
https://hasurahq.atlassian.net/browse/GS-202
### Steps to test and verify ✍
- Add a new heroku postgres instance as DB source in Hasura
- Try adding an event trigger
- Improved error message will be emitted:
```json
{
"arguments": [],
"error": {
"description": null,
"exec_status": "FatalError",
"hint": null,
"message": "pgcrypto can only be created in heroku_ext schema. Hint: You can set \"extensions_schema\" to provide the schema to install the extensions. Refer to the documentation here: https://hasura.io/docs/latest/deployment/postgres-requirements/#pgcrypto-in-pg-search-path ",
"status_code": "P0001"
},
"prepared": false,
"statement": "CREATE EXTENSION IF NOT EXISTS pgcrypto SCHEMA public"
}
```
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6630
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: a46d7c129a4e0378b7f33445f9bda11e0bddbd74
2022-11-08 03:55:30 +00:00
Shraddha Agrawal
4f0ee2a648
docs: add Hasura Cloud Billing estimation docs
...
This PR adds user facing docs that explain how we calculate billing for our customers. It details which operations count in data passthrough based on which we charge customers.
Solves Jira issue: https://hasurahq.atlassian.net/browse/CPS-177
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6229
Co-authored-by: aayshasura <109507451+aayshasura@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: a0f0bcd5ee3f07b5e77c7c3768f55481f1aa6687
2022-11-08 03:55:23 +00:00
hasura-bot
78c36392eb
docs: add guide on performance tuning ( fix #4805 )
...
GITHUB_PR_NUMBER: 9052
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9052
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6163
Co-authored-by: Aniketh Varma <55805574+aniketh-varma@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 0e9fac8795211e211aa9909d4f18dcfdc261f1b9
2022-11-08 03:55:15 +00:00
Naveen Naidu
0961e4fd74
docs: mssql event trigger docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4321
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9cba9e90465e95bf587469554f508f272391cb0f
2022-11-08 03:55:07 +00:00
Daniel Harvey
e6c3113a43
[server]: feature flag to remove _stream
fields from schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6698
GitOrigin-RevId: d2b80900d06353647505256fc351a07e6f7cd5f7
2022-11-04 13:10:35 +00:00
Rob Dominguez
79b58d4e7e
docs: add algolia to 404
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6655
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b174efd44e4e50517ef4c3d4d023c00cb4d674f1
2022-11-03 19:46:11 +00:00
Karthikeyan Chinnakonda
d7609233c4
Rename get_event_invocations
to get_scheduled_event_invocations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6513
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 172ba6152ed77b90eeec9183a3fb4c6f177e45b3
2022-11-03 10:23:11 +00:00
Tirumarai Selvan
66b63ac828
document default value for events fetch interval
...
Same as title
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6686
GitOrigin-RevId: 6c8edaae5d9d005f098d7cded14f991b5c22c881
2022-11-03 08:12:47 +00:00
Rob Dominguez
1e1592c254
docs: incorporate fixes and reorder cloud-dbs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6673
GitOrigin-RevId: 0eebba2a04f9109734c28c9b5da6d16e00e60ee1
2022-11-02 21:29:44 +00:00
Marion Schleifer
7b4a7917ce
docs: fix typo in query tags docs
...
[Slack conversation](https://hasurahq.slack.com/archives/C041B2DLHJS/p1667350236988359?thread_ts=1667347400.158339&cid=C041B2DLHJS )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6658
GitOrigin-RevId: 2861aae877d125150e92a9f32d370ed2b1894c10
2022-11-02 08:02:19 +00:00
Rob Dominguez
600aaf9358
docs: add sla and update index
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6328
GitOrigin-RevId: 44aad1bee8189092901cd0b7890ab2102ec4ee8e
2022-11-01 18:04:34 +00:00
hasura-bot
d047ecefe2
docs : Updated screenshots in the docs fixes #8998
...
GITHUB_PR_NUMBER: 9148
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9148
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6500
Co-authored-by: Ayush Bajaj <68808280+BajajAyush@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 85eb4ceb11c5699ae8435740c0232d50ac623c6f
2022-11-01 17:33:34 +00:00
Gil Mizrahi
925db48839
update feature matrix roach distinct
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6631
GitOrigin-RevId: 1b91337c49621a7f3f453a264ad2ed1c8055c648
2022-10-31 15:21:47 +00:00
Varun Choudhary
2bc05c1697
docs: add action response transform
...
This PR adds docs for the console support of action response transform.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6622
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 215b6df9fc7e7f27e4cbd9798ba5a97d66b91138
2022-10-31 12:30:05 +00:00
hasura-bot
c92988bcbf
Updated Screenshots In Docs ( close #8883 )
...
GITHUB_PR_NUMBER: 9087
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9087
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6264
Co-authored-by: sujithkumardola <47243708+Sujithkumardola@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: bccfb25a64237ffab44f89b462fc989577ee396a
2022-10-31 11:59:45 +00:00
Gil Mizrahi
b1894403a2
update the docs to exclude distinct_on for cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6604
GitOrigin-RevId: 99fe8d32faa950fe34e64e60e30875d1fa38713b
2022-10-31 10:53:42 +00:00
hasura-bot
659b340ffa
partial submission for docs:capitalization of headings #8885
...
GITHUB_PR_NUMBER: 9072
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9072
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6201
Co-authored-by: Phuong-Cat Ngo <44314126+catcecilia@users.noreply.github.com>
GitOrigin-RevId: 96fa8807ded210e3d384cb7d4181088804c01fb6
2022-10-28 17:42:52 +00:00
Stef Moreno
3ceb9171e1
docs: fix MS SQL connection string
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6607
GitOrigin-RevId: 2884588c41836352b65fe8226f2a91c8bdc525ab
2022-10-28 16:27:50 +00:00
Rob Dominguez
712d3e4a9d
Docs: Reorganize guides, tutorials, resources section
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5273
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: c6b7bdaba648d49f37c315a5dd53497f42b6cbd6
2022-10-28 14:00:51 +00:00