From 07e5ae71b675c38b1b02169067aed94c475a755d Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 13 Apr 2017 13:51:28 +0200 Subject: [PATCH] this project was based on addressbook project MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- INSTALL.txt | 14 ++++---- build.xml | 4 +-- nbproject/build-impl.xml | 32 +++++++++---------- nbproject/project.properties | 8 ++--- nbproject/project.xml | 6 ++-- .../{addressbook.sql => jfinancials.sql} | 32 +++++++++---------- 6 files changed, 48 insertions(+), 48 deletions(-) rename test_data/{addressbook.sql => jfinancials.sql} (71%) diff --git a/INSTALL.txt b/INSTALL.txt index 8b27992..88347c3 100644 --- a/INSTALL.txt +++ b/INSTALL.txt @@ -7,7 +7,7 @@ Installation instructions: 2) Setup a JDBC pool. I took the simple driver: -Pool name: AddressbookPool +Pool name: JFinancialsPool Resource type: java.sql.Driver Driver: MySQL Driver class: org.mariadb.jdbc.Driver @@ -18,8 +18,8 @@ password: your_password 3) Setup a JDBC resource: -JNDI name: jdbc/addressbook -Pool name: AddressbookPool +JNDI name: jdbc/jfinancials +Pool name: JFinancialsPool 4) In juser-core project you will find a JAR named "commons-codec-1.10.jar" you need to copy this to your $GLASSFISH_DOMAIN/lib/ path to make password @@ -31,18 +31,18 @@ Pool name: AddressbookPool 5) Setup a JMS connection factory: -JNDI name: jms/addressbook-queue-factory +JNDI name: jms/jfinancials-queue-factory Resource type: javax.jms.QueueConnectionFactory 6) Setup JMS message queue: -JNDI name: jms/addressbook-email-queue -Physical destination name: addressbook-send-email +JNDI name: jms/jfinancials-email-queue +Physical destination name: jfinancials-send-email Resource type: javax.jms.Queue 7) Setup Java Mail session: -JNDI name: jmail/addressbook +JNDI name: jmail/jfinancials Mail host: Default user: Default sender address: noreply@your-domain.example diff --git a/build.xml b/build.xml index d26bf60..a3b1dc3 100644 --- a/build.xml +++ b/build.xml @@ -7,8 +7,8 @@ - - Builds, tests, and runs the project addressbook. + + Builds, tests, and runs the project jfinancials. - + @@ -201,11 +201,11 @@ is divided into following sections: - + - + @@ -226,8 +226,8 @@ is divided into following sections: - - + + @@ -304,8 +304,8 @@ is divided into following sections: - - + + @@ -413,17 +413,17 @@ is divided into following sections: - + - + - + - - + + - - + + @@ -631,11 +631,11 @@ is divided into following sections: - + - + diff --git a/nbproject/project.properties b/nbproject/project.properties index 8bc2a35..e2c8979 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -21,8 +21,8 @@ j2ee.server.type=gfv3ee6 jar.compress=false jar.content.additional=\ ${reference.jcore-logger-ejb.dist-ear}:\ - ${reference.addressbook-ejb.dist-ear} -jar.name=addressbook.ear + ${reference.jfinancials-ejb.dist-ear} +jar.name=jfinancials.ear javac.debug=true javac.deprecation=false javac.source=1.6 @@ -30,9 +30,9 @@ javac.target=1.6 meta.inf=src/conf no.dependencies=false platform.active=default_platform -project.addressbook-ejb=../addressbook-ejb +project.jfinancials-ejb=../jfinancials-ejb project.jcore-logger-ejb=../jcore-logger-ejb -reference.addressbook-ejb.dist-ear=${project.addressbook-ejb}/dist/addressbook-ejb.jar +reference.jfinancials-ejb.dist-ear=${project.jfinancials-ejb}/dist/jfinancials-ejb.jar reference.jcore-logger-ejb.dist-ear=${project.jcore-logger-ejb}/dist/jcore-logger-ejb.jar resource.dir=setup run.classpath= diff --git a/nbproject/project.xml b/nbproject/project.xml index 4789946..14d2463 100644 --- a/nbproject/project.xml +++ b/nbproject/project.xml @@ -3,7 +3,7 @@ org.netbeans.modules.j2ee.earproject - addressbook + jfinancials 1.6.5 @@ -12,14 +12,14 @@ / - ${reference.addressbook-ejb.dist-ear} + ${reference.jfinancials-ejb.dist-ear} / - addressbook-ejb + jfinancials-ejb j2ee_ear_archive dist-ear diff --git a/test_data/addressbook.sql b/test_data/jfinancials.sql similarity index 71% rename from test_data/addressbook.sql rename to test_data/jfinancials.sql index 9324b5d..390aa47 100644 --- a/test_data/addressbook.sql +++ b/test_data/jfinancials.sql @@ -1,8 +1,8 @@ SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; --- Exportiere Daten aus Tabelle addressbook.mobile_numbers: ~1 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.mobile_numbers: ~1 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.mobile_provider: ~1 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.mobile_provider: ~1 rows (ungefähr) INSERT INTO `mobile_provider` (`provider_id`, `provider_dial_prefix`, `provider_entry_created`, `provider_mail_pattern`, `provider_name`, `provider_country_id`) VALUES (1, 1511, now(), '%s@t-mobile-sms.de', 'Telekom', 1), (2, 1512, now(), '%s@t-mobile-sms.de', 'Telekom', 1), @@ -34,34 +34,34 @@ INSERT INTO `mobile_provider` (`provider_id`, `provider_dial_prefix`, `provider_ (28, 176, now(), '%s@unknown.invalid', 'O2', 1), (29, 179, now(), '%s@unknown.invalid', 'O2', 1); --- Exportiere Daten aus Tabelle addressbook.company_basic_data: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_basic_data: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_branch_offices: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_branch_offices: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_contacts: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_contacts: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_departments: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_departments: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_employees: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_employees: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_headquarters: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_headquarters: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_job_positions: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_job_positions: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_logos: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_logos: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.company_opening_times: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.company_opening_times: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.country_data: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.country_data: ~0 rows (ungefähr) INSERT INTO `country_data` (`country_id`, `country_abroad_dial_prefix`, `country_code`, `country_entry_created`, `country_external_dial_prefix`, `country_i18n_key`, `country_is_local_prefix_required`, `country_phone_code`) VALUES (1, '00', 'DE', '2016-04-19 10:08:14', '0', 'COUNTRY_GERMANY', 1, 49); --- Exportiere Daten aus Tabelle addressbook.email_changes: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.email_changes: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.fax_numbers: ~0 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.fax_numbers: ~0 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.phone_numbers: ~1 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.phone_numbers: ~1 rows (ungefähr) --- Exportiere Daten aus Tabelle addressbook.users: ~1 rows (ungefähr) +-- Exportiere Daten aus Tabelle jfinancials.users: ~1 rows (ungefähr) SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS); -- 2.39.5