Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Authentication service that generates token containing granted permissions + App using GraphQL plugin to retrieve the values from server (Fuel properties usecase):
  • TODOs from the code that can be taken:
    • ExampleAppJava/src/main/java/org/genivi/vss/authenticationservice/MainActivity.java43:       // TODO Move this connection boilerplate to VSS-SDK since this code will be shared across the clients
    • ExampleAppJava/src/main/java/org/genivi/vss/authenticationservice/MainActivity.java69:                .serverUrl("http://192.168.56.101:4000/") // TODO make it configurable
    • ExampleAppJava/src/main/java/org/genivi/vss/authenticationservice/MainActivity.java84:        // TODO Pass the token to the query
    • ExampleAppJava/src/main/java/org/genivi/vss/authenticationservice/MainActivity.java88:                // TODO Do sanity check of the response and its content
    • service/src/main/java/org/genivi/vss/authenticationservice/IAuthenticationServiceImpl.java:41:            // TODO decide when handle this exception
    • service/src/main/java/org/genivi/vss/authenticationservice/IAuthenticationServiceImpl.java:44:        // TODO Make the key shared between the server and client or change the algo to asymmetric
    • service/src/main/java/org/genivi/vss/authenticationservice/IAuthenticationServiceImpl.java:61:                // TODO Filter out the non-genivi-vss permissions
    • vss-sdk-lib/src/main/java/org/genivi/vss/authenticationservice/VSS.java:12:    // TODO Make it autogenerated from VSS
    • vss-sdk-lib/src/main/java/org/genivi/vss/authenticationservice/VSS.java:17:    // TODO Make Manager class to hide this intent there (similar approach to other services running in the framework) see TODO in client implementation
  • Full setup has been recorded and is attached to this email and shows the following steps:
    1. Start of Apollo Graphql server with vss feeder, feeding the values from OpenDS
    2. Start Example application that is able to connect to Authentication Service and retrieve the token with permissions bundled
    3. Example application sends the query for retrieving Fuel data (capacity + current level).
    4. Indications that the values are the same as on server side
    5. JSON Web Token content
  •  Additionally, I have updated some of the Jira tickets. My actions (since 6 July) can be tracked via activity stream: https://at.projects.genivi.org/jira/secure/ViewProfile.jspa?name=Stefan.Wysocki
  • "I kindly ask participants for reviewing the code and contributing by fixing new TODOs."
  • Milestone 2 demo video is available there

Tuesday 6 July - 500pm CET

...