Giter VIP home page Giter VIP logo

dev-protostubs's People

Contributors

dvilchez avatar lopes120 avatar luistduarte avatar pchainho avatar sdruesedow avatar tiagolb avatar vitormsilva avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dev-protostubs's Issues

Google Fit Protostub: 400 error handling

The error handler at:

https://github.com/reTHINK-project/dev-protostubs/blob/master/src/protostub/google/GoogleProtoStub.ps.js#L298

should update the protostubs status with status "disconnected":

            _this.sendStatus('disconnected', onError);

The Observer should add a Listener to prostostub status url which requires to send the protostub url in the response body to the initial request used to deploy the protostub:

https://github.com/reTHINK-project/dev-protostubs/blob/master/src/protostub/google/GoogleProtoStub.ps.js#L83-L85

Strava protostub

Very similar to GoogleProtoStub, UserActivityObserver hyperty is responsible for loading the correct protostub, depending on the OS:

  • Android: GoogleProtoStub (also for Windows?)
  • iOS: StravaProtoStub

To avoid code duplication, a FitnessProtostub is to be created.

P2P Stubs update according to specs change

According to implementation feedback some changes were done in the specs:

The Configuration json object received as input by the P2P Requester constructor, has a new field remoteRuntimeURL containing the RuntimeURL of the remote P2P Handler Stub.

In addition, the P2P Handler Stub should also fire a new event as soon as it receives an invitation from a remote P2P Requester containing in the body.

Updated specs here.

AppVertxStub: event bus handlers lost

When App goes to "sleep" mode, for some reason event bus handlers are lost and are not recovered.

Proposal: before messages are published on eb, check handlers are registered otherwise re-register them.

Usage of Access Token on Protostub (fix)

I did a little fix on dev-runtime-core (branch dev-p2p-interworking-merge).
commit

On your protostub when you are using access token, a little fix needs to be done
Your code

You need to use "msg.body.identity.access_token" instance of "msg.body.identity"

Is it ok for you?

GFIT: missing activities

Users are complaining some activities are lost when there is some delay (> 1 day delay) to sync the device with the platform.

Try to replicate and check the API pooling policy

GIRA IDP Proxy

To be used to manage access to GIRA user data. Still no info about the protocol to be used

Mobi.e IDP Proxy

To be used to manage authorisations to access MObi.e user data. Should be compliant with auth 2.0

EDP IDP Proxy

To be used to manage access authorisation to EDP Distribuição user data by using a proprietary interface. The main data flows should be:

  1. get login page
  2. post authentication data with CGUID
  3. redirect with authentication / authorisation result + token based on CGUID

Google FIT Protostub

Create a Google FIT protostub with support to Walk and Bike monitoring.

It should include a Context Reporter for walking and biking context data objects objects.

specs to be provided in a separate doc

  • Verify that a Data Object Reporter created by the Protostub can invite a User Activity rating Vertx Hyperty which subscribes it.

  • frequency of information retrieval (in config)

  • query for "new" sessions (between start-end timestamps)

  • timestamp of last session read (query sessions that ended after last session) (DO lastModified field)

  • timestamp/date of when app was activated (only account for exercise that happened after that timestamp) in Data Object Storage (DO creation time)

  • resume DO reporter

  • avoid pop-up blocking

GoogleProtoStub improvements

  • when restarting the app, instead of just querying for user activity after some time, make an initial query to account for the time between app uses

IMS IWstub development

As required by T6.3 is necessary to implement a IWstub to interact with an IMS lab environment.

High level details fo the IW stub are documented in this presentation: GDocs

Vertx App Protostub: only handle updates of changed fields in the wallet

https://github.com/reTHINK-project/dev-protostubs/blob/develop/src/protostub/vertx_app_stub/VertxAppProtoStub.ps.js#L217-L220

Each time there is a change in the wallet eg a new transaction, the Vertx Wallet Manager Hyperty should only publish in the Stream the new transaction, not all transactions. Currently, the amount of data published will continuously increase becoming difficult to handle.

In order to support this, the data format used should be similar to reTHINK UPDATE body message.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.