Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
2d3e19cf
Commit
2d3e19cf
authored
Jun 25, 2020
by
jfarcand
Committed by
Andy Wilkinson
Jun 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Atmosphere versions used in smoke test
See gh-221144
parent
c3ddfcdb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
build.gradle
...moke-tests/spring-boot-smoke-test-atmosphere/build.gradle
+2
-2
application.js
...phere/src/main/resources/static/javascript/application.js
+4
-5
No files found.
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/build.gradle
View file @
2d3e19cf
...
...
@@ -7,9 +7,9 @@ description = "Spring Boot Atmosphere smoke test"
dependencies
{
implementation
(
project
(
":spring-boot-project:spring-boot-starters:spring-boot-starter-web"
))
implementation
(
"org.atmosphere:atmosphere-runtime:2.
4.14
"
)
implementation
(
"org.atmosphere:atmosphere-runtime:2.
6.1
"
)
runtimeOnly
(
"org.webjars:atmosphere-javascript:
2.3
.4"
)
runtimeOnly
(
"org.webjars:atmosphere-javascript:
3.0
.4"
)
testImplementation
(
enforcedPlatform
(
project
(
":spring-boot-project:spring-boot-dependencies"
)))
testImplementation
(
project
(
":spring-boot-project:spring-boot-starters:spring-boot-starter-test"
))
...
...
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-atmosphere/src/main/resources/static/javascript/application.js
View file @
2d3e19cf
...
...
@@ -44,8 +44,7 @@ $(function() {
+
request
.
reconnectInterval
}));
subSocket
.
push
(
atmosphere
.
util
.
stringifyJSON
({
.
push
(
JSON
.
stringify
({
author
:
author
,
message
:
'is inactive and closed the connection. Will reconnect in '
+
request
.
reconnectInterval
...
...
@@ -81,7 +80,7 @@ $(function() {
var
message
=
response
.
responseBody
;
try
{
var
json
=
atmosphere
.
util
.
parseJSON
(
message
);
var
json
=
JSON
.
parse
(
message
);
}
catch
(
e
)
{
console
.
log
(
'This doesn
\'
t look like a valid JSON: '
,
message
);
return
;
...
...
@@ -105,7 +104,7 @@ $(function() {
text
:
'Server closed the connection after a timeout'
}));
if
(
subSocket
)
{
subSocket
.
push
(
atmosphere
.
util
.
stringifyJSON
({
subSocket
.
push
(
JSON
.
stringify
({
author
:
author
,
message
:
'disconnecting'
}));
...
...
@@ -140,7 +139,7 @@ $(function() {
author
=
msg
;
}
subSocket
.
push
(
atmosphere
.
util
.
stringifyJSON
({
subSocket
.
push
(
JSON
.
stringify
({
author
:
author
,
message
:
msg
}));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment