Skip to content

Commit 8921d90

Browse files
authored
Merge pull request #5 from SentriusLLC/externalagents
enable external agents
2 parents e77da2c + ae2c899 commit 8921d90

File tree

60 files changed

+1368
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1368
-64
lines changed

.env

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
SENTRIUS_VERSION=1.0.70
2-
SENTRIUS_SSH_VERSION=1.0.29
3-
SENTRIUS_KEYCLOAK_VERSION=1.0.43
1+
SENTRIUS_VERSION=1.0.74
2+
SENTRIUS_SSH_VERSION=1.0.32
3+
SENTRIUS_KEYCLOAK_VERSION=1.0.46
4+
SENTRIUS_AGENT_VERSION=1.0.25

ai-agents/target/maven-archiver/pom.properties

Lines changed: 0 additions & 4 deletions
This file was deleted.

ai-agents/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

Lines changed: 0 additions & 2 deletions
This file was deleted.

ai-agents/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

Lines changed: 0 additions & 2 deletions
This file was deleted.

ai-agents/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst

Lines changed: 0 additions & 1 deletion
This file was deleted.

ai-agents/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 54 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<version>1.0.0-SNAPSHOT</version>
88
</parent>
99

10-
<groupId>io.dataguardians.sentrius.ai</groupId>
11-
<artifactId>ai-agents</artifactId>
10+
<groupId>analysis</groupId>
11+
<artifactId>analyagents</artifactId>
1212
<version>1.0-SNAPSHOT</version>
1313

14-
<name>ai-agents</name>
14+
<name>analyagents</name>
1515
<url>http://www.sentrius.io</url>
1616

1717
<properties>
@@ -55,46 +55,82 @@
5555
</dependencies>
5656

5757
<build>
58-
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
58+
<pluginManagement>
5959
<plugins>
60-
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
6160
<plugin>
62-
<artifactId>maven-clean-plugin</artifactId>
63-
<version>3.4.0</version>
61+
<groupId>com.github.eirslett</groupId>
62+
<artifactId>frontend-maven-plugin</artifactId>
63+
<version>1.13.4</version>
64+
<executions>
65+
<execution>
66+
<id>install node and npm</id>
67+
<goals>
68+
<goal>install-node-and-npm</goal>
69+
</goals>
70+
<phase>generate-resources</phase>
71+
</execution>
72+
<execution>
73+
<id>npm install</id>
74+
<goals>
75+
<goal>npm</goal>
76+
</goals>
77+
<phase>generate-resources</phase>
78+
<configuration>
79+
<arguments>clean-install</arguments>
80+
</configuration>
81+
</execution>
82+
<execution>
83+
<id>grunt build</id>
84+
<goals>
85+
<goal>grunt</goal>
86+
</goals>
87+
<phase>generate-resources</phase>
88+
</execution>
89+
</executions>
90+
<configuration>
91+
<nodeVersion>v16.13.1</nodeVersion>
92+
</configuration>
6493
</plugin>
65-
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
6694
<plugin>
67-
<artifactId>maven-resources-plugin</artifactId>
68-
<version>3.3.1</version>
95+
<groupId>org.springframework.boot</groupId>
96+
<artifactId>spring-boot-maven-plugin</artifactId>
97+
<!-- execution needed if using spring boot as BOM and not as parent -->
98+
<executions>
99+
<execution>
100+
<id>repackage</id>
101+
<goals>
102+
<goal>repackage</goal>
103+
</goals>
104+
</execution>
105+
</executions>
69106
</plugin>
70107
<plugin>
71108
<artifactId>maven-compiler-plugin</artifactId>
72-
<version>3.13.0</version>
109+
</plugin>
110+
111+
<plugin>
112+
<artifactId>maven-clean-plugin</artifactId>
113+
</plugin>
114+
<plugin>
115+
<artifactId>maven-resources-plugin</artifactId>
73116
</plugin>
74117
<plugin>
75118
<artifactId>maven-surefire-plugin</artifactId>
76-
<version>3.3.0</version>
77119
</plugin>
78120
<plugin>
79121
<artifactId>maven-jar-plugin</artifactId>
80-
<version>3.4.2</version>
81122
</plugin>
82123
<plugin>
83124
<artifactId>maven-install-plugin</artifactId>
84-
<version>3.1.2</version>
85125
</plugin>
86126
<plugin>
87127
<artifactId>maven-deploy-plugin</artifactId>
88-
<version>3.1.2</version>
89128
</plugin>
90-
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
91129
<plugin>
92130
<artifactId>maven-site-plugin</artifactId>
93-
<version>3.12.1</version>
94131
</plugin>
95132
<plugin>
96133
<artifactId>maven-project-info-reports-plugin</artifactId>
97-
<version>3.6.1</version>
98134
</plugin>
99135
</plugins>
100136
</pluginManagement>

ai-agents/src/main/java/io/dataguardians/sentrius/ai/Agent.java renamed to analyagents/src/main/java/io/dataguardians/sentrius/analysis/Agent.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
package io.dataguardians.sentrius.ai;
1+
package io.dataguardians.sentrius.analysis;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55
import org.springframework.boot.autoconfigure.domain.EntityScan;
6+
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
67

78

8-
@SpringBootApplication(scanBasePackages = {"io.dataguardians.sentrius.ai"})
9+
@SpringBootApplication(scanBasePackages = {"io.dataguardians.sentrius", "io.dataguardians.sso"})
910
//@ComponentScan(basePackages = {"io.dataguardians.sso"})
11+
@EnableJpaRepositories(basePackages = {"io.dataguardians.sso.core.data", "io.dataguardians.sso.core.repository"})
1012
@EntityScan(basePackages = {"io.dataguardians.sso.core.model", "io.dataguardians.sentrius.ai.model"}) // Replace with
1113
// your
1214
// actual entity package

0 commit comments

Comments
 (0)