Skip to content

Commit

Permalink
Merge branch 'master' into feature/task-part-restructuring
Browse files Browse the repository at this point in the history
# Conflicts:
#	gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
#	infra/prism-api/src/main/java/com/evolveum/midpoint/prism/PrismContainerValue.java
#	infra/prism-api/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java
#	infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/PrismContainerValueImpl.java
#	infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/delta/ItemDeltaImpl.java
#	infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/marshaller/PrismUnmarshaller.java
#	infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/schema/SchemaRegistryImpl.java
#	infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
#	infra/util/src/main/java/com/evolveum/midpoint/util/DebugUtil.java
#	infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
#	model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportJasperCreateTaskHandler.java
#	repo/repo-common/pom.xml
  • Loading branch information
mederly committed Jun 23, 2021
2 parents 9d2f44a + a0fc72f commit 5aa6212
Show file tree
Hide file tree
Showing 1,595 changed files with 31,406 additions and 158,699 deletions.
23 changes: 19 additions & 4 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,25 @@ Bitstream Vera is a trademark of Bitstream, Inc.
For details, see http://dejavu-fonts.org
and http://dejavu-fonts.org/wiki/License

This product includes JasperReports Library
Copyright (c) 2001-2016 TIBCO Software Inc.
JasperReports Library is distributed under the terms of
GNU Lesser General Public Licenses (LGPL)
This product includes Panzoom library,
Copyright 2016-2019 Timmy Willison.
Panzoom is distributed under the terms of MIT license.
Please see https://github.com/timmywil/panzoom for details.

This product includes Perfect Scrollbar library,
Copyright (c) 2012-2019 Hyunje Jun, MDBootstrap.com and other contributors.
Perfect Scrollbar is distributed under the terms of MIT license.
Please see https://github.com/mdbootstrap/perfect-scrollbar for details.

This product includes Raphaël library,
Copyright © 2008-2012 Dmitry Baranovskiy, Copyright © 2008-2012 Sencha Labs.
Raphaël is distributed under the terms of MIT license.
Please see http://raphaeljs.com/ for details.

This product includes Treant-js library,
(c) 2013 Fran Peručić.
Treant-js is distributed under the terms of MIT license.
Please see http://fperucic.github.io/treant-js for details.

This product includes AdminLTE template
Copyright (c) 2014-2016 Abdullah Almsaeed
Expand Down
5 changes: 0 additions & 5 deletions config/initial-objects/000-system-configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@
<level>OFF</level>
<package>org.hibernate.internal.ExceptionMapperStandardImpl</package>
</classLogger>
<classLogger>
<!-- disabled because of MID-1612, jasper library needs to be fixed -->
<level>OFF</level>
<package>net.sf.jasperreports.engine.fill.JRFillDataset</package>
</classLogger>
<classLogger>
<!-- disabled because we don't need to see every property file
loading message (unnecessary log pollution) -->
Expand Down
21 changes: 0 additions & 21 deletions config/initial-objects/080-report-audit.xml

This file was deleted.

25 changes: 0 additions & 25 deletions config/initial-objects/090-report-audit-jasper.xml

This file was deleted.

227 changes: 227 additions & 0 deletions config/initial-objects/090-report-audit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,227 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2020 Evolveum and contributors
~
~ This work is dual-licensed under the Apache License 2.0
~ and European Union Public License. See LICENSE file for details.
-->

<report xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
oid="00000000-0000-0000-0000-000000000080">
<name>All audit records report</name>
<description>Report made from all audit records.</description>
<assignment>
<targetRef oid="00000000-0000-0000-0000-000000000171" type="ArchetypeType"/>
</assignment>
<objectCollection>
<collection>
<baseCollectionRef>
<collectionRef oid="00000000-0000-0000-0001-000000000284" type="ObjectCollectionType"/>
</baseCollectionRef>
<filter>
<q:and>
<q:ref>
<q:path>targetRef</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<objectVariableMode>prismReference</objectVariableMode>
<code>
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType;

if (!target) {
return null;
}

ObjectReferenceType ort = new ObjectReferenceType();
ort.setOid(target.getOid());
ort.setRelation(target.getRelation());
ort.setType(target.getTargetType());
return ort;
</code>
</script>
</expression>
</q:ref>
<q:ref>
<q:path>initiatorRef</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<objectVariableMode>prismReference</objectVariableMode>
<code>
import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType;

if (!initiator) {
return null;
}

ObjectReferenceType ort = new ObjectReferenceType();
ort.setOid(initiator.getOid());
ort.setRelation(initiator.getRelation());
ort.setType(initiator.getTargetType());
return ort;
</code>
</script>
</expression>
</q:ref>
<q:equal>
<q:path>outcome</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<code>
if (!outcome) {
return null;
}
return outcome;
</code>
</script>
</expression>
</q:equal>
<q:equal>
<q:path>eventType</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<code>
if (!eventType) {
return null;
}
return eventType;
</code>
</script>
</expression>
</q:equal>
<q:equal>
<q:path>eventStage</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<code>
if (!eventStage) {
return null;
}
return eventStage;
</code>
</script>
</expression>
</q:equal>
<q:greater>
<q:path>timestamp</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<code>
if (!from) {
return null;
}
return from;
</code>
</script>
</expression>
</q:greater>
<q:less>
<q:path>timestamp</q:path>
<expression>
<queryInterpretationOfNoValue>filterAll</queryInterpretationOfNoValue>
<script>
<code>
if (!to) {
return null;
}
return to;
</code>
</script>
</expression>
</q:less>
</q:and>
</filter>
</collection>
<parameter>
<name>outcome</name>
<type>OperationResultStatusType</type>
<display>
<label>
<orig>outcome</orig>
<translation>
<key>AuditEventRecordType.outcome</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>eventType</name>
<type>AuditEventTypeType</type>
<display>
<label>
<orig>eventType</orig>
<translation>
<key>AuditEventRecordType.eventType</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>eventStage</name>
<type>AuditEventStageType</type>
<display>
<label>
<orig>eventStage</orig>
<translation>
<key>AuditEventRecordType.eventStage</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>from</name>
<type>dateTime</type>
<display>
<label>
<orig>from</orig>
<translation>
<key>AuditPopupPanel.dateFrom</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>to</name>
<type>dateTime</type>
<display>
<label>
<orig>to</orig>
<translation>
<key>AuditPopupPanel.dateTo</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>target</name>
<type>c:ObjectReferenceType</type>
<display>
<label>
<orig>targetRef</orig>
<translation>
<key>AuditEventRecordType.targetRef</key>
</translation>
</label>
</display>
</parameter>
<parameter>
<name>initiator</name>
<type>c:ObjectReferenceType</type>
<display>
<label>
<orig>initiatorRef</orig>
<translation>
<key>AuditEventRecordType.initiatorRef</key>
</translation>
</label>
</display>
</parameter>
</objectCollection>
</report>
223 changes: 208 additions & 15 deletions config/initial-objects/100-report-reconciliation.xml

Large diffs are not rendered by default.

262 changes: 249 additions & 13 deletions config/initial-objects/110-report-user-list.xml

Large diffs are not rendered by default.

41 changes: 25 additions & 16 deletions config/initial-objects/130-report-certification-definitions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-->

<report xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"
oid="00000000-0000-0000-0000-000000000130">
<name>Certification definitions report</name>
<description>All certification definitions with basic information on related campaigns.</description>
Expand All @@ -15,15 +16,14 @@
</assignment>
<objectCollection>
<collection>
<collectionRef oid="00000000-0000-0000-0001-000000000255" type="ObjectCollectionType"/>
<filter>
<q:all/>
</filter>
</collection>
<view>
<column>
<name>nameColumn</name>
<path>name</path>
<display>
<label>Name</label>
</display>
</column>
<column>
<name>ownerColumn</name>
Expand All @@ -43,21 +43,12 @@
<expression>
<script>
<code>
import com.evolveum.midpoint.xml.ns._public.common.common_3.AccessCertificationCampaignType

oid = object.getOid();
numberOfCampaigns = 0;
campaigns = midpoint.searchObjects(AccessCertificationCampaignType.class, prismContext.queryFor(AccessCertificationCampaignType.class).build(), null);
for (AccessCertificationCampaignType campaign : campaigns) {
if (oid.equals(campaign.getDefinitionRef().getOid())) {
numberOfCampaigns++
}
}
return numberOfCampaigns;
return campaigns;
</code>
</script>
</expression>
</export>
<displayValue>number</displayValue>
</column>
<column>
<name>openCampaignsColumn</name>
Expand All @@ -74,7 +65,6 @@

oid = object.getOid();
numberOfCampaigns = 0;
campaigns = midpoint.searchObjects(AccessCertificationCampaignType.class, prismContext.queryFor(AccessCertificationCampaignType.class).build(), null);
for (AccessCertificationCampaignType campaign : campaigns) {
if (oid.equals(campaign.getDefinitionRef().getOid())) {
AccessCertificationCampaignStateType state = campaign.getState();
Expand All @@ -89,6 +79,7 @@
</script>
</expression>
</export>
<displayValue>number</displayValue>
</column>
<column>
<name>lastStartedColumn</name>
Expand Down Expand Up @@ -124,8 +115,26 @@
</expression>
</export>
</column>
<paging>
<orderDirection>ascending</orderDirection>
<orderBy>name</orderBy>
</paging>
<type>AccessCertificationDefinitionType</type>
</view>
<subreport>
<name>campaigns</name>
<type>AccessCertificationCampaignType</type>
<expression>
<script>
<code>
import com.evolveum.midpoint.xml.ns._public.common.common_3.AccessCertificationCampaignType

query = prismContext.queryFor(AccessCertificationCampaignType.class).item(AccessCertificationCampaignType.F_DEFINITION_REF).ref(object.getOid()).build();
return midpoint.searchObjects(AccessCertificationCampaignType.class, query, null);
</code>
</script>
</expression>
</subreport>
<useOnlyReportView>true</useOnlyReportView>
</objectCollection>
</report>
189 changes: 175 additions & 14 deletions config/initial-objects/140-report-certification-campaigns.xml

Large diffs are not rendered by default.

206 changes: 192 additions & 14 deletions config/initial-objects/150-report-certification-cases.xml

Large diffs are not rendered by default.

191 changes: 177 additions & 14 deletions config/initial-objects/160-report-certification-decisions.xml

Large diffs are not rendered by default.

0 comments on commit 5aa6212

Please sign in to comment.