Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,11 @@ To use, install your GitHub app on desired repositories. Your app's homepage wil

### Heroku Setup

To set up on your own lighning experience, host this app on Heroku and change the webhook URL of your GitHub app to point to [YOUR HEROKU APP URL]/webhook instead of smee.
To set up on your own Lightning Experience, host this app on Heroku and change the webhook URL of your GitHub app to point to [YOUR HEROKU APP URL]/webhook instead of smee.

To set up Heroku Connect, you may view the steps [here](https://devcenter.heroku.com/articles/getting-started-with-heroku-and-connect-without-local-dev).

In Heroku Connect, you will sync the `ADM_Build_c` table with the following fields: CreatedDate, Name, Release_Freeze_datetime__c, and Release_Freeze__c.

Finally in Heroku Connect, you will need to sync the `ADM_Work__c` table with the following fields: Assignee__c, Closed_By__c, CreatedById, CreatedDate, Details__c, Details_and_steps_to_Reproduce__c, Feedback__c, Found_in_Build__c, Frequency__c, Impact__c, Last_Modified_By__c, Name, Priority__c, Product_Owner__c, Product_Tag__c, QA_Engineer__c, RecordTypeId, Regressed__c, Related_URL__C, Release__c, Scheduled_Build__c, Scrum_Team__c, Severity__c, Spring__c, Status__c, Subject__c, and ftest__c.
In Heroku Connect, you will sync the `ADM_Build_c`, `ADM_Change_List__c` and `ADM_Work__c` tables. The fields are defined in [herokuconnect.json](./heroku/herokuconnect.json). You can deploy that mapping with the [Heroku Connect CLI plugin](https://devcenter.heroku.com/articles/quick-start-heroku-connect-cli#import-mapping-configuration), but you'll have to change the connection settings before deploying.

As a reminder, if you see a prefix before the field name, set the `SALESFORCE_PREFIX` environment variable to that prefix.

Expand Down
147 changes: 147 additions & 0 deletions heroku/herokuconnect.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
{
"mappings": [
{
"object_name": "agf__ADM_Build__c",
"config": {
"access": "read_only",
"sf_notify_enabled": false,
"sf_polling_seconds": 600,
"sf_max_daily_api_calls": 30000,
"fields": {
"CreatedDate": {},
"Id": {},
"IsDeleted": {},
"Name": {},
"SystemModstamp": {},
"agf__Release_Freeze_Datetime__c": {},
"agf__Release_Freeze__c": {}
},
"indexes": {
"Id": {
"unique": true
},
"SystemModstamp": {
"unique": false
},
"Name": {
"unique": false
}
},
"applied_at": "2018-11-14T17:52:30.792508Z"
}
},
{
"object_name": "agf__ADM_Change_List__c",
"config": {
"access": "read_only",
"sf_notify_enabled": false,
"sf_polling_seconds": 600,
"sf_max_daily_api_calls": 30000,
"fields": {
"Name": {},
"agf__Comments__c": {},
"IsDeleted": {},
"SystemModstamp": {},
"agf__Check_In_Date__c": {},
"agf__Work__c": {},
"CreatedDate": {},
"Id": {},
"agf__Task__c": {}
},
"indexes": {
"SystemModstamp": {
"unique": false
},
"Id": {
"unique": true
}
},
"applied_at": "2020-04-02T18:35:19.786986Z"
}
},
{
"object_name": "agf__ADM_Work__c",
"config": {
"indexes": {
"SystemModstamp": {
"unique": false
},
"agf__External_ID__c": {
"unique": true
},
"Id": {
"unique": true
},
"Name": {
"unique": false
},
"agf__Related_URL__c": {
"unique": false
},
"agf__Subject__c": {
"unique": false
},
"CreatedDate": {
"unique": false
}
},
"sf_max_daily_api_calls": 30000,
"access": "read_write",
"upsert_field": "agf__External_ID__c",
"applied_at": "2023-02-14T01:40:34.070538Z",
"sf_polling_seconds": 600,
"sf_notify_enabled": false,
"fields": {
"agf__Perforce_Status__c": {},
"agf__Product_Owner__c": {},
"agf__Details__c": {},
"agf__Scrum_Team__c": {},
"agf__QA_Engineer__c": {},
"agf__Severity__c": {},
"RecordTypeId": {},
"agf__Frequency__c": {},
"agf__Scheduled_Build__c": {},
"agf__Related_URL__c": {},
"agf__Sprint__c": {},
"Name": {},
"agf__ftest__c": {},
"IsDeleted": {},
"SystemModstamp": {},
"agf__Status__c": {},
"agf__Found_in_Build__c": {},
"agf__Assignee__c": {},
"agf__External_ID__c": {},
"CreatedDate": {},
"agf__Subject__c": {},
"agf__Product_Tag__c": {},
"agf__Closed_By__c": {},
"CreatedById": {},
"Id": {},
"agf__Release__c": {},
"agf__Impact__c": {},
"agf__Regressed__c": {},
"agf__Details_and_Steps_to_Reproduce__c": {},
"agf__Feedback__c": {},
"agf__Priority__c": {},
"agf__Last_Modified_By__c": {}
}
}
}
],
"connection": {
"app_name": "CHANGE-ME",
"organization_id": "00D-CHANGE-ME",
"exported_at": "2023-02-15T17:13:42.743308+00:00",
"features": {
"disable_bulk_writes": false,
"poll_db_no_merge": true,
"poll_external_ids": false,
"rest_count_only": false,
"ucs_basic_collation_index": false
},
"api_version": "57.0",
"name": "CHANGE-ME:DATABASE_URL:gus",
"logplex_log_enabled": false
},
"version": 1
}