This repository has been archived on 2025-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
BreCal/misc
2024-07-31 18:58:39 +02:00
..
add_user.py added a user login 2023-06-23 15:20:26 +02:00
Ampelfunktion.md Updated with comment from Basti to (temporarily) deaktivate rules for the terminal 2024-04-29 09:59:28 +02:00
BreCal.postman_collection.json Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00
brecal.snk misc 2023-07-31 14:48:28 +02:00
BreCalApi.cs Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00
BreCalApi.yaml Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00
bump-version.sh Set development / feature branch to 'devel' settings, added scripts to move to test and to production. Added script to increase version, store version and to update the respective files 2023-10-29 17:56:06 +01:00
copyprod.sh fixed gitignore file and copy scripts 2023-11-07 09:00:14 +01:00
copytest.sh fixed gitignore file and copy scripts 2023-11-07 09:00:14 +01:00
create_schema.sql added type flag to participant assignment for ship call pt. 1 2023-10-07 14:18:00 +02:00
Deployment.md Set development / feature branch to 'devel' settings, added scripts to move to test and to production. Added script to increase version, store version and to update the respective files 2023-10-29 17:56:06 +01:00
disclaimer.html Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00
logo_bremen_calling.png Mockup der Suche, Lokalisierung hinzugefügt (statisch via Resources) 2023-08-04 11:13:55 +02:00
product_codes.txt Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00
Readme.md synchronized database create and dump script, including instructions 2023-04-27 09:39:29 +02:00
ReleaseNotes.md Neue Release Notes 2024-04-25 09:08:27 +02:00
Remote BreCalEMSWE.postman_environment.json Updated postman collection 2023-06-27 11:34:43 +02:00
sample_data.sql database extension 2023-10-06 16:13:05 +02:00
sample_static_data.sql Set development / feature branch to 'devel' settings, added scripts to move to test and to production. Added script to increase version, store version and to update the respective files 2023-10-29 17:56:06 +01:00
update_1.1_to_1.2.sql For intervals there are now 2 fields in the times object: eta_interval_end and etd_interval_end 2024-04-03 10:39:32 +02:00
version.txt Created an HTML-based Email notification template, which is adaptive to error messages. It includes a logo file from the local repository (logo_bremen_calling.png). Refactoring methods and clearing old methods. Created a one-line function to connect to the Email server. Included the Notifier's sending method in the routine will be executed every 15 minutes and includes those shipcalls, which have been evaluated at least 10 minutes ago. Located the logo file and email template in a resources/ folder within the library. Manually overwriting the Emailaddress of all notification recipients, so the BSMD mail is used throughout testing. 2024-07-31 18:58:39 +02:00

Database Bremen Calling

Server

mariadb v 10

Getting started

  • Execute 'create_schema.sql' and import 'sample_data.sql'

If the database is updated or changed, please update these files. To avoid errors, it is best to drop the entire database, edit the create script and re-import the sample data.

Creating the dump file

mysqldump -u [username] -p --no-create-info --complete-insert bremen_calling > sample_data.sql

Removing existing tables

We want only to remove the tables in order to preserve user privileges

SELECT concat('DROP TABLE IF EXISTS `', table_name, '`;')
FROM information_schema.tables
WHERE table_schema = 'bremen_calling';

outputs complete drop statements

SET FOREIGN_KEY_CHECKS = 0;
-- Your semicolon separated list of DROP statements here
DROP TABLE IF EXISTS `notification`;
DROP TABLE IF EXISTS `role`;
DROP TABLE IF EXISTS `ship`;
DROP TABLE IF EXISTS `participant`;
DROP TABLE IF EXISTS `times`;
DROP TABLE IF EXISTS `role_securable_map`;
DROP TABLE IF EXISTS `user_role_map`;
DROP TABLE IF EXISTS `user`;
DROP TABLE IF EXISTS `securable`;
DROP TABLE IF EXISTS `shipcall_participant_map`;
DROP TABLE IF EXISTS `berth`;
DROP TABLE IF EXISTS `shipcall`;

SET FOREIGN_KEY_CHECKS = 1;