forked from yahoo/CMAK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:yahoo/kafka-manager into reassign…
…-partitions-with-replication-factor
- Loading branch information
Showing
106 changed files
with
3,763 additions
and
1,901 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
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package controllers | ||
|
||
import play.api.i18n.{I18nSupport, MessagesApi} | ||
import play.api.i18n.I18nSupport | ||
import play.api.mvc._ | ||
|
||
class ApiHealth(val messagesApi: MessagesApi) extends Controller with I18nSupport { | ||
import scala.concurrent.ExecutionContext | ||
|
||
def ping = Action { | ||
class ApiHealth(val cc: ControllerComponents)(implicit ec:ExecutionContext) extends AbstractController(cc) with I18nSupport { | ||
|
||
def ping = Action { implicit request:RequestHeader => | ||
Ok("healthy").withHeaders("X-Frame-Options" -> "SAMEORIGIN") | ||
} | ||
|
||
} |
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.