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

[dependabot] Dependencies upgrades #336

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
95435b3
Bump com.fasterxml.jackson.core:jackson-databind in /src
dependabot[bot] Feb 12, 2024
c49141c
Bump org.codehaus.jettison:jettison from 1.4.0 to 1.5.4 in /src
dependabot[bot] Feb 12, 2024
0ded14e
Bump org.mortbay.jetty:jetty from 6.1.14 to 6.1.23 in /src/web/app
dependabot[bot] Feb 12, 2024
aacf430
Bump org.springframework:spring-context from 5.3.18 to 5.3.19 in /src
dependabot[bot] Feb 12, 2024
6b93644
- update maven repositories
afabiani Feb 12, 2024
4cba3d2
Merge pull request #13 from afabiani/dependabot/maven/src/com.fasterx…
afabiani Feb 12, 2024
bae22cd
Merge branch 'master' of https://github.com/afabiani/geostore into de…
afabiani Feb 12, 2024
12d98e2
Merge pull request #14 from afabiani/dependabot/maven/src/org.codehau…
afabiani Feb 12, 2024
709bd4b
Merge pull request #16 from afabiani/dependabot/maven/src/org.springf…
afabiani Feb 12, 2024
445d26e
Bump org.postgresql:postgresql from 42.2.23 to 42.3.8 in /src
dependabot[bot] Feb 12, 2024
e5b3625
Merge pull request #12 from afabiani/dependabot/maven/src/web/app/org…
afabiani Feb 12, 2024
dbe1dc8
Bump org.springframework:spring-beans from 5.3.18 to 5.3.20 in /src
dependabot[bot] Feb 12, 2024
15d3e71
Bump org.springframework.security:spring-security-core in /src
dependabot[bot] Feb 12, 2024
a8fe23f
Merge pull request #15 from afabiani/dependabot/maven/src/org.springf…
afabiani Feb 12, 2024
ead05ca
Merge pull request #17 from afabiani/dependabot/maven/src/org.postgre…
afabiani Feb 12, 2024
3859654
Bump commons-beanutils:commons-beanutils from 1.7.0 to 1.9.4 in /src
dependabot[bot] Feb 12, 2024
da2960d
Bump commons-io:commons-io from 2.1 to 2.7 in /src
dependabot[bot] Feb 12, 2024
6ea3dc7
Bump junit:junit from 4.12 to 4.13.1 in /src
dependabot[bot] Feb 12, 2024
5896263
Merge pull request #23 from afabiani/dependabot/maven/src/junit-junit…
afabiani Feb 12, 2024
9cff4d3
Bump org.springframework.security.oauth:spring-security-oauth2
dependabot[bot] Feb 12, 2024
640a4ff
Merge pull request #22 from afabiani/dependabot/maven/src/commons-io-…
afabiani Feb 12, 2024
7c02973
Merge pull request #21 from afabiani/dependabot/maven/src/commons-bea…
afabiani Feb 12, 2024
f84db66
Merge pull request #20 from afabiani/dependabot/maven/src/org.springf…
afabiani Feb 12, 2024
646ed15
Bump com.h2database:h2 from 1.3.175 to 2.2.220 in /src/core/persistence
dependabot[bot] Feb 12, 2024
f9778bd
Bump com.h2database:h2 from 1.3.175 to 2.2.220 in /src/cli
dependabot[bot] Feb 12, 2024
5a5daa1
Bump org.jasypt:jasypt from 1.8 to 1.9.2 in /src
dependabot[bot] Feb 12, 2024
f3973b8
Merge pull request #24 from afabiani/dependabot/maven/src/modules/res…
afabiani Feb 12, 2024
3441700
Merge pull request #25 from afabiani/dependabot/maven/src/core/persis…
afabiani Feb 12, 2024
d3d984d
Merge pull request #26 from afabiani/dependabot/maven/src/cli/com.h2d…
afabiani Feb 12, 2024
927a3a9
- update maven repositories
afabiani Feb 12, 2024
97ba95b
Merge pull request #19 from afabiani/dependabot/maven/src/org.jasypt-…
afabiani Feb 12, 2024
0bf60d3
Bump org.postgresql:postgresql from 42.3.8 to 42.6.1 in /src
dependabot[bot] Feb 21, 2024
f6aadee
Merge pull request #27 from afabiani/dependabot/maven/src/org.postgre…
afabiani Feb 21, 2024
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
7 changes: 4 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>it.geosolutions</groupId>
Expand Down Expand Up @@ -63,8 +64,8 @@
<scm>
<url>https://github.com/geosolutions-it/geostore</url>
<connection>scm:git:[email protected]:geosolutions-it/geostore.git</connection>
<tag>HEAD</tag>
</scm>
<tag>HEAD</tag>
</scm>

<ciManagement>
<system>jenkins</system>
Expand Down
2 changes: 1 addition & 1 deletion src/cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.175</version>
<version>2.2.220</version>
</dependency>

<!-- Apache Commons -->
Expand Down
2 changes: 1 addition & 1 deletion src/core/persistence/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.175</version>
<version>2.2.220</version>
</dependency>

<!-- HIBERNATE -->
Expand Down
2 changes: 1 addition & 1 deletion src/core/security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
</dependency>
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<artifactId>jasypt-acegisecurity</artifactId>
</dependency>
<dependency>
<groupId>org.acegisecurity</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

import org.apache.commons.codec.binary.Base64;
import org.jasypt.digest.StandardByteDigester;
import org.jasypt.spring.security.PasswordEncoder;
import org.jasypt.acegisecurity.PasswordEncoder;
import org.jasypt.util.password.StrongPasswordEncryptor;
import static it.geosolutions.geostore.core.security.password.SecurityUtils.toBytes;

/**
* This Encoder provide encription and check of password using a digest
* This Encoder provide encryption and check of password using a digest
* @author Lorenzo Natali (lorenzo.natali at geo-solutions.it)
*
*/
Expand Down
2 changes: 1 addition & 1 deletion src/modules/rest/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
<version>2.0.16.RELEASE</version>
<version>2.0.17.RELEASE</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@
import it.geosolutions.geostore.core.model.enums.DataType;
import it.geosolutions.geostore.core.model.enums.Role;
import it.geosolutions.geostore.services.ServiceTestBase;
import it.geosolutions.geostore.services.exception.BadRequestServiceEx;
import it.geosolutions.geostore.services.exception.NotFoundServiceEx;
import it.geosolutions.geostore.services.rest.impl.RESTResourceServiceImpl;
import it.geosolutions.geostore.services.rest.model.RESTAttribute;
import it.geosolutions.geostore.services.rest.utils.MockSecurityContext;
import org.junit.Before;
import org.junit.Test;
import org.junit.Assert;

import javax.ws.rs.core.SecurityContext;
import java.util.ArrayList;
Expand All @@ -43,15 +40,14 @@
public class RESTResourceServiceImplTest extends ServiceTestBase {

RESTResourceServiceImpl restService;
long adminID;

@Before
public void setUp() throws BadRequestServiceEx, NotFoundServiceEx {
@Override
public void setUp() throws Exception {
super.setUp();
restService = new RESTResourceServiceImpl();
restService.setResourceService(resourceService);
}

@Test
public void testUpdateResource_editorUpdate() throws Exception {
// insert fake user for security context
long u0ID = createUser("u0", Role.USER, "p0");
Expand Down Expand Up @@ -97,12 +93,12 @@ public void testUpdateResource_editorUpdate() throws Exception {

// verify the attribute has been changed
Attribute a = sr.getAttribute().get(0);
assertEquals(a.getName(), NAME);
assertEquals(a.getValue(), VALUE);
assertEquals(a.getType(), DataType.STRING);
Assert.assertEquals(a.getName(), NAME);
Assert.assertEquals(a.getValue(), VALUE);
Assert.assertEquals(a.getType(), DataType.STRING);

assertEquals(sr.getCreator(), "u0");
assertEquals(sr.getEditor(), "u0");
Assert.assertEquals(sr.getCreator(), "u0");
Assert.assertEquals(sr.getEditor(), "u0");

// Update rule as "user1"
// insert fake user for security context
Expand All @@ -127,11 +123,11 @@ public void testUpdateResource_editorUpdate() throws Exception {

// verify the attribute has been changed
a = sr.getAttribute().get(0);
assertEquals(a.getName(), NAME);
assertEquals(a.getValue(), VALUE);
assertEquals(a.getType(), DataType.STRING);
Assert.assertEquals(a.getName(), NAME);
Assert.assertEquals(a.getValue(), VALUE);
Assert.assertEquals(a.getType(), DataType.STRING);

assertEquals(sr.getCreator(), "u0");
assertEquals(sr.getEditor(), "u1");
Assert.assertEquals(sr.getCreator(), "u0");
Assert.assertEquals(sr.getEditor(), "u1");
}
}
Loading
Loading