Skip to content

Commit 449d1c8

Browse files
authored
Merge branch 'master' into EncryptPswDatasource
2 parents 20283a6 + 9ec0a68 commit 449d1c8

File tree

34 files changed

+384
-445
lines changed

34 files changed

+384
-445
lines changed

.github/workflows/Build.yml

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -178,33 +178,17 @@ jobs:
178178
MAVEN_USERNAME: ${{ secrets.MAVEN_OSSRH_USERNAME }}
179179
MAVEN_PASSWORD: ${{ secrets.MAVEN_OSSRH_TOKEN }}
180180
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_BUILDER_PASSPHRASE }}
181-
182-
dispatch-build:
183-
name: Dispatch build result
184-
needs: build
185-
if: github.repository_owner == 'GeneXusLabs' && needs.build.outputs.SHOULD_DEPLOY == 'true'
186-
187-
runs-on: ubuntu-latest
188-
181+
182+
update-genexus-dependency:
189183
concurrency:
190184
group: build-${{ github.ref }}
191185
cancel-in-progress: true
192-
193-
steps:
194-
- name: Checkout action
195-
uses: actions/checkout@v2
196-
with:
197-
repository: genexuslabs/dispatch-build-result
198-
ref: releases/v2
199-
token: ${{ secrets.SECURE_TOKEN }}
200-
path: ./tmp/.github/actions/dispatch-build-result
201-
202-
- name: Dispatch build result
203-
uses: ./tmp/.github/actions/dispatch-build-result
204-
with:
205-
component-name: ${{ github.event.inputs.repository }}
206-
branch-ref: ${{ env.GIT_REF }}
207-
new-version: ${{ needs.build.outputs.MAVEN_VERSION }}
208-
committer: ${{ needs.build.outputs.LAST_COMMITTER }}
209-
commit-message: ${{ needs.build.outputs.COMMIT_MESSAGE }}
210-
token: ${{ secrets.SECURE_TOKEN }}
186+
uses: genexuslabs/build-genexus-reusable-workflow/.github/workflows/update-genexus-dep-version.yml@main
187+
needs: build
188+
if: github.repository_owner == 'genexuslabs' && needs.build.outputs.SHOULD_DEPLOY == 'true'
189+
with:
190+
VERSION: ${{ needs.build.outputs.MAVEN_VERSION }}
191+
PACKAGE_NAMES: ${{ needs.build.outputs.PACKAGES_NAME }}
192+
COMMIT_MESSAGE: ${{ needs.build.outputs.COMMIT_MESSAGE }}
193+
COMMITTER: ${{ needs.build.outputs.LAST_COMMITTER }}
194+
secrets: inherit
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Call Beta Bot
2+
3+
on:
4+
# Triggers the workflow on push to beta branch or changes in a pull request to main branch
5+
push:
6+
branches: [ "beta" ]
7+
pull_request:
8+
types: [ opened, synchronize, reopened, ready_for_review, closed, labeled, unlabeled ]
9+
branches: [ "master" ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
call-workflow:
16+
if: github.repository_owner == 'genexuslabs'
17+
uses: genexuslabs/build-genexus-reusable-workflow/.github/workflows/run-beta-bot.yml@main
18+
secrets: inherit

android/src/main/java/com/genexus/util/GxJsonReader.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import java.io.InputStreamReader;
66
import java.io.UnsupportedEncodingException;
77

8-
import org.apache.commons.lang.CharEncoding;
8+
import java.nio.charset.StandardCharsets;
99

1010
import com.genexus.internet.StringCollection;
1111
import com.google.gson.stream.JsonReader;
@@ -14,11 +14,7 @@ public class GxJsonReader {
1414
private JsonReader reader;
1515

1616
public GxJsonReader(InputStream stream) {
17-
try {
18-
reader = new JsonReader(new InputStreamReader(stream, CharEncoding.UTF_8));
19-
} catch (UnsupportedEncodingException e) {
20-
//TODO
21-
}
17+
reader = new JsonReader(new InputStreamReader(stream, StandardCharsets.UTF_8));
2218
}
2319

2420
public boolean readBeginArray() {

common/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
<artifactId>commons-codec</artifactId>
3131
<version>1.15</version>
3232
</dependency>
33-
<dependency>
34-
<groupId>commons-lang</groupId>
35-
<artifactId>commons-lang</artifactId>
36-
<version>2.6</version>
37-
</dependency>
33+
<dependency>
34+
<groupId>org.apache.commons</groupId>
35+
<artifactId>commons-lang3</artifactId>
36+
<version>3.17.0</version>
37+
</dependency>
3838
<dependency>
3939
<groupId>commons-io</groupId>
4040
<artifactId>commons-io</artifactId>

common/src/main/java/com/genexus/BaseProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import com.genexus.diagnostics.core.ILogger;
1313
import com.genexus.diagnostics.core.LogManager;
1414
import com.genexus.xml.XMLReader;
15-
import org.apache.commons.lang.StringUtils;
15+
import org.apache.commons.lang3.StringUtils;
1616

1717
import com.genexus.GXSmartCacheProvider.DataUpdateStatus;
1818
import com.genexus.common.classes.AbstractGXFile;

common/src/main/java/com/genexus/CommonUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import java.text.*;
1313
import java.util.*;
1414

15-
import org.apache.commons.lang.StringUtils;
15+
import org.apache.commons.lang3.StringUtils;
1616

1717
import java.lang.reflect.*;
1818
import java.security.*;

common/src/main/java/com/genexus/util/ExpressionEvaluator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import java.util.*;
55

6-
import org.apache.commons.lang.StringUtils;
6+
import org.apache.commons.lang3.StringUtils;
77

88
import com.genexus.ModelContext;
99
import com.genexus.common.interfaces.SpecificImplementation;

common/src/main/java/com/genexus/xml/XMLWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.genexus.CommonUtil;
99
import java.util.*;
1010

11-
import org.apache.commons.lang.StringUtils;
11+
import org.apache.commons.lang3.StringUtils;
1212

1313
import java.math.BigDecimal;
1414

gxawsserverless/src/main/java/com/genexus/cloud/serverless/GXProcedureExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import com.genexus.cloud.serverless.model.EventMessageResponse;
99
import com.genexus.cloud.serverless.model.EventMessages;
1010
import com.genexus.db.DynamicExecute;
11-
import org.apache.commons.lang.NotImplementedException;
11+
import org.apache.commons.lang3.NotImplementedException;
1212

1313
import java.lang.reflect.Array;
1414
import java.lang.reflect.InvocationTargetException;

gxcache-redis/src/main/java/com/genexus/cache/redis/RedisClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import java.util.List;
99

1010
import com.fasterxml.jackson.annotation.JsonAutoDetect;
11-
import org.apache.commons.lang.StringUtils;
11+
import org.apache.commons.lang3.StringUtils;
1212

1313
import com.fasterxml.jackson.annotation.PropertyAccessor;
1414
import com.fasterxml.jackson.databind.DeserializationFeature;

0 commit comments

Comments
 (0)