int-api - Build # 2711 - Failure:
Check console output at https://ci.openbravo.com/job/int-api/2711/ to view the
results.
Committers since last success:
Changes for Build #2711
Inigo Sanchez <[email protected]> null
Fixed issue 35622: EntityAccessChecker Perfomance Improvements project
This project aims to group a set of tasks and improvements that will applied to
the
EntityAccessChecker with the objective of improving the performance of this
process.
Asier Lostalé <[email protected]> null
[improvements-eac] removed some clutter
src/org/openbravo/dal/security/EntityAccessChecker.java
Asier Lostalé <[email protected]> null
[improvements-eac] javadoc
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] codereview: improve legibility creating constants.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] codereview: added javadoc
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] codereview: it's redundant to check for contains
Being processes a Set it's redundant to check for contains before adding
elements.
Besides a comment is removed.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] codereview: return a Set instead of a List.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] codereview: use a generic variable in all queries.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] targetTablesIds should be filtered properly
The info cached in targetTablesIds should be filtered by table of the column
instead of the table of the selector. Before these last fixes, the info in
targetTablesIds is not filtered properly by mistake. Now it has been fixed.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] fixed a typo
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] Merge with pi.
Inigo Sanchez <[email protected]> null
[improvements-eac] Create a generic method.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] Avoid unnecessary creation of objects using hql.
src/org/openbravo/dal/security/EntityAccessChecker.java
Inigo Sanchez <[email protected]> null
[improvements-eac] Calculate static permissions in a static block.
The static queries (Not dependent on the current role) can be executed one time
per
instance of EntityAccessChecker class. In order to achieve this, the queries
have
been moved to a static block of code.
Before this changeset, the queries in the database filtered the information
based on
certain parameters. Now this filter should be applied in the java part instead
of in
the database.
src/org/openbravo/dal/security/EntityAccessChecker.java
Last 20 lines of the console output:
[...truncated 560 lines...]
org.openbravo.erpCommon.businessUtility:
Missing
enum org.openbravo.erpCommon.businessUtility.Preferences.QueryFilter: missing
in /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
method
org.openbravo.erpCommon.businessUtility.Preferences.getPreferenceValue(java.lang.String,
boolean, java.lang.String, java.lang.String, java.lang.String,
java.lang.String, java.lang.String,
java.util.Map<org.openbravo.erpCommon.businessUtility.Preferences.QueryFilter,
java.lang.Boolean>): missing in
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson3538044632928805902.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds