Skip to content

Commit 577ebb3

Browse files
authored
Merge branch 'master' into ib/simplify-gh-event-processor
2 parents 6ba2f9c + 0e3c0a8 commit 577ebb3

File tree

6 files changed

+51
-7
lines changed

6 files changed

+51
-7
lines changed

NOTES.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,31 @@
55
Prefer explicit binding using `com.google.inject.Module` over `@Named` annotations.
66
Use `@Named` for top-level modules and server plugins.
77

8-
Some classes require explicit bindings using `Multibinder.newSetBinder`:
9-
- com.walmartlabs.concord.server.sdk.ScheduledTask
8+
Some classes require explicit binding using `Multibinder.newSetBinder`:
9+
- ApiDescriptor
10+
- AuditLogListener
11+
- AuthenticationHandler
12+
- BackgroundTask
13+
- Component
14+
- ContextHandlerConfigurator
15+
- CustomEnqueueProcessor
16+
- ExceptionMapper
17+
- Filter
18+
- FilterChainConfigurator
19+
- FilterHolder
20+
- GaugeProvider
21+
- HttpServlet
22+
- ModeProcessor
23+
- PolicyApplier
24+
- ProcessEventListener
25+
- ProcessLogListener
26+
- ProcessStatusListener
27+
- ProcessWaitHandler
28+
- Realm
29+
- RepositoryRefreshListener
30+
- RequestErrorHandler
31+
- ScheduledTask
32+
- SecretStore
33+
- ServletContextListener
34+
- ServletHolder
35+
- UserInfoProvider

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ See the [examples](examples) directory.
103103

104104
## How To Release New Versions
105105

106-
- perform the regular Maven release:
106+
- perform a regular Maven release:
107107
```
108108
$ ./mvnw release:prepare release:perform
109109
```
110-
- push the tags:
110+
- push the new tag:
111111
```
112-
$ git push --tags
112+
$ git push origin RELEASE_TAG
113113
```
114-
- sync to Central;
114+
- sync to [Central](https://central.sonatype.com/);
115115
- build and push the Docker images:
116116
```
117117
$ git checkout RELEASE_TAG

docker-images/base/oss/debian/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ ENV LANG en_US.UTF-8
3232
RUN virtualenv /usr/local/bin/concord_venv && \
3333
/usr/local/bin/concord_venv/bin/pip3 --no-cache-dir install dumb-init
3434

35-
RUN groupadd -g 456 concord && useradd --no-log-init -u 456 -g concord -m -s /sbin/nologin concord
35+
RUN groupadd -g 456 concord && \
36+
useradd --no-log-init -u 456 -g concord -m -s /sbin/nologin concord && \
37+
echo "[safe]\n\tdirectory = *\n" > ~concord/.gitconfig && \
38+
chown concord:concord ~concord/.gitconfig
3639

3740
# Point /bin/sh to bash from dash
3841
RUN echo "dash dash/sh boolean false" | debconf-set-selections && \

plugins/tasks/smtp/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
<dependency>
3737
<groupId>com.sun.mail</groupId>
3838
<artifactId>javax.mail</artifactId>
39+
<exclusions>
40+
<exclusion>
41+
<groupId>javax.activation</groupId>
42+
<artifactId>activation</artifactId>
43+
</exclusion>
44+
</exclusions>
3945
</dependency>
4046
<dependency>
4147
<groupId>com.sun.activation</groupId>

runtime/v2/runner/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,12 @@
200200
<dependency>
201201
<groupId>javax.xml.bind</groupId>
202202
<artifactId>jaxb-api</artifactId>
203+
<exclusions>
204+
<exclusion>
205+
<groupId>javax.activation</groupId>
206+
<artifactId>javax.activation-api</artifactId>
207+
</exclusion>
208+
</exclusions>
203209
</dependency>
204210
<dependency>
205211
<groupId>com.sun.xml.bind</groupId>

sdk/src/main/java/com/walmartlabs/concord/sdk/Constants.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ public static class Request {
206206
* Container configuration.
207207
* @deprecated the container-per-process execution mode is deprecated.
208208
*/
209+
@Deprecated
209210
public static final String CONTAINER = "container";
210211

211212
/**
@@ -242,6 +243,7 @@ public static class Request {
242243
* Resume event name. Filled in for processes resumed after being suspended.
243244
* @deprecated see {@link #RESUME_EVENTS_KEY}
244245
*/
246+
@Deprecated
245247
public static final String EVENT_NAME_KEY = "resumeEventName";
246248

247249
/**
@@ -461,6 +463,7 @@ public static class Files {
461463
* File which contains process session token.
462464
* @deprecated use {@code ProcessConfiguration#sessionToken()}
463465
*/
466+
@Deprecated
464467
public static final String SESSION_TOKEN_FILE_NAME = ".session_token";
465468

466469
/**

0 commit comments

Comments
 (0)