-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AOSS-1418 BL Setting the structure for wiring dependent services in t…
…he microservice
- Loading branch information
Ben Letton
committed
Jul 7, 2016
1 parent
1bfa888
commit dc55c61
Showing
5 changed files
with
95 additions
and
8 deletions.
There are no files selected for viewing
24 changes: 20 additions & 4 deletions
24
app/uk/gov/hmrc/agentclientauthorisation/controllers/MicroserviceHelloWorld.scala
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,15 +1,31 @@ | ||
/* | ||
* Copyright 2016 HM Revenue & Customs | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package uk.gov.hmrc.agentclientauthorisation.controllers | ||
|
||
import uk.gov.hmrc.play.microservice.controller.BaseController | ||
import uk.gov.hmrc.play.http.logging.MdcLoggingExecutionContext._ | ||
import play.api.mvc._ | ||
import uk.gov.hmrc.play.microservice.controller.BaseController | ||
|
||
import scala.concurrent.Future | ||
|
||
object MicroserviceHelloWorld extends MicroserviceHelloWorld | ||
|
||
trait MicroserviceHelloWorld extends BaseController { | ||
class MicroserviceHelloWorld extends BaseController { | ||
|
||
def hello() = Action.async { implicit request => | ||
Future.successful(Ok("Hello world")) | ||
} | ||
} | ||
} |
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
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