-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BAH-2881 | Add artefacts for DB backup images of 1.0.0-standard (#32)
* BAH-2881 | Add. Database backup for stamdard 1.0.0 * BAH-2881 | Add. README file for 1.0.0-standard DB backups
- Loading branch information
Showing
183 changed files
with
60,459 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Bahmni Standard 1.0.0 Database Backup Images | ||
This directory contains the artifacts used to publish the database backup images for OpenMRS, OpenELIS and Odoo. | ||
|
||
### Changes done on OpenMRS Database | ||
Use mysql:8.0 as the database image while starting up Bahmni. The CIEL and other import happens from Initializer module. | ||
|
||
- Navigate to OpenMRS --> Administration --> Manage Providers --> Neha Anand. Update practitioner type and set available for appointments to true. | ||
- Assign roles for `doctor`, `registration` users. | ||
- Set saleable attribute to procedures using the [script](../../../metadataScripts/openmrs/set_saleable_attribute.sh) | ||
|
||
|
||
### Changes done on Odoo database | ||
Use postgres:16 as the database image while starting up Bahmni. Odoo initializes all the required schema. | ||
|
||
- Update Company Information --> Name, Currency | ||
- Create a user named `emrsync` for Atomfeed sync | ||
- Enable Custom toggles under Settings --> Bahmni | ||
- Under Settings --> Sales, enable Unit of Measure and Advanced Pricelist | ||
- Under Settings --> Inventory, enable Tracking by Lots and Expiration data and also Storage Locations | ||
|
||
|
||
Once doing all these updates take backup using the `backup_bahmni_standard.sh` script in the bahmni-docker/bahmni-standard repository. Copy over all the required artefacts into respective resources directory of applications. | ||
|
||
Note: Remove `bahmniforms` directory in the configuration_checksums directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM postgres:16 | ||
|
||
COPY demo/db-backups/1.0.0-standard/odoo/resources/filestore /filestore | ||
COPY demo/db-backups/1.0.0-standard/odoo/resources/*.sql.gz /docker-entrypoint-initdb.d/ |
19 changes: 19 additions & 0 deletions
19
.../1.0.0-standard/odoo/resources/filestore/odoo/08/08a77663181c46155da9062492e90c60adbbce66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
/* /web/static/src/main.js */ | ||
odoo.define('@web/main',async function(require){'use strict';let __exports={};const{startWebClient}=require("@web/start");const{WebClient}=require("@web/webclient/webclient");startWebClient(WebClient);return __exports;});; | ||
|
||
/* /web/static/src/start.js */ | ||
odoo.define('@web/start',async function(require){'use strict';let __exports={};const{makeEnv,startServices}=require("@web/env");const{legacySetupProm}=require("@web/legacy/legacy_setup");const{mapLegacyEnvToWowlEnv}=require("@web/legacy/utils");const{localization}=require("@web/core/l10n/localization");const{session}=require("@web/session");const{renderToString}=require("@web/core/utils/render");const{setLoadXmlDefaultApp,templates}=require("@web/core/assets");const{hasTouch}=require("@web/core/browser/feature_detection");const{App,whenReady}=require("@odoo/owl");__exports.startWebClient=startWebClient;async function startWebClient(Webclient){odoo.info={db:session.db,server_version:session.server_version,server_version_info:session.server_version_info,isEnterprise:session.server_version_info.slice(-1)[0]==="e",};odoo.isReady=false;const env=makeEnv();await startServices(env);await whenReady();const legacyEnv=await legacySetupProm;mapLegacyEnvToWowlEnv(legacyEnv,env);const app=new App(Webclient,{env,templates,dev:env.debug,translatableAttributes:["data-tooltip"],translateFn:env._t,});renderToString.app=app;setLoadXmlDefaultApp(app);const root=await app.mount(document.body);const classList=document.body.classList;if(localization.direction==="rtl"){classList.add("o_rtl");} | ||
if(env.services.user.userId===1){classList.add("o_is_superuser");} | ||
if(env.debug){classList.add("o_debug");} | ||
if(hasTouch()){classList.add("o_touch_device");} | ||
odoo.__WOWL_DEBUG__={root};odoo.isReady=true;const favicon=`/web/image/res.company/${env.services.company.currentCompany.id}/favicon`;const icons=document.querySelectorAll("link[rel*='icon']");const msIcon=document.querySelector("meta[name='msapplication-TileImage']");for(const icon of icons){icon.href=favicon;} | ||
if(msIcon){msIcon.content=favicon;}} | ||
return __exports;});; | ||
|
||
/* /web/static/src/legacy/legacy_setup.js */ | ||
odoo.define('@web/legacy/legacy_setup',async function(require){'use strict';let __exports={};const{registry}=require("@web/core/registry");const{makeLegacyNotificationService,makeLegacyRpcService,makeLegacySessionService,makeLegacyDialogMappingService,makeLegacyCrashManagerService,makeLegacyCommandService,makeLegacyDropdownService,}=require("@web/legacy/utils");const{makeLegacyActionManagerService}=require("@web/legacy/backend_utils");const AbstractService=require("web.AbstractService");const legacyEnv=require("web.env");const session=require("web.session");const makeLegacyWebClientService=require("web.pseudo_web_client");const{templates}=require("@web/core/assets");const{Component,whenReady}=require("@odoo/owl");let legacySetupResolver;const legacySetupProm=__exports.legacySetupProm=new Promise((resolve)=>{legacySetupResolver=resolve;});(async()=>{AbstractService.prototype.deployServices(legacyEnv);Component.env=legacyEnv;const legacyActionManagerService=makeLegacyActionManagerService(legacyEnv);const serviceRegistry=registry.category("services");serviceRegistry.add("legacy_action_manager",legacyActionManagerService);const legacyRpcService=makeLegacyRpcService(legacyEnv);serviceRegistry.add("legacy_rpc",legacyRpcService);const legacySessionService=makeLegacySessionService(legacyEnv,session);serviceRegistry.add("legacy_session",legacySessionService);const legacyWebClientService=makeLegacyWebClientService(legacyEnv);serviceRegistry.add("legacy_web_client",legacyWebClientService);serviceRegistry.add("legacy_notification",makeLegacyNotificationService(legacyEnv));serviceRegistry.add("legacy_crash_manager",makeLegacyCrashManagerService(legacyEnv));const legacyDialogMappingService=makeLegacyDialogMappingService(legacyEnv);serviceRegistry.add("legacy_dialog_mapping",legacyDialogMappingService);const legacyCommandService=makeLegacyCommandService(legacyEnv);serviceRegistry.add("legacy_command",legacyCommandService);serviceRegistry.add("legacy_dropdown",makeLegacyDropdownService(legacyEnv));const wowlToLegacyServiceMappers=registry.category("wowlToLegacyServiceMappers").getEntries();for(const[legacyServiceName,wowlToLegacyServiceMapper]of wowlToLegacyServiceMappers){serviceRegistry.add(legacyServiceName,wowlToLegacyServiceMapper(legacyEnv));} | ||
await Promise.all([whenReady(),session.is_bound]);legacyEnv.templates=templates;legacySetupResolver(legacyEnv);})();return __exports;});odoo.define(`web.legacySetup`,async function(require){return require('@web/legacy/legacy_setup')[Symbol.for("default")];});; | ||
|
||
/* /mail/static/src/main.js */ | ||
odoo.define('@mail/main',async function(require){'use strict';let __exports={};const{ChatWindowManagerContainer}=require('@mail/components/chat_window_manager_container/chat_window_manager_container');const{DialogManagerContainer}=require('@mail/components/dialog_manager_container/dialog_manager_container');const{DiscussContainer}=require('@mail/components/discuss_container/discuss_container');const{PopoverManagerContainer}=require('@mail/components/popover_manager_container/popover_manager_container');const{messagingService}=require('@mail/services/messaging_service');const{systrayService}=require('@mail/services/systray_service');const{makeMessagingToLegacyEnv}=require('@mail/utils/make_messaging_to_legacy_env');const{registry}=require('@web/core/registry');const messagingValuesService={start(){return{};}};const serviceRegistry=registry.category('services');serviceRegistry.add('messaging',messagingService);serviceRegistry.add('messagingValues',messagingValuesService);serviceRegistry.add('systray_service',systrayService);serviceRegistry.add('messaging_service_to_legacy_env',makeMessagingToLegacyEnv(owl.Component.env));registry.category('actions').add('mail.action_discuss',DiscussContainer);registry.category('main_components').add('DialogManagerContainer',{Component:DialogManagerContainer});registry.category('main_components').add('ChatWindowManagerContainer',{Component:ChatWindowManagerContainer});registry.category('main_components').add('PopoverManagerContainer',{Component:PopoverManagerContainer});return __exports;}); |
Binary file added
BIN
+2.67 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/13/13b04520fffee36d38fbb7992c7ea455e220f699
Binary file not shown.
Binary file added
BIN
+11.6 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/14/142d9bc8c2fa2819fc8172a0037299016a8a2061
Binary file not shown.
Binary file added
BIN
+2.16 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/16/1684e58ef4d9830adb763b23f1a5d550ed111c8c
Binary file not shown.
Binary file added
BIN
+5.01 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/18/180e2ce56c1674d5c071d9c6c46dbb6dc84a1485
Binary file not shown.
Binary file added
BIN
+7.23 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/19/19bc77cd8e38375eebd1fa7b405fb05a703a7f90
Binary file not shown.
Binary file added
BIN
+16.3 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/19/19f0419333ea69224b4f99c356872a19d9e45b24
Binary file not shown.
Binary file added
BIN
+1.69 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/1a/1afed43e6bc35cf8f516e8e5046e0918231f00d1
Binary file not shown.
Binary file added
BIN
+1.68 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/1c/1c7ef08e120b71507912699f35c87a57b165e9b9
Binary file not shown.
Binary file added
BIN
+1.57 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/21/21afcdda3c091ede6a6bcfa4737b2506955669ba
Binary file not shown.
807 changes: 807 additions & 0 deletions
807
.../1.0.0-standard/odoo/resources/filestore/odoo/25/251a3bc9088ec42c3872923086bc87dbba74fcfc
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+1.76 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/27/27a2f34ea08a990e5f5ce8c3486694b01715ebea
Binary file not shown.
Binary file added
BIN
+1.93 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/28/28a766519a5b4bbb46c0dd5f7cc871ca2edb7fe8
Binary file not shown.
Binary file added
BIN
+2.48 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/2b/2bdeef7b9c5440fc78f5f873c5046480ac2f5630
Binary file not shown.
Binary file added
BIN
+799 Bytes
.../1.0.0-standard/odoo/resources/filestore/odoo/2d/2d83e4150e1d7e05e82c355f467042610783cf3b
Binary file not shown.
Binary file added
BIN
+1.69 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/2d/2dbacc9c87e550420deaf79ddcaea7356bafcd63
Binary file not shown.
Binary file added
BIN
+1.17 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/2f/2f1b87f22fb0a6d98ad3d0f0c6fee0d1c5995a2d
Binary file not shown.
Binary file added
BIN
+1.9 KB
.../1.0.0-standard/odoo/resources/filestore/odoo/30/3003b00cb0cc7d35f14d44d1f3c95816c5555402
Binary file not shown.
Oops, something went wrong.