Configuration of Squale
For this part you will need a set of configuration files. You can :
- Use our set of configuration files. You can found it in the directory 04-config-files in the distrib archive.
- Create your own set of configuration files. We advise you to use our files as a base for create yours.
The first configuration of Squale should be done in this order :
- Insert the messages
- Go through the horizontal menu to : Administration / Messages.
- Select the xml file of messages to insert into Squale.
- Then click on Confirm.
Now the new messages are insert.
- Grid quality
- Insert a new grid quality
- Go through the horizontal menu to : Administration / Quality grids.
- Click on create on the left menu. Then select the quality grid you want to add.
- Click on Confirm.
- Warning A new message appear but the quality grid is not download for the moment. For that, you should click again on Confirm.
Note When you download a quality grid into Squale, you absolutely need to insert the associate squalix-config.
Now the new quality grid is download.
- Suppress a grid quality
The grid you want to suppress shouldn't be used by an audit.
- Go through the horizontal menu to : Administration / Quality grids.
- Check among the list of grids those you want to suppress.
- Click on Purge.
Now the grid(s) is(are) suppressed from Squale.
- Insert a new squale-config file
For load a squale-config file, the related grids should be load before.
- Squale configuration information
Some Squale configuration informations are defined in the squale-config file
- The mail configuration
You will find all the mail configuration parameter in the tag : <mail>
<admin-params>
<mail>
<admin-mailing-list></admin-mailing-list><!--mandatory-->
<smtp-server></smtp-server>
<sender-address></sender-address>
<smtp-authent-needed></smtp-authent-needed><!-- true or false -->
<smtp-username></smtp-username>
<smtp-password></smtp-password>
</mail>
</admin-params>
There is 6 parameters :
- <admin-mailing-list> : It's the mail address for contact the Squale administrators. It's the mail address which will be used when you click on Contact on the bottom left menu. This tag is mandatory
- <smtp-server> : It's the SMTP server address.
- <sender-address> : Mail address used as sender when Squale send a mail.
- <smtp-authent-needed> : Does the SMTP server need an authentication address ? If yes then put "true", else put "false". Note : By default Squale consider that the SMTP server doesn't need an authentication.
- <smtp-username> : username for smtp authentication.
- <smtp-password> : password for smtp authentication.
Note : If a tag is present, it can't be null (database constraint).
- Insert a squale-config file
For insert a squale-config file :
- Go through the the horizontal menu to : Administration / Tools configuration / Squalix batch.
- Select the squale_config xml file you want to insert and click on Confirm.
Now the new squalix-config file is insert into Squale.
- Insert a PMD file
- Insert a PMD file
For insert a PMD file :
- Go through the the horizontal menu to : Administration / Tools configuration / PMD.
- Select the pmd xml file you want to insert.
- Click on Confirm.
Now the PMD file is insert into Squale.
- Suppress a PMD file
The PMD file you want to suppress shouldn't be used by an audit.
- Go through the the horizontal menu to : Administration / Tools configuration / PMD.
- Check among the list of PMD files those you want to suppress.
- Click on Delete.
Now the PMD file(s) is(are) suppressed from Squale.
- Checkstyle file
- Insert a checkstyle file
For insert a checkstyle file :
- Go through the horizontal menu to : Administration / Tools configuration / checkstyle.
- Select the checkstyle xml file you want to insert.
- Click on Confirm.
Now the checkstyle file is insert into Squale.
- Suppress a checkstyle file
The checkstyle file you want suppressed shouldn't be used by an audit.
- Go through the horizontal menu to : Administration / Tools configuration / checkstyle.
- Check among the list of checkstyle files those you want to suppress.
- Click on Delete.
Now the checkstyle file(s) is(are) suppressed from Squale.