-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Essi endepunkt var feil EY-4277 #6461
Conversation
@@ -59,7 +56,7 @@ fun Route.behandlingSakRoutes( | |||
} | |||
} | |||
|
|||
route("/${SAKID_CALL_PARAMETER}") { | |||
route("/{$SAKID_CALL_PARAMETER}") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obs obs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oi, bra catch. Ser det snek seg med i denne: 9db8521
Her ser vi nok et eksempel på hvorfor 404 er problematisk å bruke for både "url finnes ikke" og "sak finnes ikke"... 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ja, det er vanskelig å vite hva som er hva da.
Kanskje endre bruken av GenerellIkkeFunnetException
som brukes en del steder?
apps/etterlatte-api/src/test/kotlin/no/nav/etterlatte/samordning/sak/BehandlingSakRoutesTest.kt
Outdated
Show resolved
Hide resolved
) | ||
} | ||
response.status shouldBe HttpStatusCode.OK | ||
println(response.bodyAsText()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fjerne println
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
se EY-4277
se https://logs.adeo.no/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-7d%2Fd,to:now))&_a=(columns:!(level,message,envclass,application,pod),dataSource:(dataViewId:'96e648c0-980a-11e9-830a-e17bbd64b4db',type:dataView),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'96e648c0-980a-11e9-830a-e17bbd64b4db',key:x_correlation_id,negate:!f,params:(query:'7c4e40a8-59da-43e6-b997-c97c4955eaf9'),type:phrase),query:(match_phrase:(x_correlation_id:'7c4e40a8-59da-43e6-b997-c97c4955eaf9')))),hideChart:!f,interval:auto,query:(language:lucene,query:'namespace:etterlatte%20AND%20envclass:p%20AND%20application:%22etterlatte-api%22'),sort:!(!('@timestamp',desc)))