View Source

*MySQL database*

If you don't have one yet, download and install MySQL server.

Create a database for Petals View:

example: petalview

Create a user with all rights granted to this database

example: user: view

pwd: view

*petals-view.properties file*

Open this file (located in PetalsView-docs directory) and adapt informations to fit your database configuration (database name, users id and password, MySQL server address). Save the file.

!worddavdbea6075feb593a9969903514ef7c93a.png|height=343,width=486!

\\
*SE-KPI Component configuration*

Browse directories to petals-se-kpi.zip/META_INF

Open jbi.xml file.

On this line -- <petals-se-kpi:hibernateURL>: fill in the "petals-view.properties" file location
example : [file:///home/user/Desktop/petals-view.properties]

Save the file.

!worddav2af8efbdd49932e3239f2304671319d7.png|height=296,width=575!

*Petals View configuration*

Go to PetalsView-webapp/PetalsView.war/WEB-INF/spring

Open petals-view-annotation.xml

On the line <property >, in value quotation marks, fill in "petals-view.properties" file location.

Example : [|\\\\samba\\pv00.vg00.Societe\\user\\Bureau\\PetalsView-Tutorial\\docs\\hibernate.cfg.xml]{color:#000080}+[file:///home/user/Bureau/]+{color} {color:#000080}{+}petals-view.properties{+}{color}

!worddav6dffe405132465bdeb425c3911a1f314.png|height=241,width=588!