* - Save the DOM on test failures. - Handle promise rejection in tests. - Save console logs to a file instead of stdout * - Fix golden app tests - Upgrade widgets in golden app to latest version * - Removing logging to file temporarily - Add test index to the file names * Some final cleanup Co-authored-by: Satish Gandham <satish@appsmith.com>
33 lines
925 B
Markdown
33 lines
925 B
Markdown
### Adding credentials to app export
|
|
- In the exported app add this property under `datasourceList` in the item corresponding to the plugin you are adding credentials for.
|
|
|
|
```
|
|
"datasourceConfiguration": {
|
|
"connection": {
|
|
"mode": "READ_WRITE",
|
|
"ssl": {
|
|
"authType": "DEFAULT"
|
|
}
|
|
},
|
|
"endpoints": [{
|
|
"host": "localhost",
|
|
"port": 5432
|
|
}],
|
|
"sshProxyEnabled": false
|
|
},
|
|
```
|
|
- Add this key at the top level
|
|
```
|
|
"decryptedFields": {
|
|
"PostgresGolden": {
|
|
"password": "********",
|
|
"authType": "com.appsmith.external.models.DBAuth",
|
|
"dbAuth": {
|
|
"authenticationType": "dbAuth",
|
|
"authenticationType": "dbAuth",
|
|
"username": "********",
|
|
"databaseName": "db_name"
|
|
}
|
|
}
|
|
},
|
|
``` |