diff --git a/app/controllers/DocumentationController.scala b/app/controllers/DocumentationController.scala index 7aca459..c9e56c2 100644 --- a/app/controllers/DocumentationController.scala +++ b/app/controllers/DocumentationController.scala @@ -32,8 +32,4 @@ class DocumentationController @Inject() (errorHandler: HttpErrorHandler, appCont val versions = APIAccessVersions(appContext.access) Ok(txt.definition(versions.versions.getOrElse(List()))).withHeaders("Content-Type" -> "application/json") } - - def ramlDocs(version: String, filename: String): Action[AnyContent] = { - assets.at(s"/public/api/conf/$version", filename) - } } diff --git a/conf/application.conf b/conf/application.conf index 6e875dd..ad24b91 100644 --- a/conf/application.conf +++ b/conf/application.conf @@ -117,11 +117,6 @@ logger.application = DEBUG # Metrics plugin settings - graphite reporting is configured on a per env basis metrics { - name = ${appName} - rateUnit = SECONDS - durationUnit = SECONDS - showSamples = true - jvm = true enabled = true } @@ -159,7 +154,6 @@ api.access { auditing { enabled = false - traceRequests = false consumer { baseUri { @@ -170,15 +164,6 @@ auditing { } microservice { - metrics { - graphite { - host = graphite - port = 2003 - prefix = play.${appName}. - enabled = false - } - } - services { auth { diff --git a/conf/definition.routes b/conf/definition.routes index 3bb7a8d..d072e7f 100644 --- a/conf/definition.routes +++ b/conf/definition.routes @@ -1,2 +1 @@ GET /api/definition @controllers.DocumentationController.definition() -GET /api/conf/:version/*filename @controllers.DocumentationController.ramlDocs(version, filename)