[midPoint-git] [Evolveum/midpoint] 25381f: Escape invalid XML chars in traces/audit
Katarina Valalikova
noreply at github.com
Wed May 13 10:34:15 CEST 2020
Branch: refs/heads/feature/wrapper-cleanup
Home: https://github.com/Evolveum/midpoint
Commit: 25381f46c16e2de21f6a2d4a7e360fea89f41237
https://github.com/Evolveum/midpoint/commit/25381f46c16e2de21f6a2d4a7e360fea89f41237
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-11 (Mon, 11 May 2020)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/SerializationOptions.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalProcessor.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalWriter.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConversionOptions.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SystemConfigurationAuditUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java
M infra/util/src/test/java/com/evolveum/midpoint/util/DOMUtilTest.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensObjectDeltaOperation.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestTracing.java
A model/model-intest/src/test/resources/tracing/resource-illegal.xml
A model/model-intest/src/test/resources/tracing/role-illegal.xml
A model/model-intest/src/test/resources/tracing/system-configuration.xml
A model/model-intest/src/test/resources/tracing/user-joe.xml
M model/model-intest/testng-integration-full.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/MidPointQueryExecutor.java
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SystemConfigurationChangeDispatcherImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RObjectDeltaOperation.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/DummyObjectAsserter.java
M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java
Log Message:
-----------
Escape invalid XML chars in traces/audit
Sometimes an invalid XML character (like 0x06) is to be stored into
XML element content. This occurs especially when dealing with traces
or audit records. This commit fixes this: For traces it always
replaces such chars with a descriptive form. For audit records
this behavior is configurable with the default being turned off.
Resolves MID-6262.
Commit: fccae69c9c81ede6983c7aaac78030da36941af4
https://github.com/Evolveum/midpoint/commit/fccae69c9c81ede6983c7aaac78030da36941af4
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-05-12 (Tue, 12 May 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/WebConfig.java
M model/rest-impl/pom.xml
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointAbstractHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointJsonHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointXmlHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointYamlHttpMessageConverter.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestApiIndex.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestConfig.java
Log Message:
-----------
MVC based REST: refined config, basic implementation of XML/JSON/YAML
Our @Converter (used in executeScript) is not treated yet.
Commit: 7f1c9cba1727b59ca6b408f9da462ca2485c7422
https://github.com/Evolveum/midpoint/commit/7f1c9cba1727b59ca6b408f9da462ca2485c7422
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M infra/schema-pure-jaxb/pom.xml
Log Message:
-----------
schema-pure-jaxb POM: added exclude api-types-3.xsd for Win+JDK8
Commit: 4a9f43994c29a8363c7594d78f152ac18de203fe
https://github.com/Evolveum/midpoint/commit/4a9f43994c29a8363c7594d78f152ac18de203fe
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AssignExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/UnassignExecutor.java
Log Message:
-----------
{Unassign,Assign}Executor.java: added outer class name for JDK8
Funny enough with JDK 11 we can extend nested class from superclass's
nested class without using superclass name. In JDK 8 it fails.
Commit: b043f087295f24bbeea6e0386fdf1e9239a1c573
https://github.com/Evolveum/midpoint/commit/b043f087295f24bbeea6e0386fdf1e9239a1c573
Author: Katarina Valalikova <k.valalikova at evolveum.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/WebConfig.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/SerializationOptions.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalProcessor.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/lex/dom/DomLexicalWriter.java
M infra/schema-pure-jaxb/pom.xml
M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConversionOptions.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SystemConfigurationAuditUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M infra/util/src/main/java/com/evolveum/midpoint/util/DOMUtil.java
M infra/util/src/test/java/com/evolveum/midpoint/util/DOMUtilTest.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ChangeExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensObjectDeltaOperation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/AssignExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/UnassignExecutor.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestTracing.java
A model/model-intest/src/test/resources/tracing/resource-illegal.xml
A model/model-intest/src/test/resources/tracing/role-illegal.xml
A model/model-intest/src/test/resources/tracing/system-configuration.xml
A model/model-intest/src/test/resources/tracing/user-joe.xml
M model/model-intest/testng-integration-full.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/MidPointQueryExecutor.java
M model/rest-impl/pom.xml
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointAbstractHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointJsonHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointXmlHttpMessageConverter.java
A model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointYamlHttpMessageConverter.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestApiIndex.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestConfig.java
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SystemConfigurationChangeDispatcherImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RObjectDeltaOperation.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/DummyObjectAsserter.java
M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tracing/TracerImpl.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master' into feature/wrapper-cleanup
Compare: https://github.com/Evolveum/midpoint/compare/a0cee55d5c42...b043f087295f
More information about the midPoint-svn
mailing list