Skip to content

Commit

Permalink
Updated Spring Boot and other dependencies. Set version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed Oct 23, 2023
1 parent 9116180 commit 3ec5a1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
14 changes: 6 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.3</version>
<version>3.1.3</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege-authorization-service</artifactId>
<version>0.1.3</version>
<version>0.2.0</version>
<name>webprotege-authorization-service</name>
<description>A service that checks users are authorized to execute operations in WebProtége</description>
<properties>
Expand Down Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege-ipc</artifactId>
<version>0.10.1</version>
<version>0.10.2</version>
</dependency>

<dependency>
Expand All @@ -54,8 +54,6 @@
<version>0.9.3</version>
</dependency>



<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-mongodb</artifactId>
Expand All @@ -64,7 +62,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>29.0-jre</version>
<version>31.1-jre</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -129,8 +127,8 @@
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
<username>${env.DOCKER_HUB_USER_NAME}</username>
<password>${env.DOCKER_HUB_TOKEN}</password>
<!-- <username>${env.DOCKER_USERNAME}</username>-->
<!-- <password>${env.DOCKER_PASSWORD}</password>-->
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
@Import(WebProtegeIpcApplication.class)
public class WebProtegeAuthorizationServiceApplication implements CommandLineRunner {

@Autowired
AccessManager accessManager;

public static void main(String[] args) {
SpringApplication.run(WebProtegeAuthorizationServiceApplication.class, args);
}
Expand All @@ -27,12 +24,6 @@ public RoleOracleImpl getRoleOracle() {
}

@Override
public void run(String... args) throws Exception {
accessManager.setAssignedRoles(Subject.forAnySignedInUser(),
ApplicationResource.get(),
Arrays.asList(
BuiltInRole.PROJECT_CREATOR.getRoleId(),
BuiltInRole.PROJECT_UPLOADER.getRoleId()
));
public void run(String... args) {
}
}

0 comments on commit 3ec5a1f

Please sign in to comment.