Giter VIP home page Giter VIP logo

gotempm's Introduction

Welcome ๐Ÿ‘‹

Top Langs

gotempm's People

Contributors

camba1 avatar

Stargazers

 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

Watchers

 avatar  avatar  avatar  avatar

gotempm's Issues

User is missing the modified by field

The user in the userSrv does not have the standard โ€˜modifiedByโ€™ field.
The createDate field is incorrectly set to createdate and updateDate is incorrectly set to updatedate

Improve startup script

The startup script currently has sleep commands between services startups to try to avoid Micro throwing a gRPC timeout error. Need to find a better way to do this. Currently if Micro does throw the error, one can just rerun the startup script. Not the best situation though.

Standardize the way validity dates are sent out from the services

Currently, depending on wether the DB is SQL or No SQL, the validity dates and the modification fields are been sent out to the client either inline or as part of an object within the dataset. This is due to how the fields are mapped in the porto definition.
When creating the services we switched midway the way we handled those fields in the porto definitions to use imported global definitions but never went back to change it in the promotion and customer services.
Bottom line, all services should handle those fields the same way It is done in the product and customer services, independent of how they are stored in the DB

user registration needs its own endpoint

Currently the user registration shares the same end point with the regular user save when saving the data. However that means that the user save does not check for a token. That in turn causes the user service to not send new user record to the audit service since the audit service gets uses the token to identify which user performed the action.
While there are multiple ways to fix this, the cleanest is to have a separate user service end point that handles anonymous registration separately

Rpc error: code = Canceled desc = grpc: the client connection is closing

Issue description:

When starting multiple services one after the other using micro run, many times the following error is thrown:
Rpc error: code = Canceled desc = grpc: the client connection is closing
One can just re-run the command and the service comes up.
This is specially visible when running in docker or K8s, but also happens locally
โ€Œ

Steps to reproduce:

Try to start all services with the command below, which will start all the services one after the other
make microstartsrvs
or if running inside the container :

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.