This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 01 Nov, 2018 1 commit
  2. 02 Nov, 2018 2 commits
  3. 03 Nov, 2018 1 commit
    • Zain Asgar's avatar
      PL-26 added user info endpoint · d3dfb776
      Zain Asgar authored
      Summary: Still need to add some missing info upstream but we can do that when necessary.
      
      Test Plan: Added unit tests.
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D111
      
      GitOrigin-RevId: 2e46968950599ba550ceb6c89c8c0f8a571444cb
      d3dfb776
  4. 01 Nov, 2018 1 commit
  5. 02 Nov, 2018 1 commit
    • Zain Asgar's avatar
      PL-26, PL-68 Completion of auth backend. · c88d2479
      Zain Asgar authored
      Summary:
      	Added auth calls and auth augmentation
      	Added JWT middleware
      	Added Session middleware
      	Completed routing for all current services
      
      Test Plan:
           Added unit tests.
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Subscribers: philkuz
      
      Differential Revision: https://phab.corp.pixielabs.ai/D110
      
      GitOrigin-RevId: e7acfc20e7aa67b7ae1b4f9d54339378824b69b8
      c88d2479
  6. 31 Oct, 2018 1 commit
    • Zain Asgar's avatar
      Fix environment and session context · dccdbcfe
      Zain Asgar authored
      Summary: Refactor the environment and add session context.
      
      Test Plan: Unit tests updated & added.
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, michelle, kgandhi
      
      Subscribers: kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D108
      
      GitOrigin-RevId: e5793ee17e7e9012bc7e203c1c8b415b6262cec2
      dccdbcfe
  7. 30 Oct, 2018 2 commits
    • Kaushal Gandhi's avatar
      PL-79: Load generator deployment on separate node for GKE · 20590b51
      Kaushal Gandhi authored
      Summary:
      Updating and moving loadgenerator.yaml to kubernetes_manifests.
      Documentation on how to taint a K8S node so that only services/deployments/pods
      that tolerate the taint are scheduled on it. Also, adds documentation on how to
      label a node so that the deployment can target a particular node.
      
      Test Plan:
      Tested this on a GKE cluster and observed that the loadgenerator for
      hipstershop only runs on the intended node and also that no other services are
      running on it.
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D109
      
      GitOrigin-RevId: 1b2b2f153c882b8258b7045bf42d5dbd2ac2697a
      20590b51
    • Michelle Nguyen's avatar
      PL-52 Add locust wrapper for load generation · 9c121806
      Michelle Nguyen authored
      Summary: Added locust wrapper for load generation. The locust wrapper takes a locust config, which specifies every phase (users, duration) that should occur during the load test. The wrapper iterates through each phase, generating the locustfile, and running the locust command for the specified duration.
      
      Test Plan: Started up a local version of hipstershop and ran `bazel run //demos/load_generation:load_generation -- --config_file ~/go/src/pixielabs.ai/pixielabs/demos/applications/hipster_shop/load_generation/load.pbtxt --host http://localhost:80`
      
      Reviewers: philkuz, zasgar, kgandhi
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D106
      
      GitOrigin-RevId: f91e3adf652da3943ff928e0f4e77c53bc0bfd43
      9c121806
  8. 29 Oct, 2018 1 commit
    • Zain Asgar's avatar
      Add port names · 240d0c39
      Zain Asgar authored
      Summary: K8S wants names in the config since we are defining more than one port per service.
      
      Test Plan: TBD
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D107
      
      GitOrigin-RevId: bfc9172b75cf7929fd2ca552eb28185e79f27b6f
      240d0c39
  9. 26 Oct, 2018 2 commits
  10. 27 Oct, 2018 1 commit
    • Zain Asgar's avatar
      Refactor common service utils · ffe7afbd
      Zain Asgar authored
      Summary:
      Refactor some of the common server utils. Allow creation of a GRPC and HTTP server under different ports.
      Number service ports on the following scheme 5XXYY, where XX = service ID and YY is the port ID (0 = GRPC, 1 = HTTP).
      
      Test Plan: Exising tests
      
      Reviewers: #engineering, michelle, philkuz
      
      Reviewed By: #engineering, philkuz
      
      Subscribers: philkuz
      
      Differential Revision: https://phab.corp.pixielabs.ai/D103
      
      GitOrigin-RevId: f5340a057a2a204410e2eca1cba8f04432b61aea
      ffe7afbd
  11. 26 Oct, 2018 3 commits
    • Zain Asgar's avatar
      PL-66 - Start move of Auth service to GRPC · 14528c3f
      Zain Asgar authored
      Summary: Adds the protobuf and also dummy server.
      
      Test Plan: Coming in future changes.
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D102
      
      GitOrigin-RevId: 80eff0d2b16c14ac93a584057977f3718beadec9
      14528c3f
    • Kaushal Gandhi's avatar
      PL-72 K8s manifests for deploying hipster shop on GKE · 198eff76
      Kaushal Gandhi authored
      Summary:
      1. Added manifest yamls for hipster shop app.
      2. Moved superset manifest yamls into a folder
      
      Test Plan: Deployed hipster shop application to a new GKE cluster and tested that the services worked
      
      Reviewers: #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Subscribers: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D101
      
      GitOrigin-RevId: 630c37558d576f274c16ad76a1e2b34ab1000272
      198eff76
    • Zain Asgar's avatar
      PL-67 Auth middleware for GRPC · 6b2368f6
      Zain Asgar authored
      Summary:
      Added middleware and basics of environment to the auth service.
      Checks for bearer token on Request and rejects the request if invalid/missing.
      
      Test Plan: Added some unit tests.
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D100
      
      GitOrigin-RevId: 4d54ad42f23b3e980d08829ba21e4b9c737f4a76
      6b2368f6
  12. 25 Oct, 2018 4 commits
    • Kaushal Gandhi's avatar
      PL-51: Kubernetes manifest yamls and instructions to deploy superset on GKE · 869e5c54
      Kaushal Gandhi authored
      Summary: TSIA
      
      Test Plan: Tested on our GKE cluster. Followed instructions in the README.md and the application works
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Subscribers: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D99
      
      GitOrigin-RevId: c2f884225076dd5c6a18b42e8a7a3cca4147614a
      869e5c54
    • Phillip Kuznetsov's avatar
      PL-40 Add project_up script that wraps skaffold commands and auto generates template files · f0753d86
      Phillip Kuznetsov authored
      Summary:
      Add project_up script that auto-generates template files and runs skaffold commands via passing in prod/dev as the first argument.
      Also adding gitignore and removing gitignore'd files that are now auto-created by the project_up script.
      
      Test Plan:
      ```
      # for Dev
      make skaffold-dev
      # for "Staging" (still the dev environment, just not watching changes)
      make skaffold-staging
      # for Prod (doesn't work because UI doesn't work in Docker as of this commit)
      make skaffold-prod
      ```
      
      Reviewers: kgandhi, michelle, zasgar
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D91
      
      GitOrigin-RevId: a10246ba4314a0f7c170cd9b70b85b1903719320
      f0753d86
    • Zain Asgar's avatar
      Add gateway env/cookie store · 9b0067c4
      Zain Asgar authored
      Summary:
      Added cookie store and /login & /logout handlers.
      Still need to add auth service login and tests.
      
      Test Plan: Coming in a few diffs. Still need to do a bit more refactoring.
      
      Reviewers: #engineering, kgandhi
      
      Reviewed By: #engineering, kgandhi
      
      Subscribers: kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D97
      
      GitOrigin-RevId: 3c575416c14bd64e30265a4a1c7fb6d4be63b732
      9b0067c4
    • Michelle Nguyen's avatar
      PL-44 Use bootstrap · 19ba41bc
      Michelle Nguyen authored
      Summary: update yarn packages to include bootstrap, import bootstrap css
      
      Test Plan: ran it locally, tried out a button and input
      
      Reviewers: zasgar, kgandhi, philkuz
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D98
      
      GitOrigin-RevId: e2d9f311468ec538d1139d18d474d0e70bb26f6a
      19ba41bc
  13. 23 Oct, 2018 1 commit
  14. 24 Oct, 2018 1 commit
    • Zain Asgar's avatar
      PL-65 - Gateway service skeleton · 27f3500c
      Zain Asgar authored
      Summary: Initial pass at gatway service. This is just a skeleton right now, but will be responsible for session management and routing.
      
      Test Plan: Will add in future changes.
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Subscribers: kgandhi, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D95
      
      GitOrigin-RevId: e0a289d78de572fe94c9ed6a0f2839834c2f1f85
      27f3500c
  15. 23 Oct, 2018 4 commits
    • Michelle Nguyen's avatar
      PL-10 POST to /auth/login on authenticate · e18e5c51
      Michelle Nguyen authored
      Summary:
      before, the callback for auth0 was POSTing to /auth/login, which requires a redirect.
      Instead, the callback should hit /login, which POSTs to /auth/login on authenticate.
      
      Test Plan: tried it manually
      
      Reviewers: zasgar, kgandhi, philkuz
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D90
      
      GitOrigin-RevId: b697ea68276e3e66d9ce5e0613ce81d7b89d69f6
      e18e5c51
    • Zain Asgar's avatar
      Add HTTP request logging · 49fa1e22
      Zain Asgar authored
      Summary: Adds request logging.
      
      Test Plan:
      Tested by taking a look at console, request logs:
      
      ```
      INFO[0010] HTTP Request                                  code=200 method=POST path=/gql response_size=34 status=OK time_ms=0
      ```
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, michelle, kgandhi
      
      Subscribers: michelle, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D94
      
      GitOrigin-RevId: 6167c2ef30e3540123b91ef859d94df9eac3f63d
      49fa1e22
    • Zain Asgar's avatar
      Add <rootDir> to node_modules search for Jest. · a6f162ee
      Zain Asgar authored
      Summary: This will make the node_modules search more restrictive.
      
      Test Plan: Jenkins/Existing
      
      Reviewers: #engineering, michelle, kgandhi
      
      Reviewed By: #engineering, michelle, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D93
      
      GitOrigin-RevId: 42da0cdc787aa80f38191c9853fb5714c3a0bbc8
      a6f162ee
    • Michelle Nguyen's avatar
      PL-60 Put dev docker_image_tag in one place · 5e9b4fc0
      Michelle Nguyen authored
      Summary: Before, when updating our dev docker image, we would need to go change the image tag in the JenkinsFile and run_docker.sh. Instead, we should just put the tag in one place and have the Jenkinsfile and run_docker.sh pick it up from there.
      
      Test Plan: tried the shell script... need to see if the Jenkinsfile changes actually work by running it through jenkins
      
      Reviewers: zasgar, kgandhi, philkuz
      
      Reviewed By: zasgar, kgandhi
      
      Differential Revision: https://phab.corp.pixielabs.ai/D92
      
      GitOrigin-RevId: eb07d9892a8fe40fdfe264e94d05b932ddc5c9ff
      5e9b4fc0
  16. 22 Oct, 2018 1 commit
  17. 19 Oct, 2018 3 commits
    • Kaushal Gandhi's avatar
      PL-61: Do not push docker images for docker dev · 64f67442
      Kaushal Gandhi authored
      Summary: Skaffold 0.16 changed the skipPush flag in the service yaml to push. And so the flag value was negated. Need to change the protobuf for this. Protobufs should not change for backward compatibility but making an exception here. Also changing the derp for pushing images to pl-dev-infra
      
      Test Plan: `skaffold dev -f skaffold/skaffold_dev.yaml` should work without pushing images to pl-dev-infra
      
      Reviewers: #engineering, zasgar
      
      Reviewed By: #engineering, zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D88
      
      GitOrigin-RevId: 83cc6b0ed2e21c3efa81f9612cc7d2afcb296f59
      64f67442
    • Zain Asgar's avatar
      Separate out jest config · d674f85b
      Zain Asgar authored
      Summary: Pull it out to a separate file to make the config a bit cleaner.
      
      Test Plan: Jenkins
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D87
      
      GitOrigin-RevId: 1e0b5b9c0048f8109030fd3c743985b3474ed00b
      d674f85b
    • Zain Asgar's avatar
      Added Apollo client · 77c283e1
      Zain Asgar authored
      Summary: TSIA
      
      Test Plan: load UI
      
      Reviewers: #engineering, michelle
      
      Reviewed By: #engineering, michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D81
      
      GitOrigin-RevId: 9a03693e83de5c30ff110a9bd8f48b0e8064f68f
      77c283e1
  18. 18 Oct, 2018 5 commits
  19. 16 Oct, 2018 5 commits