Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/spring boot 2.x accumulo 2.1 #18

Merged
merged 63 commits into from
Oct 12, 2023
Merged
Show file tree
Hide file tree
Changes from 49 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
a39a3d5
Updated dictionary service to work with spring boot 2.4.4
jwomeara Apr 8, 2021
f7f4151
Fixed activation profile syntax in bootstrap.yml
jwomeara May 18, 2021
ac82994
Updated webjars-locator-core version to get it working again.
jwomeara Sep 17, 2021
a22e086
Merge remote-tracking branch 'origin/master' into feature/spring-boot…
jwomeara Jan 27, 2022
68550fd
Updated datawave microservice parent version to 1.9-SNAPSHOT.
jwomeara Jan 27, 2022
0b38338
Api and service changes for hte model bean (not complete - tests and …
cmitchell Apr 19, 2022
d1b4002
Added test data and base controller test (commn setup).
cmitchell Apr 20, 2022
00b866f
Use Spring's @Secured instead of javax.annotations @RolesAllowed, con…
cmitchell Apr 20, 2022
c1f54dd
Merge branch 'master' into feature/queryMicroservices
ivakegg Apr 21, 2022
1e70e1a
Merge branch 'feature/queryMicroservices' of github.com:NationalSecur…
ivakegg Apr 21, 2022
3118a10
Removed javax.annotations.PermitAll since spring does that by default…
cmitchell Apr 21, 2022
a2d7e3b
Replaced built-in java 8 javax.xml.bind annotations with more up-to-d…
cmitchell Apr 22, 2022
313865b
test WIP
cmitchell Apr 22, 2022
3ec6ff1
Merge branch 'feature/queryMicroservices' of github.com:NationalSecur…
ivakegg Apr 25, 2022
6bba870
Revert "Replaced built-in java 8 javax.xml.bind annotations with more…
ivakegg Apr 26, 2022
e9d66c0
Removed unused slf4j bindings, and log4j 1.x.
jwomeara May 4, 2022
d1bcaeb
Removing commented out code and finishing test.
cmitchell May 5, 2022
f51a764
Removing commented out code and finishing test.
cmitchell May 5, 2022
11e504e
Merged.
cmitchell May 5, 2022
f538971
Removing commented out code and finishing test.
cmitchell May 5, 2022
9f7113e
Almost done with testing and removing commented out code.
cmitchell May 5, 2022
7a37def
Updated the dictionary service to use the metadata starter
jwomeara May 5, 2022
f26fdc2
Removed management of metadata-utils since the starter is doing that …
ivakegg May 5, 2022
7011f6f
Need the bus active to be able to use the table cache
ivakegg May 5, 2022
ecd1bdf
Fully tested the ModelController.
cmitchell May 6, 2022
97ad6f8
Final cleanup.
cmitchell May 6, 2022
7053d54
Removed duplicate bean configuration
ivakegg May 9, 2022
cff8081
Disable unused table cache for the dictionary service
ivakegg May 11, 2022
5909a58
Set relative path for full build
jwomeara May 12, 2022
23f325e
Added an activation property for the docker profile
jwomeara May 20, 2022
44f5b15
Avoid transient log4j dependencies via zookeeper
ivakegg Jun 10, 2022
1f9bf05
Added a relative parent pom path for the parent pom.
jwomeara Jun 10, 2022
ff435d8
cleaned up imports
jwomeara Jun 16, 2022
98edf5f
Updated swagger docs
jwomeara Jun 17, 2022
382669e
Updated in-memory-accumulo version
jwomeara Jul 7, 2022
ff1df1c
Updated spring boot to 2.7.1
jwomeara Jul 8, 2022
a155c93
Updated accumulo to 1.10.2
jwomeara Jul 11, 2022
a8ba05d
Updated package-info.java generation
jwomeara Aug 11, 2022
f1cae80
added datawave webservice namespace and fixed jaxb marshalling test
jwomeara Aug 11, 2022
49b4ca6
Removed jakarta
jwomeara Aug 29, 2022
36549e0
Updated to use microservice parent 2.0 and microservice service paren…
jwomeara Oct 17, 2022
a8f5640
Renamed ProxiedUserDetails as DatawaveUserDetails
jwomeara Dec 23, 2022
b1a0c79
Updated accumulo utils and datawave starter versions.
jwomeara Feb 10, 2023
863b5f9
Merge remote-tracking branch 'origin/main' into feature/queryMicroser…
jwomeara Feb 10, 2023
3d6a3b3
Updated dictionary project version to 2.0-SNAPSHOT
jwomeara Mar 7, 2023
a413d1d
Merge remote-tracking branch 'origin/release/accumulo-2.1' into featu…
jwomeara Mar 10, 2023
abd7471
pr feedback - static assertion imports
jwomeara Mar 11, 2023
3d14a4f
Merge branch 'feature/spring-boot-2.x' into feature/spring-boot-2.x-a…
jwomeara Mar 11, 2023
896aa64
Merge remote-tracking branch 'origin/main' into feature/spring-boot-2…
jwomeara Mar 14, 2023
7ca55b5
Moved Direction, FieldMapping, and ModelKeyParser to metadata-utils.
jwomeara Mar 17, 2023
f02f4df
Updated with latest changes from integration
jwomeara Jun 22, 2023
ed1a68e
formatted code with impsort plugin.
jwomeara Jun 27, 2023
bb35cbe
added skipServices profile
jwomeara Jun 28, 2023
1e2776c
Updated accumulo
jwomeara Sep 20, 2023
dc88e29
bumped versions for some modules
jwomeara Oct 5, 2023
4b1a9d5
updated to use semver
jwomeara Oct 12, 2023
e86e13e
bumped dependencies to tagged releases
jwomeara Oct 12, 2023
9309026
[maven-release-plugin] prepare release api-3.0.0
jwomeara Oct 12, 2023
898c15d
[maven-release-plugin] prepare for next development iteration
jwomeara Oct 12, 2023
1138102
bumped dependencies to tagged releases
jwomeara Oct 12, 2023
3e8a3e9
[maven-release-plugin] prepare release service-3.0.0
jwomeara Oct 12, 2023
422f67a
[maven-release-plugin] prepare for next development iteration
jwomeara Oct 12, 2023
86be0dd
bumped parent pom version
jwomeara Oct 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 64 additions & 5 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<parent>
<groupId>gov.nsa.datawave.microservice</groupId>
<artifactId>datawave-microservice-parent</artifactId>
<version>1.9</version>
<relativePath />
<version>2.1-SNAPSHOT</version>
<relativePath>../../../microservice-parent/pom.xml</relativePath>
</parent>
<artifactId>dictionary-api</artifactId>
<version>2.1.2-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
<url>https://code.nsa.gov/datawave-dictionary-service</url>
<scm>
<connection>scm:git:https://github.com/NationalSecurityAgency/datawave-dictionary-service.git</connection>
Expand All @@ -17,7 +17,8 @@
<url>https://github.com/NationalSecurityAgency/datawave-dictionary-service</url>
</scm>
<properties>
<version.base-responses>2.1.0</version.base-responses>
<datawave.webservice.namespace>http://webservice.datawave/v1</datawave.webservice.namespace>
<version.base-responses>3.0-SNAPSHOT</version.base-responses>
<version.guava>31.1-jre</version.guava>
</properties>
<dependencyManagement>
Expand Down Expand Up @@ -53,9 +54,14 @@
<groupId>gov.nsa.datawave.microservice</groupId>
<artifactId>base-rest-responses</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -75,4 +81,57 @@
<url>https://raw.githubusercontent.com/NationalSecurityAgency/datawave/mvn-repo</url>
</repository>
</repositories>
<build>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<excludes>
<exclude>source-templates/**</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-templated-sources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/generated-sources/templated-sources</outputDirectory>
<resources>
<resource>
<directory>src/main/resources/source-templates</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>target/generated-sources/templated-sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import io.protostuff.Message;
import datawave.webservice.HtmlProvider;
import datawave.webservice.query.result.metadata.MetadataFieldBase;
import datawave.webservice.metadata.MetadataFieldBase;
import datawave.webservice.result.BaseResponse;
import datawave.webservice.result.TotalResultsAware;
import io.protostuff.Message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;
import com.google.common.collect.Lists;
import datawave.webservice.HtmlProvider;
import datawave.webservice.metadata.DefaultMetadataField;
import datawave.webservice.result.TotalResultsAware;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;

import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
Expand All @@ -16,16 +17,13 @@
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import com.google.common.collect.Lists;
import datawave.webservice.HtmlProvider;
import datawave.webservice.query.result.metadata.DefaultMetadataField;
import datawave.webservice.result.TotalResultsAware;

import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import java.io.IOException;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.function.Consumer;

@XmlRootElement(name = "DefaultDataDictionary")
@XmlAccessorType(XmlAccessType.NONE)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import datawave.webservice.query.result.event.MapSchema;
import io.protostuff.Input;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;
import com.google.common.collect.Sets;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;

import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;

import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import com.google.common.collect.Sets;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.Set;

@XmlAccessorType(XmlAccessType.NONE)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import com.google.common.collect.Lists;
import com.google.common.collect.Multimap;
import datawave.webservice.HtmlProvider;
import datawave.webservice.result.TotalResultsAware;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import datawave.webservice.HtmlProvider;
import datawave.webservice.result.TotalResultsAware;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import io.protostuff.Message;
import datawave.webservice.query.result.event.HasMarkings;
import datawave.webservice.query.util.StringMapAdapter;
import datawave.webservice.xml.util.StringMapAdapter;
import io.protostuff.Message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import io.protostuff.Message;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package datawave.webservice.results.datadictionary;
package datawave.webservice.dictionary.data;

import com.google.common.collect.Multimap;
import io.protostuff.Message;
import datawave.webservice.result.BaseResponse;
import io.protostuff.Message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package datawave.webservice.results.edgedictionary;
package datawave.webservice.dictionary.edge;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
import datawave.webservice.HtmlProvider;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import datawave.webservice.result.TotalResultsAware;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;

import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
Expand All @@ -15,15 +17,12 @@
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import datawave.webservice.HtmlProvider;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import datawave.webservice.result.TotalResultsAware;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;

@XmlRootElement(name = "EdgeDictionary")
@XmlAccessorType(XmlAccessType.NONE)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package datawave.webservice.results.edgedictionary;
package datawave.webservice.dictionary.edge;

import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import com.google.common.base.Objects;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import org.apache.commons.lang3.StringUtils;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
Expand All @@ -12,15 +16,10 @@
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;

import com.google.common.base.Objects;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.NONE)
@XmlType(propOrder = {"edgeType", "edgeRelationship", "edgeAttribute1Source", "eventFields"})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package datawave.webservice.results.edgedictionary;
package datawave.webservice.dictionary.edge;

import java.util.List;
import datawave.webservice.result.BaseResponse;
import io.protostuff.Message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;

import io.protostuff.Message;
import datawave.webservice.result.BaseResponse;
import java.util.List;

@XmlAccessorType(XmlAccessType.NONE)
@XmlSeeAlso(DefaultEdgeDictionary.class)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
package datawave.webservice.results.edgedictionary;

import java.io.IOException;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
package datawave.webservice.dictionary.edge;

import com.google.common.base.Objects;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import io.protostuff.Input;
import io.protostuff.Message;
import io.protostuff.Output;
import io.protostuff.Schema;
import datawave.webservice.query.result.util.protostuff.FieldAccessor;
import datawave.webservice.query.result.util.protostuff.ProtostuffField;
import org.apache.commons.lang3.StringUtils;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;
import javax.xml.bind.annotation.XmlType;
import java.io.IOException;
import java.io.Serializable;

@XmlAccessorType(XmlAccessType.NONE)
@XmlType(propOrder = {"sourceField", "sinkField", "enrichmentField", "enrichmentIndex", "jexlPrecondition"})
public class EventField implements Serializable, Message<EventField> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package datawave.webservice.results.edgedictionary;
package datawave.webservice.dictionary.edge;

import java.util.List;
import java.util.Map;
import com.google.common.collect.Maps;
import datawave.webservice.query.result.event.HasMarkings;
import io.protostuff.Message;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;

import com.google.common.collect.Maps;
import io.protostuff.Message;
import datawave.webservice.query.result.event.HasMarkings;
import java.util.List;
import java.util.Map;

@XmlAccessorType(XmlAccessType.NONE)
@XmlSeeAlso(DefaultMetadata.class)
Expand Down
Loading