Commit 6f7f5f3c authored by PECQUOT's avatar PECQUOT

Merge from branch 'quadrige3'

git-svn-id: https://scmforge.ifremer.fr/authscm/lp1ee9d/svn/reefdb/trunk@2256 cd918a83-917d-4a2a-92d7-bc1d03929fc5
parent dfb1e787

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
This diff is collapsed.
......@@ -21,8 +21,8 @@ IMPORTANT: Pour déployer à l'Ifremer (la configuration par défaut) il faut do
Do it faster:
> mvn release:prepare -Darguments="-DperformRelease -Dmaven.test.skip -Dmaven.javadoc.skip -Dandromda.run.skip=true"
> mvn release:perform -Darguments="-DperformRelease -Dmaven.test.skip -Dmaven.javadoc.skip -Dandromda.run.skip=false" -B
> mvn release:prepare -Darguments="-DperformRelease -Dmaven.test.skip -Dmaven.javadoc.skip"
> mvn release:perform -Darguments="-DperformRelease -Dmaven.test.skip -Dmaven.javadoc.skip -Dmaven.deploy.skip=false -Dsource.skip=false" -B
Déploiement sur le repository EIS
-------------------------------------
......@@ -37,18 +37,18 @@ Déploiement sur le repository EIS
Génération du schema SQL (Oracle)
---------------------------------
> mvn compile andromdapp:schema -pl quadrige2-core-server -Psql
> mvn compile andromdapp:schema -pl quadrige3-core-server -Psql
Génération du schema SQL (Quadrige2)
Génération du schema SQL (quadrige3)
------------------------------------
> mvn compile andromdapp:schema -pl quadrige2-core-client -Psql
> mvn compile andromdapp:schema -pl quadrige3-core-client -Psql
Tester le plugin Magicdraw
--------------------------
mvn -pl quadrige2-mda/quadrige2-magicdraw-plugin -Prun -DmagicdrawHome="<MAGIC_DRAW_HOME>"
mvn -pl quadrige3-mda/quadrige3-magicdraw-plugin -Prun -DmagicdrawHome="<MAGIC_DRAW_HOME>"
Install sous eclipse
......@@ -65,14 +65,14 @@ Démarrage de l'UI avec une base de données
1/ Télécharger la BDD avec les référentiels d'exploitation : https://forge.ifremer.fr/frs/download.php/latestzip/313/PrototypeTestDB-latest.zip
2/ Dézipper la base dans <reefdb_trunk>/quadrige2-core-client/src/test/
2/ Dézipper la base dans <reefdb_trunk>/quadrige3-core-client/src/test/
- soit dans db/ pour lancer la BDD en mode normal (ouverture à chaque lancement)
- soit dans db-server/ pour lancer la BDD une seule fois, en mode serveur --> Conseillé pour les DEV.
Pour lancer le mode serveur, lancer le script <reefdb_trunk>/quadrige2-core-client/src/test/startServer.bat
Pour lancer le mode serveur, lancer le script <reefdb_trunk>/quadrige3-core-client/src/test/startServer.bat
3/ Lancer l'UI, avec l'option JVM suivante :
-Dreefdb.persistence.enable=true
Si vous avez la base en mode serveur, ajouter également l'option :
-Dquadrige2.persistence.jdbc.url=jdbc:hsqldb:hsql://localhost/quadrige2
-Dquadrige3.persistence.jdbc.url=jdbc:hsqldb:hsql://localhost/quadrige3
\ No newline at end of file
......@@ -3,13 +3,13 @@ README ANDROMDA
* Generate SQL creation script:
> mvn andromdapp:schema -pl quadrige2-core-client -Psql
> mvn andromdapp:schema -pl quadrige3-core-client -Psql
the generated sql script file is located in target/generated-sources/sql/create-tables.sql
* Generate SQL creation script and execute it in a new HsqlDB database
> mvn andromdapp:schema -pl quadrige2-core-client -Psql -DexecuteScripts
> mvn andromdapp:schema -pl quadrige3-core-client -Psql -DexecuteScripts
the SQL script created and executed. It will create a HSQL database in src/test/db
......
......@@ -3,19 +3,19 @@ README : for liquibase (database version managment)
HOW-TO (Server part / Oracle):
------------------------------
* Update Quadrige2 database to last version :
* Update quadrige3 database to last version :
1. launch upgrade using maven :
> mvn compile liquibase:update -pl quadrige2-core-server -Psql
> mvn compile liquibase:update -pl quadrige3-core-server -Psql
* Show diff between Quadrige2 database and hibernate entites :
* Show diff between quadrige3 database and hibernate entites :
1. launch diff using maven :
> mvn compile liquibase:diff -pl quadrige2-core-server -Psql -Denv=server-oracle
> mvn compile liquibase:diff -pl quadrige3-core-server -Psql -Denv=server-oracle
2. Open the file : 'quadrige2-core-server/target/db-changelog-<version>.xml' to show updated needs
2. Open the file : 'quadrige3-core-server/target/db-changelog-<version>.xml' to show updated needs
WARNING : some changes on indexes AND/OR sequence must to be ignore (because only columns order change)
......@@ -28,20 +28,20 @@ README : for liquibase (database version managment)
* Update ReefDB database to last version :
1. Edit the file 'quadrige2-core-client/src/test/db/quadrige2.properties', and change properties 'readOnly' to 'false'
1. Edit the file 'quadrige3-core-client/src/test/db/quadrige3.properties', and change properties 'readOnly' to 'false'
2. launch upgrade using maven :
> mvn compile liquibase:update -pl quadrige2-core-client -Psql
> mvn compile liquibase:update -pl quadrige3-core-client -Psql
3. Edit the file 'quadrige2-core-client/src/test/db/quadrige2.properties', and change properties 'readOnly' to 'true'
3. Edit the file 'quadrige3-core-client/src/test/db/quadrige3.properties', and change properties 'readOnly' to 'true'
* Show diff between Q2 DB database and hibernate entites :
1. launch diff using maven :
> mvn compile liquibase:diff -pl quadrige2-core-client -Psql
> mvn compile liquibase:diff -pl quadrige3-core-client -Psql
2. Open the file : 'quadrige2-core-client/target/db-changelog-<version>.xml' to show updated needs
2. Open the file : 'quadrige3-core-client/target/db-changelog-<version>.xml' to show updated needs
WARNING : some changes on indexes AND/OR sequence must to be ignore (because only columns order change)
Troubleshooting:
......@@ -51,4 +51,4 @@ README : for liquibase (database version managment)
1. Release liquibase lock:
> mvn -pl quadrige2-core-<client|server> liquibase:releaseLocks -Psql
> mvn -pl quadrige3-core-<client|server> liquibase:releaseLocks -Psql
......@@ -3,6 +3,6 @@ README MAGICDRAW