Skip to content

Commit ee91807

Browse files
authored
Merge pull request #1963 from bcgov/chore/alex-etl-250210
Chore: Latest ETL Updates
2 parents 84e73be + cf55320 commit ee91807

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

etl/data-transfer.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ set -e
1111
# $5 = (optional) table name to dump (e.g., compliance_report_history)
1212
#
1313
# Example commands:
14-
# ./data-transfer.sh lcfs dev export 398cd4661173 compliance_report_history
15-
# ./data-transfer.sh tfrs prod import 398cd4661173
14+
# . data-transfer.sh lcfs dev export 398cd4661173 compliance_report_history
15+
# . data-transfer.sh tfrs prod import 398cd4661173
1616

1717
if [ "$#" -lt 4 ] || [ "$#" -gt 5 ]; then
1818
echo "Passed $# parameters. Expected 4 or 5."
@@ -66,17 +66,17 @@ case $application in
6666
fi
6767
db_name="tfrs"
6868
remote_db_user="postgres"
69-
local_db_user="postgres"
69+
local_db_user="tfrs"
7070
;;
7171
"lcfs")
7272
project_name="d2bd59-$env"
7373
app_label="lcfs-crunchy-$env-lcfs"
7474
db_name="lcfs"
7575
if [ "$env" = "prod" ]; then
76-
remote_db_user="lcfsprod"
76+
remote_db_user="postgres"
7777
local_db_user="lcfs"
7878
else
79-
remote_db_user="lcfs"
79+
remote_db_user="postgres"
8080
local_db_user="lcfs"
8181
fi
8282
;;
12 KB
Binary file not shown.

etl/nifi/conf/flow.json.gz

173 Bytes
Binary file not shown.

etl/nifi/conf/flow.xml.gz

100 Bytes
Binary file not shown.

etl/nifi/conf/nifi.properties

100755100644
File mode changed.

frontend/src/hooks/useTransactions.js

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useCurrentUser } from './useCurrentUser'
44
import { roles } from '@/constants/roles'
55
import { TRANSFER_STATUSES } from '@/constants/statuses'
66
import { apiRoutes } from '@/constants/routes'
7-
import { apiRoutes } from '@/constants/routes/index.js'
87

98
export const useTransaction = (transactionID, options) => {
109
const client = useApiService()

0 commit comments

Comments
 (0)