1. 19 Jul, 2020 3 commits
    • Thong Kuah's avatar
      Move authorization code to centralized module · 7d1fde8c
      Thong Kuah authored
      This enables re-use of authorization code. Also make use to Rails' Token
      authorization code
      7d1fde8c
    • Thong Kuah's avatar
      Add experimental internal Kubernetes API · 5f366e2b
      Thong Kuah authored
      - Return agent_id in response if present
      - Receive token via Authorization header
      
      Use standard way for Authorization which is the header. We currently not
      care about the
      Authorization type but may enforce this in future
      
      Adds /project_info endpoint. Only for public projects. We will sort out
      authorization for internal and private projects later
      
      Remove need to hack around InternalHelpers. InternalHelpers assumes an
      actor (we don't have it) and params (don't have that either). So get the
      required data directly instead.
      5f366e2b
    • Thong Kuah's avatar
      Add models and tables · 2f61a0b5
      Thong Kuah authored
      - cluster_agent
      - cluster_agent_tokens
      
      Adds encrypted token using TokenAuthenticatable module
      
      Add has_many :cluster_agents
      
      Add to spec all_models.yml checklist. cluster_agents should not be
      exported as part of project export, so not putting in import_export.yml.
      2f61a0b5
  2. 18 Jul, 2020 9 commits
  3. 17 Jul, 2020 28 commits