Skip to content

Commit

Permalink
Merge pull request #94 from hmrc/GG-7233
Browse files Browse the repository at this point in the history
GG-7233 remove raml code
  • Loading branch information
ShaneTN authored Aug 10, 2023
2 parents 2c37a8f + 20cb069 commit 7e27676
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
4 changes: 0 additions & 4 deletions app/controllers/DocumentationController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
15 changes: 0 additions & 15 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -159,7 +154,6 @@ api.access {

auditing {
enabled = false
traceRequests = false

consumer {
baseUri {
Expand All @@ -170,15 +164,6 @@ auditing {
}

microservice {
metrics {
graphite {
host = graphite
port = 2003
prefix = play.${appName}.
enabled = false
}
}

services {

auth {
Expand Down
1 change: 0 additions & 1 deletion conf/definition.routes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
GET /api/definition @controllers.DocumentationController.definition()
GET /api/conf/:version/*filename @controllers.DocumentationController.ramlDocs(version, filename)

0 comments on commit 7e27676

Please sign in to comment.