Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
retrocompatibility fix for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
rcharre committed Oct 4, 2019
1 parent 8f9b12a commit 618c8b6
Show file tree
Hide file tree
Showing 21 changed files with 79 additions and 79 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Features :
- Fix scenario download
- Fix audit crash when using CSS id and class with special characters
- Fix ColorExtractor script
- [Scenario audit] Use command "echo <page>" to manually fire new audit
- [Scenario audit] Use command "store <page>" to manually fire new audit
- [Scenario audit] Prevent automatic firing audit event during scenario execution by checking parameter in scenario audit parameters
- Add RMI API, exporting all data services of Tanaguru
- [Site audit] process generated HTML
Expand Down
4 changes: 2 additions & 2 deletions docs/userdoc-scenario-audit-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ about its accessibility.

If sent as is in Tanaguru, the result of the scenario won't show the "third page"
(precisely the detail of the path shown by the Javascript button *View Details*).
We have to add a `echo` command at the end of the scenario.
We have to add a `store` command at the end of the scenario.

* Click under the last command recorded.
* Type *echo* in then command field
* Type *store* in the command field
* Type the name you want Tanaguru use for this page ine field value : select_journey

![](Images/screenshot_20150309_TANAGURU_SCENARIO_step_M_EXTENDED_storeCurrentUrl.png)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
INSERT INTO PARAMETER_ELEMENT ( Cd_Parameter_Element, Id_Parameter_Family, Short_Label, Long_Label) VALUES
('WAIT_TIME_NG_APP', (SELECT Id_Parameter_Family FROM PARAMETER_FAMILY WHERE Cd_Parameter_Family LIKE 'GENERAL'), 'Time to wait untel the page loads (AngularJS App)', 'Time to wait untel the page loads (AngularJS App)');

INSERT IGNORE INTO PARAMETER (Id_Parameter_Element, Parameter_Value, Is_Default) VALUES
INSERT INTO PARAMETER (Id_Parameter_Element, Parameter_Value, Is_Default) VALUES
((SELECT Id_Parameter_Element FROM PARAMETER_ELEMENT WHERE Cd_Parameter_Element LIKE 'WAIT_TIME_NG_APP'), '500', TRUE);
</sql>
</changeSet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM EVIDENCE WHERE Cd_Evidence='aria-hidden'</sqlCheck>
</preConditions>
<sql>
INSERT INTO EVIDENCE (Cd_Evidence) VALUE ('aria-hidden');
INSERT INTO EVIDENCE (Cd_Evidence) VALUES ('aria-hidden');
</sql>
</changeSet>

Expand All @@ -23,7 +23,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM TGSI_ROLE WHERE Role_Name='ROLE_SUPER_ADMIN'</sqlCheck>
</preConditions>
<sql>
INSERT IGNORE INTO TGSI_ROLE (Role_Name, ROLE_Id_Role) VALUES
INSERT INTO TGSI_ROLE (Role_Name, ROLE_Id_Role) VALUES
(4, 'ROLE_SUPER_ADMIN', 2);
</sql>
</changeSet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM EVIDENCE WHERE Cd_Evidence='type'</sqlCheck>
</preConditions>
<sql>
INSERT INTO EVIDENCE (Cd_Evidence) VALUE ('type');
INSERT INTO EVIDENCE (Cd_Evidence) VALUES ('type');
</sql>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM NOMENCLATURE WHERE Cd_Nomenclature='RelativeCssUnits'</sqlCheck>
</preConditions>
<sql>
INSERT IGNORE INTO NOMENCLATURE (Cd_Nomenclature, Description, Long_Label, Short_Label, Id_Nomenclature_Parent) VALUES
INSERT INTO NOMENCLATURE (Cd_Nomenclature, Description, Long_Label, Short_Label, Id_Nomenclature_Parent) VALUES
('RelativeCssUnits', NULL, NULL, NULL, NULL);
</sql>
</changeSet>
Expand All @@ -52,7 +52,7 @@
<sqlCheck expectedResult="0">SELECT count(*) FROM NOMENCLATURE_ELEMENT WHERE Label='%'</sqlCheck>
</preConditions>
<sql>
INSERT IGNORE INTO NOMENCLATURE_ELEMENT (DTYPE, Label, shortValue, Id_Nomenclature) VALUES
INSERT INTO NOMENCLATURE_ELEMENT (DTYPE, Label, shortValue, Id_Nomenclature) VALUES
('NomenclatureCssUnitImpl', '%', 30, (SELECT Id_Nomenclature FROM NOMENCLATURE WHERE Cd_Nomenclature='RelativeCssUnits')),
('NomenclatureCssUnitImpl', 'em', 31, (SELECT Id_Nomenclature FROM NOMENCLATURE WHERE Cd_Nomenclature='RelativeCssUnits')),
('NomenclatureCssUnitImpl', 'rem', 32, (SELECT Id_Nomenclature FROM NOMENCLATURE WHERE Cd_Nomenclature='RelativeCssUnits')),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
<column name="Id_Parameter_Element" type="BIGINT">
<constraints nullable="false"/>
</column>
<column defaultValueBoolean="false" name="Is_Default" type="BIT(1)"/>
<column defaultValueBoolean="false" name="Is_Default" type="BOOLEAN"/>
</createTable>
</changeSet>

Expand Down Expand Up @@ -512,7 +512,7 @@
<column name="Description" type="VARCHAR(255)"/>
<column name="Label" type="VARCHAR(255)"/>
<column name="Rank" type="INT"/>
<column defaultValueComputed="1.0" name="Weight" type="DECIMAL(2, 1) UNSIGNED"/>
<column defaultValueComputed="1.0" name="Weight" type="DECIMAL(2, 1)"/>
<column name="Rule_Archive_Name" type="VARCHAR(255)"/>
<column name="Rule_Class_Name" type="VARCHAR(255)"/>
<column name="Rule_Design_Url" type="VARCHAR(255)"/>
Expand All @@ -521,7 +521,7 @@
<column name="Id_Level" type="BIGINT"/>
<column name="Id_Rule" type="BIGINT"/>
<column name="Id_Scope" type="BIGINT"/>
<column defaultValueBoolean="true" name="No_Process" type="BIT(1)"/>
<column defaultValueBoolean="true" name="No_Process" type="BOOLEAN"/>
</createTable>
</changeSet>

Expand Down Expand Up @@ -632,10 +632,10 @@
<column name="Nb_Suspected" type="INT"/>
<column name="Nb_Detected" type="INT"/>
<column name="Nb_Not_Tested" type="INT"/>
<column name="Weighted_Passed" type="DECIMAL(10, 1) UNSIGNED"/>
<column name="Weighted_Failed" type="DECIMAL(10, 1) UNSIGNED"/>
<column name="Weighted_Nmi" type="DECIMAL(10, 1) UNSIGNED"/>
<column name="Weighted_Na" type="DECIMAL(10, 1) UNSIGNED"/>
<column name="Weighted_Passed" type="DECIMAL(10, 1)"/>
<column name="Weighted_Failed" type="DECIMAL(10, 1)"/>
<column name="Weighted_Nmi" type="DECIMAL(10, 1)"/>
<column name="Weighted_Na" type="DECIMAL(10, 1)"/>
<column name="Nb_Failed_Occurrences" type="INT"/>
<column name="Nb_Invalid_Test" type="INT"/>
<column name="Id_Audit" type="BIGINT"/>
Expand Down Expand Up @@ -1043,7 +1043,7 @@
<indexExists tableName="AUDIT_PARAMETER" columnNames="Id_Audit" />
</not>
</preConditions>
<createIndex indexName="fk_AUDIT_PARAMETER_AUDIT" tableName="AUDIT_PARAMETER">
<createIndex indexName="index_AUDIT_PARAMETER_AUDIT" tableName="AUDIT_PARAMETER">
<column name="Id_Audit"/>
</createIndex>
</changeSet>
Expand All @@ -1054,7 +1054,7 @@
<indexExists tableName="AUDIT_PARAMETER" columnNames="Id_Parameter" />
</not>
</preConditions>
<createIndex indexName="fk_AUDIT_PARAMETER_PARAMETER" tableName="AUDIT_PARAMETER">
<createIndex indexName="index_AUDIT_PARAMETER_PARAMETER" tableName="AUDIT_PARAMETER">
<column name="Id_Parameter"/>
</createIndex>
</changeSet>
Expand All @@ -1065,7 +1065,7 @@
<indexExists tableName="CRITERION_STATISTICS" columnNames="Id_Criterion" />
</not>
</preConditions>
<createIndex indexName="fk_CRITERION_STATISTICS_CRITERION" tableName="CRITERION_STATISTICS">
<createIndex indexName="index_CRITERION_STATISTICS_CRITERION" tableName="CRITERION_STATISTICS">
<column name="Id_Criterion"/>
</createIndex>
</changeSet>
Expand All @@ -1076,7 +1076,7 @@
<indexExists tableName="CRITERION_STATISTICS" columnNames="Id_Web_Resource_Statistics" />
</not>
</preConditions>
<createIndex indexName="fk_CRITERION_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="CRITERION_STATISTICS">
<createIndex indexName="index_CRITERION_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="CRITERION_STATISTICS">
<column name="Id_Web_Resource_Statistics"/>
</createIndex>
</changeSet>
Expand All @@ -1087,7 +1087,7 @@
<indexExists tableName="PARAMETER_ELEMENT" columnNames="Id_Parameter_Family" />
</not>
</preConditions>
<createIndex indexName="fk_PARAMETER_ELEMENT_PARAMETER" tableName="PARAMETER_ELEMENT">
<createIndex indexName="index_PARAMETER_ELEMENT_PARAMETER" tableName="PARAMETER_ELEMENT">
<column name="Id_Parameter_Family"/>
</createIndex>
</changeSet>
Expand All @@ -1098,7 +1098,7 @@
<indexExists tableName="PARAMETER" columnNames="Id_Parameter_Element" />
</not>
</preConditions>
<createIndex indexName="fk_PARAMETER_PARAMETER_ELEMENT" tableName="PARAMETER">
<createIndex indexName="index_PARAMETER_PARAMETER_ELEMENT" tableName="PARAMETER">
<column name="Id_Parameter_Element"/>
</createIndex>
</changeSet>
Expand All @@ -1109,7 +1109,7 @@
<indexExists tableName="PRE_PROCESS_RESULT" columnNames="Id_Audit" />
</not>
</preConditions>
<createIndex indexName="fk_PRE_PROCESS_RESULT_AUDIT" tableName="PRE_PROCESS_RESULT">
<createIndex indexName="index_PRE_PROCESS_RESULT_AUDIT" tableName="PRE_PROCESS_RESULT">
<column name="Id_Audit"/>
</createIndex>
</changeSet>
Expand All @@ -1120,7 +1120,7 @@
<indexExists tableName="PRE_PROCESS_RESULT" columnNames="Id_Web_Resource" />
</not>
</preConditions>
<createIndex indexName="fk_PRE_PROCESS_RESULT_WEB_RESOURCE" tableName="PRE_PROCESS_RESULT">
<createIndex indexName="index_PRE_PROCESS_RESULT_WEB_RESOURCE" tableName="PRE_PROCESS_RESULT">
<column name="Id_Web_Resource"/>
</createIndex>
</changeSet>
Expand All @@ -1131,7 +1131,7 @@
<indexExists tableName="REFERENCE" columnNames="Id_Default_Level" />
</not>
</preConditions>
<createIndex indexName="fk_Ref_Level" tableName="REFERENCE">
<createIndex indexName="index_Ref_Level" tableName="REFERENCE">
<column defaultValueNumeric="2" name="Id_Default_Level"/>
</createIndex>
</changeSet>
Expand All @@ -1142,7 +1142,7 @@
<indexExists tableName="TEST_STATISTICS" columnNames="Id_Test" />
</not>
</preConditions>
<createIndex indexName="fk_THEME_STATISTICS_THEME" tableName="TEST_STATISTICS">
<createIndex indexName="index_THEME_STATISTICS_TEST" tableName="TEST_STATISTICS">
<column name="Id_Test"/>
</createIndex>
</changeSet>
Expand All @@ -1153,7 +1153,7 @@
<indexExists tableName="THEME_STATISTICS" columnNames="Id_Theme" />
</not>
</preConditions>
<createIndex indexName="fk_THEME_STATISTICS_THEME" tableName="THEME_STATISTICS">
<createIndex indexName="index_THEME_STATISTICS_THEME" tableName="THEME_STATISTICS">
<column name="Id_Theme"/>
</createIndex>
</changeSet>
Expand All @@ -1164,7 +1164,7 @@
<indexExists tableName="TEST_STATISTICS" columnNames="Id_Web_Resource_Statistics" />
</not>
</preConditions>
<createIndex indexName="fk_THEME_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="TEST_STATISTICS">
<createIndex indexName="index_TEST_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="TEST_STATISTICS">
<column name="Id_Web_Resource_Statistics"/>
</createIndex>
</changeSet>
Expand All @@ -1175,7 +1175,7 @@
<indexExists tableName="THEME_STATISTICS" columnNames="Id_Web_Resource_Statistics" />
</not>
</preConditions>
<createIndex indexName="fk_THEME_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="THEME_STATISTICS">
<createIndex indexName="index_THEME_STATISTICS_WEB_RESOURCE_STATISTICS" tableName="THEME_STATISTICS">
<column name="Id_Web_Resource_Statistics"/>
</createIndex>
</changeSet>
Expand All @@ -1186,7 +1186,7 @@
<indexExists tableName="WEB_RESOURCE_STATISTICS" columnNames="Id_Audit" />
</not>
</preConditions>
<createIndex indexName="fk_WEB_RESOURCE_STATISTICS_AUDIT" tableName="WEB_RESOURCE_STATISTICS">
<createIndex indexName="index_WEB_RESOURCE_STATISTICS_AUDIT" tableName="WEB_RESOURCE_STATISTICS">
<column name="Id_Audit"/>
</createIndex>
</changeSet>
Expand All @@ -1197,7 +1197,7 @@
<indexExists tableName="WEB_RESOURCE_STATISTICS" columnNames="Id_Web_Resource" />
</not>
</preConditions>
<createIndex indexName="fk_WEB_RESOURCE_STATISTICS_WEB_RESOURCE" tableName="WEB_RESOURCE_STATISTICS">
<createIndex indexName="index_WEB_RESOURCE_STATISTICS_WEB_RESOURCE" tableName="WEB_RESOURCE_STATISTICS">
<column name="Id_Web_Resource"/>
</createIndex>
</changeSet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<constraints nullable="false"/>
</column>
<column name="Renewal_Date" type="datetime"/>
<column name="Price" type="FLOAT(12) UNSIGNED"/>
<column name="Price" type="FLOAT(12)"/>
<column name="USER_Id_User" type="BIGINT">
<constraints nullable="false"/>
</column>
Expand Down Expand Up @@ -155,7 +155,7 @@
</column>
<column name="Label" type="VARCHAR(255)"/>
<column name="Description" type="VARCHAR(2048)"/>
<column defaultValueBoolean="true" name="Is_Restriction" type="BIT(1)"/>
<column defaultValueBoolean="true" name="Is_Restriction" type="BOOLEAN"/>
<column name="OPTION_FAMILY_Id_Option_Family" type="BIGINT">
<constraints nullable="false"/>
</column>
Expand Down Expand Up @@ -302,7 +302,7 @@
<column name="ROLE_Id_Role" type="BIGINT">
<constraints nullable="false"/>
</column>
<column defaultValueBoolean="true" name="Activated" type="BIT(1)"/>
<column defaultValueBoolean="true" name="Activated" type="BOOLEAN"/>
</createTable>
</changeSet>
<changeSet author="rcharre (generated)" id="1569920892527-42">
Expand All @@ -327,7 +327,7 @@
<indexExists tableName="TGSI_ACT_AUDIT" columnNames="ACT_Id_Act, AUDIT_Id_Audit"/>
</not>
</preConditions>
<addUniqueConstraint columnNames="ACT_Id_Act, AUDIT_Id_Audit" constraintName="INDEX_UNIQUE_PAIR"
<addUniqueConstraint columnNames="ACT_Id_Act, AUDIT_Id_Audit" constraintName="INDEX_UNIQUE_PAIR_TGSI_ACT_AUDIT"
tableName="TGSI_ACT_AUDIT"/>
</changeSet>

Expand All @@ -338,7 +338,7 @@
</not>
</preConditions>
<addUniqueConstraint columnNames="FUNCTIONALITY_Id_Functionality, CONTRACT_Id_Contract"
constraintName="INDEX_UNIQUE_PAIR" tableName="TGSI_CONTRACT_FUNCTIONALITY"/>
constraintName="INDEX_UNIQUE_PAIR_TGSI_CONTRACT_FUNCTIONALITY" tableName="TGSI_CONTRACT_FUNCTIONALITY"/>
</changeSet>

<changeSet author="rcharre (generated)" id="1569920892527-49">
Expand All @@ -348,7 +348,7 @@
</not>
</preConditions>
<addUniqueConstraint columnNames="OPTION_ELEMENT_Id_Option_Element, CONTRACT_Id_Contract"
constraintName="INDEX_UNIQUE_PAIR" tableName="TGSI_CONTRACT_OPTION_ELEMENT"/>
constraintName="INDEX_UNIQUE_PAIR_TGSI_CONTRACT_OPTION_ELEMENT" tableName="TGSI_CONTRACT_OPTION_ELEMENT"/>
</changeSet>

<changeSet author="rcharre (generated)" id="1569920892527-50">
Expand All @@ -358,7 +358,7 @@
</not>
</preConditions>
<addUniqueConstraint columnNames="REFERENTIAL_Id_Referential, CONTRACT_Id_Contract"
constraintName="INDEX_UNIQUE_PAIR" tableName="TGSI_CONTRACT_REFERENTIAL"/>
constraintName="INDEX_UNIQUE_PAIR_TGSI_CONTRACT_REFERENTIAL" tableName="TGSI_CONTRACT_REFERENTIAL"/>
</changeSet>

<changeSet author="rcharre (generated)" id="1569920892527-51">
Expand All @@ -367,7 +367,7 @@
<indexExists tableName="TGSI_OPTION_ELEMENT" columnNames="OPTION_Id_Option, Value"/>
</not>
</preConditions>
<addUniqueConstraint columnNames="OPTION_Id_Option, Value" constraintName="INDEX_UNIQUE_PAIR"
<addUniqueConstraint columnNames="OPTION_Id_Option, Value" constraintName="INDEX_UNIQUE_PAIR_TGSI_OPTION_ELEMENT"
tableName="TGSI_OPTION_ELEMENT"/>
</changeSet>

Expand All @@ -378,7 +378,7 @@
</not>
</preConditions>
<addUniqueConstraint columnNames="OPTION_ELEMENT_Id_Option_Element, USER_Id_User"
constraintName="INDEX_UNIQUE_PAIR" tableName="TGSI_USER_OPTION_ELEMENT"/>
constraintName="INDEX_UNIQUE_PAIR_TGSI_USER_OPTION_ELEMENT" tableName="TGSI_USER_OPTION_ELEMENT"/>
</changeSet>


Expand Down
Loading

0 comments on commit 618c8b6

Please sign in to comment.