The shared repository for the Squale administrators

  1. Activate the feature

    By default the shared repository feature is not activated. To activate it you have to load a new squale-config.xml file. In this file you should modify the tag <admin-params> by adding the tag <shared-repository-export> :

    You could find this example (as comment code) in the squale-config.xml file given with Squale 6.0 :
    
    <admin-params>
            ...
            <shared-repository-export>
                    <squalix-server>
                            <name>squaleSrv</name>
                    </squalix-server>
                    <mapping>
                            <java>
                                    <module>
                                            <loc>JavancssTask.ncss</loc>
                                            <number-of-classes>JavancssTask.numberOfClasses</number-of-classes>
                                    </module>
                                    <class>
                                            <loc>JavancssTask.ncss</loc>
                                            <number-of-methods>JavancssTask.methods</number-of-methods>
                                    </class>
                                    <method>
                                            <loc>JavancssTask.ncss</loc>
                                            <vg>JavancssTask.ccn</vg>
                                    </method>
                            </java>
                    </mapping>
            </shared-repository-export>
    </admin-params>
    
    • <squalix-server> <name> should be filled with the name of the Squalix server which would do the exports. This name should match the name of this server record in the Serveur table of the database.
    • For the <mapping>, if you use the default Squalix tools, the example configuration should be ok.

    Tips : How to know if the shared repository is activated ?

    When the shared repository is activated a new sub menu appears in the administration menu (only visible for the admins).

    The new Sub menu
  2. Use the feature
    1. Import the reference file
      1. Retrieve the last version of the reference xml file here <-- Link not available for the moment.
      2. Go through the horizontal menu to : Administration / Shared respository / Import .
      3. Import the reference file into squale.
      4. Repeat the import of the file each time a new reference file is made available.
      Import page
    2. Do the segmentation
      1. Go through the horizontal menu to : Administration / Shared respository / Segmentation .
      2. Do the segmentation for each application you want to export. You can put segments on application and on module. Set a segment on an application means set this segment on each module of the application.
      3. We invite you to take a look at your segmentation each time you import a new reference file. Indeed the reference file contains the list of the available segments.
      Module segmentation
    3. Schedule an export
      1. Go through the horizontal menu to : Administration / Shared respository / Segmentation .
      2. Select the application to export. You will see on this page only the applications with at least one successful audit.
      3. Click on Schedule export.
      4. The next time squalix run on the specified squalix server ( see information on the tag <squalix-server> above), the export will be executed. The export task will export, with anonymisation, some results from the last successful audit.
      5. We encourage to schedule export regularly.
    4. Retrieve the export file
      1. Go through the horizontal menu to : Administration / Shared respository / Segmentation .
      2. Click on Downloads.
      3. Send this file to Qualixo in order they enter your data in the shared repository.

        Don't forget, the interest of this feature increase with the volume of data enter into the shared repository.