-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace use of jetty-server with com.sun.net.httpserver included in j…
…dk (#581) Replace use of jetty-server with com.sun.net.httpserver included in jdk --------- Co-authored-by: Kumars <[email protected]> Co-authored-by: Sunjeet Singh <[email protected]>
- Loading branch information
1 parent
1c868c5
commit 268d63b
Showing
42 changed files
with
1,749 additions
and
486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,250 @@ | ||
{ | ||
"checkstyle": { | ||
"com.puppycrawl.tools:checkstyle": { | ||
"locked": "8.45.1" | ||
} | ||
}, | ||
"compileClasspath": { | ||
"com.google.code.gson:gson": { | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"locked": "4.0.1" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
}, | ||
"runtimeClasspath": { | ||
"com.google.code.gson:gson": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-test", | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"commons-io:commons-io": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.6" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "4.0.1" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
}, | ||
"testCompileClasspath": { | ||
"com.google.code.gson:gson": { | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"locked": "4.0.1" | ||
}, | ||
"junit:junit": { | ||
"locked": "4.11" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
}, | ||
"testRuntimeClasspath": { | ||
"com.google.code.gson:gson": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-test", | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"commons-io:commons-io": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.6" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "4.0.1" | ||
}, | ||
"junit:junit": { | ||
"locked": "4.11" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
}, | ||
"toolsCompileClasspath": { | ||
"com.google.code.gson:gson": { | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"locked": "4.0.1" | ||
}, | ||
"junit:junit": { | ||
"locked": "4.11" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
}, | ||
"toolsRuntimeClasspath": { | ||
"com.google.code.gson:gson": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.8.0" | ||
}, | ||
"com.netflix.hollow:hollow": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-test", | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-test": { | ||
"project": true | ||
}, | ||
"com.netflix.hollow:hollow-ui-tools": { | ||
"project": true | ||
}, | ||
"commons-codec:commons-codec": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.11" | ||
}, | ||
"commons-io:commons-io": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "2.6" | ||
}, | ||
"javax.servlet:javax.servlet-api": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "4.0.1" | ||
}, | ||
"junit:junit": { | ||
"locked": "4.11" | ||
}, | ||
"org.apache.velocity:velocity": { | ||
"firstLevelTransitive": [ | ||
"com.netflix.hollow:hollow-ui-tools" | ||
], | ||
"locked": "1.7" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
hollow-diff-ui/src/main/java/com/netflix/hollow/diff/ui/DiffUIWebServer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.netflix.hollow.diff.ui; | ||
|
||
import com.netflix.hollow.tools.diff.HollowDiff; | ||
import com.netflix.hollow.ui.HollowUIWebServer; | ||
import com.netflix.hollow.ui.HttpHandlerWithServletSupport; | ||
|
||
class DiffUIWebServer extends HollowUIWebServer implements DiffUIServer { | ||
private final HollowDiffUIRouter router; | ||
|
||
public DiffUIWebServer(HollowDiffUIRouter router, int port) { | ||
super(new HttpHandlerWithServletSupport(router), port); | ||
this.router = router; | ||
} | ||
|
||
public HollowDiffUI addDiff(String diffPath, HollowDiff diff, String fromBlobName, String toBlobName) { | ||
return this.router.addDiff(diffPath, diff, fromBlobName, toBlobName); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.