Difference between revisions of "QPR Impact Analysis"

From Mea Wiki
Jump to navigation Jump to search
Line 61: Line 61:
 
[[File:Testi 7.PNG]]
 
[[File:Testi 7.PNG]]
  
When using gap analysis, both left and right side models must be included in the report. In addition, note that the gap analysis only compares connections between the first and last node, and it doesn’t take into account any differences in the middle of the path. Also, the gap analysis doesn’t show any differences when properties of elements have been changes (e.g. element name), only connections between elements matter. For comparing changes in element attributes, use the '''''Model comparison''''' function <nowiki>(http://kb.qpr.com/qpr2017-1/model_comparison.htm).</nowiki>
+
When using gap analysis, both left and right side models must be included in the report. In addition, note that the gap analysis only compares connections between the first and last node, and it doesn’t take into account any differences in the middle of the path. Also, the gap analysis doesn’t show any differences when properties of elements have been changes (e.g. element name), only connections between elements matter. For comparing changes in element attributes, use the '''''Model comparison''''' function [[(http://kb.qpr.com/qpr2017-1/model_comparison.htm).]]

Revision as of 06:34, 9 June 2017

Contents

  • 1 Purpose of the reporting feature 3
  • 2 Reporting platform installation 3
  • 3 Configuration of reports 4
  • 4 Running reports and linking to them 8
  • 5 Functioning principle 9

1 Purpose of the Reporting Feature

Impact Analysis is a reporting platform to build reports to visualize relations between entities. These connections come through several relations, which are:

  • relations made with connectors
  • relation type custom attributes
  • system relations (for example activities and organization units, or activities and information elements)

To run the Impact Analysis reports you need first to

  • 1. install the Impact Analysis platform (see chapter 2)
  • 2. design the reports (see chapter 3)

Configuration of the reports are stored in an EA/PD model. There are two strategies to set up the configuration:

  • Global configuration model: There is one configuration model for the whole QPR system. The report gets the available reports from this configuration model.
  • Local configuration model: The configuration is read from the model itself which is currently open. Alternatively the configuration model can be supplied as a parameter to the report.

Variable USE GLOBAL CONFIGURATION MODEL determines the used configuration strategy (see next chapter). Impact Analysis also supports gap analysis. The gap analysis compares two Impact Analysis reports and displays differences between them, i.e. which connections have been deleted and which are new.


2 Reporting platform installation

Here are the installation instructions for a technical expert. Instructions may need to be adjusted depending on the installation environment.

  • 1. Take backup copies of your existing templates and web content.
  • 2. Copy the contents of the Templates folder to the WAS subfolder in your templates folder of your instance, e.g. C:\ProgramData\QPR Software\QPR 2017\2017.1\Servers\Templates\WAS\
  • 3. Copy the contents of the Web server folder to qprsoftware folder under the web content root folder, e.g. *C:\inetpub\wwwroot\qpr2017-1\qprsoftware\
  • 4. Save the file model QPR ODM – Impact Analysis Support.qpream as a QPR server model. (for a global configuration model or as an example for reports configurations)
  • 5. In impactanalysis.tpl configure the variables
 a.	USE_GLOBAL_CONFIGURATION_MODEL (is there one configuration model for the whole system)
 b.	REPORT_CONFIGURATION_MODEL (configuration model ID)
 c.	REPORT_CONFIGURATION_ELEMENTTYPE (report element type)
 d.	OUTPUT_DATE_FORMAT (date format for representing dates in the report)
 e.	NUMBER_FORMAT_LOCALE (locale for formatting numeric values; available locales http://code.google.com/p/jquery-numberformatter)
  • 6. Restart QPR service or clear WAS template cache.

3 Configuration of Reports

Impact Analysis is based on the following concepts (see Figure 1):

  • element set: A set of PD/EA elements (or elements instances). Set implies that the order of element doesn’t matter and an element can only be once in the set.
  • node: An element set configured in the report. It is connected to a previous or next element set through a PD/EA relation.
  • path: A chain of nodes that are in connection through relations. A path always contain a first node and last node. One report may have connections made with several paths.
  • level: The order number of the first path nodes from left to right. For other paths it must be defined which levels the nodes are belonging to.

File:Testi 4.PNG

Figure 1. Impact analysis report concepts visualized.

The report configuration is made in a PD/EA model where elements of type Report represent reports. The Report elements have the following attributes:


File:Testi 5.PNG

File:Testi 6.PNG

File:Testi 7.PNG

When using gap analysis, both left and right side models must be included in the report. In addition, note that the gap analysis only compares connections between the first and last node, and it doesn’t take into account any differences in the middle of the path. Also, the gap analysis doesn’t show any differences when properties of elements have been changes (e.g. element name), only connections between elements matter. For comparing changes in element attributes, use the Model comparison function (http://kb.qpr.com/qpr2017-1/model_comparison.htm).