Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Commit b04e3af

Browse files
authored
ReleasePrep (#15)
* Release preparation - correcting dependencies. * Release preparation - correcting dependencies. * Release preparation - changing image naming. * Release preparation - updating release notes. * Release preparation - dropping duplicate dependency. * Release preparation - updating to recent release of classification service. * Release preparation - updating workerframework version.
1 parent 5554b32 commit b04e3af

File tree

12 files changed

+37
-33
lines changed

12 files changed

+37
-33
lines changed

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<parent>
2525
<groupId>com.github.cafapi</groupId>
2626
<artifactId>caf-common</artifactId>
27-
<version>1.11.0-218</version>
27+
<version>1.12.0-232</version>
2828
<relativePath />
2929
</parent>
3030

@@ -82,11 +82,14 @@
8282
</developers>
8383

8484
<properties>
85-
<caf.boilerplate.service.version>2.2.0-SNAPSHOT</caf.boilerplate.service.version>
86-
<caf.classification.service.version>1.1.0-SNAPSHOT</caf.classification.service.version>
85+
<caf.boilerplate.service.version>2.1.0-48</caf.boilerplate.service.version>
86+
<caf.classification.service.version>1.1.0-16</caf.classification.service.version>
8787
<caf.container.policy.admin.name>cafdataprocessing/policy-admin-elasticsearch:1.0.0</caf.container.policy.admin.name>
8888
<caf.corepolicy.version>1.0.0-4</caf.corepolicy.version>
89-
<caf.worker.policy.version>1.2.0-SNAPSHOT</caf.worker.policy.version>
89+
<caf.worker.policy.version>1.3.0-48</caf.worker.policy.version>
90+
<dockerHubOrganization>cafdataprocessing</dockerHubOrganization>
91+
<dockerDataProcessingOrg>${dockerImagePrefix}${dockerHubOrganization}${dockerOrgSeperator}</dockerDataProcessingOrg>
92+
<dockerProjectVersion>${dockerVersionSeperator}${project.version}</dockerProjectVersion>
9093
</properties>
9194

9295
<dependencyManagement>
@@ -147,7 +150,7 @@
147150
<dependency>
148151
<groupId>com.github.workerframework</groupId>
149152
<artifactId>worker-framework</artifactId>
150-
<version>1.9.0-260</version>
153+
<version>2.0.0-279</version>
151154
<type>pom</type>
152155
<scope>import</scope>
153156
</dependency>

processing-service-container/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<packaging>pom</packaging>
3232

3333
<properties>
34-
<caf.container.processing.service.name>cafinternal/prereleases:processing-service-${project.version}</caf.container.processing.service.name>
34+
<caf.container.processing.service.name>${dockerDataProcessingOrg}processing-service${dockerProjectVersion}</caf.container.processing.service.name>
3535

3636
<internal.hibernate.connectionstring>jdbc:postgresql://corepolicydb-postgres:5432/&lt;dbname&gt;</internal.hibernate.connectionstring>
3737
<hibernate.user>postgres</hibernate.user>

release-notes-1.2.0.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
!not-ready-for-release!
21

32
#### Version Number
43
${version-number}
54

65
#### New Features
7-
* [CAF-3156](https://jira.autonomy.com/browse/CAF-3156): Use latest classification-service libraries which add classificationTarget property to classifications which controls the scope for classification evaluation e.g. root document only, root doc and children that were passed.
6+
- [CAF-3056](https://jira.autonomy.com/browse/CAF-3056): Create a Family Task Submitter
7+
The "Data-Processing-Family-Task-Submitter" has been added which queries Elasticsearch using a family reference for a document that has already been indexed, reconstitutes the document and its attachments to construct a policy message, and sends this to a specified policy worker queue.
8+
9+
- [CAF-3156](https://jira.autonomy.com/browse/CAF-3156): Data Processing Family Classification
10+
Uses the latest classification-service libraries which add the classificationTarget property to classifications, allowing control of the scope of classification evaluation e.g. root document only, or root document and children that were passed.
11+
12+
- [CAF-3198](https://jira.autonomy.com/browse/CAF-3198): Extract Workflow Initialization Logic to a separate project
13+
The data-processing-initialization library has been added which is a utility project with logic to initialize base data for the Processing and Classification workflows and the Boilerplate expressions and tags.
14+
15+
- [CAF-3290](https://jira.autonomy.com/browse/CAF-3290): Add ability to extend or override default workflow
16+
Extended the workflow initialization code with the ability to use an overlay type of file or structure which can then be merged into the base definition. This allows use of the default workflow but with replacements/extensions injected during provisioning, thus simplifying upgrades.
817

918
#### Known Issues

utils/data-processing-databases-container/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<packaging>pom</packaging>
3232

3333
<properties>
34-
<caf.container.databases.name>cafinternal/prereleases:data-processing-databases-${project.version}</caf.container.databases.name>
34+
<caf.container.databases.name>${dockerDataProcessingOrg}data-processing-databases${dockerProjectVersion}</caf.container.databases.name>
3535
<caf.container.javapostgres.name>cafapi/java-postgres:1.11.0-218</caf.container.javapostgres.name>
3636
</properties>
3737

utils/data-processing-family-task-submitter/pom.xml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,9 @@
6464
<type>jar</type>
6565
</dependency>
6666
<dependency>
67-
<groupId>com.hp.autonomy.corepolicy</groupId>
68-
<artifactId>autonomy-corepolicy</artifactId>
69-
<version>3.3.7-SNAPSHOT</version>
70-
<type>jar</type>
71-
</dependency>
72-
<dependency>
73-
<groupId>com.hp.autonomy.corepolicy</groupId>
74-
<artifactId>autonomy-corepolicy-policyworker-shared</artifactId>
75-
<version>1.11.1</version>
67+
<groupId>com.github.cafdataprocessing</groupId>
68+
<artifactId>corepolicy-condition-engine</artifactId>
69+
<version>1.0.0-4</version>
7670
<type>jar</type>
7771
</dependency>
7872
<dependency>
@@ -94,14 +88,12 @@
9488
<artifactId>codec-json</artifactId>
9589
</dependency>
9690
<dependency>
97-
<groupId>com.hpe.caf</groupId>
98-
<artifactId>caf-api</artifactId>
99-
<version>12.0.0-SNAPSHOT</version>
91+
<groupId>com.github.workerframework</groupId>
92+
<artifactId>worker-api</artifactId>
10093
</dependency>
10194
<dependency>
102-
<groupId>com.hpe.caf.util</groupId>
95+
<groupId>com.github.workerframework</groupId>
10396
<artifactId>util-rabbitmq</artifactId>
104-
<version>2.2.0-SNAPSHOT</version>
10597
</dependency>
10698
</dependencies>
10799

utils/data-processing-family-task-submitter/src/main/java/com/github/cafdataprocessing/utilities/familytasksubmitter/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import com.github.cafdataprocessing.utilities.familytasksubmitter.elasticsearch.ElasticQuery;
2222
import com.github.cafdataprocessing.utilities.familytasksubmitter.taskmessage.Message;
2323
import com.google.common.collect.Multimap;
24-
import com.hp.autonomy.policyworker.shared.Document;
24+
import com.github.cafdataprocessing.worker.policy.shared.Document;
2525
import com.hpe.caf.api.CodecException;
2626
import com.hpe.caf.api.ConfigurationException;
2727
import java.io.IOException;

utils/data-processing-family-task-submitter/src/main/java/com/github/cafdataprocessing/utilities/familytasksubmitter/document/DocumentExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
*/
1616
package com.github.cafdataprocessing.utilities.familytasksubmitter.document;
1717

18+
import com.github.cafdataprocessing.corepolicy.multimap.utils.CaseInsensitiveMultimap;
1819
import com.google.common.collect.Multimap;
19-
import com.hp.autonomy.corepolicy.multimap.utils.CaseInsensitiveMultimap;
2020
import java.util.HashMap;
2121
import java.util.List;
2222
import java.util.Map;

utils/data-processing-family-task-submitter/src/main/java/com/github/cafdataprocessing/utilities/familytasksubmitter/document/HierarchyBuilder.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717

1818
import com.github.cafdataprocessing.utilities.familytasksubmitter.FamilyTaskSubmitterConstants;
1919
import com.google.common.collect.Multimap;
20-
import com.hp.autonomy.policyworker.shared.Document;
20+
import com.github.cafdataprocessing.worker.policy.shared.Document;
2121
import java.util.ArrayList;
2222
import java.util.Collection;
2323
import java.util.Map;
24-
import java.util.Set;
2524

2625
/**
2726
*

utils/data-processing-family-task-submitter/src/main/java/com/github/cafdataprocessing/utilities/familytasksubmitter/taskmessage/Message.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
package com.github.cafdataprocessing.utilities.familytasksubmitter.taskmessage;
1717

1818
import com.github.cafdataprocessing.utilities.familytasksubmitter.FamilyTaskSubmitterConstants;
19-
import com.hp.autonomy.policyworker.shared.Document;
20-
import com.hp.autonomy.policyworker.shared.PolicyWorkerConstants;
19+
import com.github.cafdataprocessing.worker.policy.shared.Document;
20+
import com.github.cafdataprocessing.worker.policy.shared.PolicyWorkerConstants;
2121
import com.hpe.caf.api.Codec;
2222
import com.hpe.caf.api.CodecException;
2323
import com.hpe.caf.api.worker.TaskMessage;

utils/data-processing-family-task-submitter/src/main/java/com/github/cafdataprocessing/utilities/familytasksubmitter/taskmessage/PolicyTaskMessagesFactory.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
*/
1616
package com.github.cafdataprocessing.utilities.familytasksubmitter.taskmessage;
1717

18-
import com.hp.autonomy.policyworker.shared.TaskData;
19-
import com.hp.autonomy.policyworker.shared.Document;
18+
import com.github.cafdataprocessing.worker.policy.shared.Document;
19+
import com.github.cafdataprocessing.worker.policy.shared.TaskData;
20+
2021
import java.util.Objects;
2122

2223
/**

0 commit comments

Comments
 (0)