Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore mambaetl #45

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9ce7760
Restore MambaETL changes
Jul 19, 2023
450d85a
Rwanda dimennsions
Jul 20, 2023
fc36c65
Formats and script cleanups
smallgod Jul 21, 2023
bf5dc09
Call the right ETL script
smallgod Jul 21, 2023
c9227ce
reset liquibase changeset id
smallgod Jul 21, 2023
fe71dc1
Resolve parse date Error
smallgod Jul 21, 2023
0a47ae9
Change type of date
smallgod Jul 21, 2023
843749c
Adds DATETIME type to report query
smallgod Jul 22, 2023
5451476
increment liquibase id
smallgod Jul 22, 2023
80d4fe9
Adds moh-billing report insurance columns
smallgod Aug 19, 2023
9f3b72d
Adds flattening logic for billing reports
smallgod Aug 20, 2023
39f5588
Add extra group columns to report query
smallgod Aug 20, 2023
6028c82
rectify issue with date param in query
smallgod Aug 21, 2023
f1d2538
Rebase - Upgrade MambaETL dependency entries
smallgod Aug 26, 2023
a1c42d6
Rebase - Adds lab encounter type to flatten
smallgod Sep 15, 2023
caf47f3
Remove redundant column from reports config
smallgod Sep 15, 2023
0bf88b7
Adds condition to UPDATE statements
smallgod Sep 15, 2023
54e1104
Remove non-null restriction on service_bill table
smallgod Sep 15, 2023
52b69c4
Removes non-null restriction for new models in billing module
smallgod Sep 15, 2023
e6cdc39
Adds support for separate analysis DB
smallgod Sep 29, 2023
9bffee2
Adds analysis db support
smallgod Oct 2, 2023
c966794
rebase - Upgraded MambaETL version to May-7th-2024 version
smallgod Jun 30, 2024
ab6264c
rebase - Set ETL to use same database as transactional data
smallgod Jul 1, 2024
21472fb
rebase - Updated module to reflect new Mamba changes
smallgod Aug 15, 2024
8b8a21f
Removed hardcoded service Id values
smallgod Aug 15, 2024
b392256
Fixed issue with unexpected naming
smallgod Aug 15, 2024
7458c26
added support to fetch insurance report via API
smallgod Aug 16, 2024
cda630d
Shutdown ETL threads upon module shutdown
smallgod Aug 16, 2024
1b45556
Changed order of dropping tables to resolve FK issue
smallgod Aug 16, 2024
06d96e8
rebase - corrected table name
smallgod Aug 18, 2024
05fe73a
modified report name
smallgod Aug 18, 2024
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
Prev Previous commit
Next Next commit
Shutdown ETL threads upon module shutdown
  • Loading branch information
smallgod committed Jan 16, 2025
commit cda630de7aa5febb0f6ed30214b5798f8ebe549a
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,19 @@
* This class contains the logic that is run every time this module is either started or shutdown
*/
public class RwandaReportsModuleActivator extends BaseModuleActivator {

private static Log log = LogFactory.getLog(RwandaReportsModuleActivator.class);

@Override
public void started() {
log.info("Started Rwanda Report Module Config");
System.out.println("MambaETL Deploying scripts...");
Context.getService(FlattenDatabaseService.class).setupEtl();
}

@Override
public void stopped() {
log.info("Stopped Rwanda Report Module");
}

private static Log log = LogFactory.getLog(RwandaReportsModuleActivator.class);

@Override
public void started() {
log.info("Started Rwanda Report Module Config");
log.info("MambaETL Deploying scripts...");
Context.getService(FlattenDatabaseService.class).setupEtl();
}

@Override
public void stopped() {
log.info("Stopped Rwanda Report Module");
Context.getService(FlattenDatabaseService.class).shutdownEtlThread();
}
}