Skip to content
Snippets Groups Projects
Unverified Commit 9cdbc2a5 authored by Lukas Lechner's avatar Lukas Lechner Committed by GitHub
Browse files

Perform backend request to sign Trace Location (EXPOSUREAPP-5721) (#2642)


* Create button to send event to server in Test Menu

* Build TraceLocation protobuf in CreateEventTestViewModel.kt

* Perform backend request to create trace locations

* Store TraceLocation in database after creation

* Add signature check

* Add TraceLocationCreatorTest.kt

* Rename function in TraceLocationServer.kt

* Refactor TraceLocationServer.kt

* Add Tests for TraceLocationServer.kt

* Adapt code to latest protobuf changes

* Fix small issue in CreateEventTestViewModel.kt

* Rename Test

* Add SignedTraceLocation to TraceLocation Mapper and add tests

* Fix EnvironmentSetupTest.kt

* Extend test in EnvironmentSetupTest.kt

* Move DI related logic around clients and url to environment package

* Change return type to Response<SignedTraceLocation> of retrofit interface

* Address PR feedback regarding string templates

* Add default values to make the creation of trace locations from the TestMenu faster and easier

* Show create-trace-location url in Test Menu

* Fix DebugOptionsFragmentViewModelTest.kt

* Map byte representation in SignedTraceLocation to TraceLocation mapper

* Delete TraceLocationVerifyResult.kt

* Fix SignedTraceLocationToTraceLocationMapperTest.kt

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent 1985b036
No related branches found
No related tags found
No related merge requests found
Showing
with 378 additions and 50 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment