Giter Site home page Giter Site logo

world's People

Contributors

hugoarregui avatar m-sossich avatar matiasbargas avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

world's Issues

Add IdentityMessage to broker+world comm

The identity message will be something like:

message IdentityTopicMessage {
    MessageType type = 1;
    uint64 from_alias = 2;
    string topic = 3;
    bytes identity = 4;
    Role role = 5;
    bytes body = 6;
}

with message type IDENTITY_TOPIC. The server will override the from_alias, identity and role fields to ensure they are correct. Only role CLIENT will be used right now so the explorer can ignore any message that does not belong to a client. The identity field will be a serialized string with the userid.

I will also change the ProfileData as follows:

message ProfileData {
    Category category = 1;
    double time = 2;
    string profile_version = 3;
}

That is: I'm removing avatar type, displayName and publicKey and adding the profile_version so other clients can determine if they have the latest profile version.

Configure Auth0 accounts to handle multiple clients logins

Since we are going to use the same user DB (configure in auth0) for the avatars system and for the Explorer closed beta, we need to identify the users that are allowed to enter the Explorer from the ones that are not:

TODO:

  • Generate another app (.org. .today maybe .zone should be closed in all cases)
  • verify that user tokens generated for one clientId wont be valid for the other
  • Add a flag to the users able to enter the explorer
  • Investigate how to invalidate user sessions when we remove access to the explorer.

Create platform-ephemeral-keys

The new project should be based on the identity package here, but it will be much simpler. AFAICT it will consist solely in the get token endpoint. No login/logout pages, no POST /login, no POST /logoug

[OPS] Env Tuning for Auth Service

  • Load balancer policies
  • Number of instances
  • Env health checks.
  • Analyze the need (or not) of caching requests
  • Analyze the need (or not) for Nginx or similar to take off some load off the service, filter requests and so on

Add circuit breaker

At least in the following places:

  • when requesting pubkey from identity

    • in coordinator
    • in profile
  • when comm server connects to coordinator

[Placeholder] Metrics

This is a placeholder issue, we probably need to talk to Miguel to see what's involved. We have a dependency of them but we are probably not blocked, since we need to collect them in our projects

[Research] define strategy to test/debug in prod

We need to define a strategy for:

  • functional test against production (probably the puppeteer work @donequis has been working on)
  • stress test against production
  • a way to be able to interact with prod from local (perhaps a set of scripts to call those services) to the be able to debug problems

Versioning

All APIs should have a versioning schema. Not only the project themselves, but also the standards

[Research] TURN server

Those are the requirements:

  • Be able to be integrated to our identity solution
  • Support a way to add stats
  • Support a way to define relay rules (so we relay to our services only)

Auht0 to Segment:

DEV = DONE
STG = DONE
PROD = PENDING (copy from dev, change segment key)

Create platform-profile

  • Move profile package to its own project.
  • It should take auth0 access tokens instead of ephemeral keys. It should be an auth0 API.
  • We should have a way to filter the returned fields
    • maybe by scope
    • maybe by providing a fields field
    • maybe a combination of both

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.