Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Event survey skeletons (EXPOSUREAPP-4754) #2224

Merged
merged 11 commits into from
Jan 28, 2021

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Jan 27, 2021

Skeleton classes for event based survey implementation to parallelize developer effort.

@d4rken d4rken added the maintainers Tag pull requests created by maintainers label Jan 27, 2021
@d4rken d4rken added this to the 1.13.0 milestone Jan 27, 2021
@d4rken d4rken added the author merge PR to be merged by author label Jan 27, 2021
@ralfgehrer ralfgehrer self-assigned this Jan 28, 2021
@ralfgehrer
Copy link
Contributor

LGTM. Nice Skeletons to implement the tech spec IMHO.

chris-cwa
chris-cwa previously approved these changes Jan 28, 2021
Copy link
Contributor

@chris-cwa chris-cwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for preparing this! Should enable us to develop in parallel!

* Will throw an exception if no attestation could be obtained (e.g. no network)
*/
@Throws(SafetyNetException::class)
suspend fun attest(request: Request): Result
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marvellous interface method signature! Simple, clean, maintainable!

@d4rken d4rken marked this pull request as ready for review January 28, 2021 15:05
@d4rken d4rken requested a review from a team January 28, 2021 15:05
BMItr
BMItr previously approved these changes Jan 28, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jan 28, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

15.2% 15.2% Coverage
0.0% 0.0% Duplication

@d4rken d4rken merged commit 9016ffc into release/1.13.x Jan 28, 2021
@d4rken d4rken deleted the feature/4754-event-survey-skeletons branch January 28, 2021 15:50
mtwalli pushed a commit that referenced this pull request Feb 2, 2021
* Skeleton classes for SafetyNet and EventSurveys.

* Fix LINTs, test compile error.

* Remove lint breaking TODOs.

* Add SafetyNet requirement validation call to the attestation interface.

* Don't return salt/nonce, just offer the caller directly the PPACAndroid protobuf class.

* Add documentation, fix test build error.

* Add documentation, fix test build error.

* Add environment variables for data donation server and SafetyNet API key.

* Remove unused function.

* Fix EnvironmentSetupTest.kt
mtwalli pushed a commit that referenced this pull request Feb 2, 2021
* Skeleton classes for SafetyNet and EventSurveys.

* Fix LINTs, test compile error.

* Remove lint breaking TODOs.

* Add SafetyNet requirement validation call to the attestation interface.

* Don't return salt/nonce, just offer the caller directly the PPACAndroid protobuf class.

* Add documentation, fix test build error.

* Add documentation, fix test build error.

* Add environment variables for data donation server and SafetyNet API key.

* Remove unused function.

* Fix EnvironmentSetupTest.kt
SamuraiKek pushed a commit that referenced this pull request Feb 3, 2021
* Skeleton classes for SafetyNet and EventSurveys.

* Fix LINTs, test compile error.

* Remove lint breaking TODOs.

* Add SafetyNet requirement validation call to the attestation interface.

* Don't return salt/nonce, just offer the caller directly the PPACAndroid protobuf class.

* Add documentation, fix test build error.

* Add documentation, fix test build error.

* Add environment variables for data donation server and SafetyNet API key.

* Remove unused function.

* Fix EnvironmentSetupTest.kt
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
author merge PR to be merged by author maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants