Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse API configurations #215

Closed
4 tasks done
bajiat opened this issue Jul 8, 2015 · 5 comments
Closed
4 tasks done

Parse API configurations #215

bajiat opened this issue Jul 8, 2015 · 5 comments
Assignees
Milestone

Comments

@bajiat
Copy link
Contributor

bajiat commented Jul 8, 2015

Related to #72. When API configuration is uploaded, it needs to be parsed and inserted into the relevant collections.

Useful resources

Definition of done

  • Describe structure of API Umbrella configuration files.
  • Determine how to insert API configurations into Apinf collections.
  • Implement handle to parse
  • Insert API configuration data.
@bajiat bajiat added this to the Sprint 7 milestone Jul 13, 2015
@bajiat
Copy link
Contributor Author

bajiat commented Jul 13, 2015

@frenchbread, will you please consider taking this task?

@bajiat bajiat added ready and removed planning labels Jul 13, 2015
@frenchbread
Copy link
Contributor

yep

@frenchbread frenchbread self-assigned this Jul 14, 2015
@bajiat
Copy link
Contributor Author

bajiat commented Jul 14, 2015

@frenchbread Can you also give the size estimate, i.e.. how many hours it will take?

@frenchbread
Copy link
Contributor

@bajiat I have a question regarding definition of done list, if we could talk about it on a stand up, I will provide time estimation more exact.

@frenchbread
Copy link
Contributor

The basic api config file looks like this (YAML example):

---
apis:
- _id: 35d0e433-91e8-4c1d-8c31-97afcfe7de7e
  backend_host: maps.googleapis.com
  backend_protocol: http
  balance_algorithm: least_conn
  created_at: 2014-11-12 15:42:27.461000000 Z
  created_by: bf9c6314-8946-4204-b106-79d33160fb94
  frontend_host: apinf.com
  name: Google Maps
  servers:
  - _id: 17f52375-4984-4348-9588-bee123404f12
    host: maps.googleapis.com
    port: 80
  settings:
    _id: 6c58a7a4-3e89-46c7-b604-748e88b7a3c7
    disable_api_key: 
    error_data: {}
    error_templates: {}
    rate_limit_mode: 
    require_https: 
  sort_order: 1
  updated_at: 2014-11-13 07:37:58.264000000 Z
  updated_by: bf9c6314-8946-4204-b106-79d12370fb94
  url_matches:
  - _id: 7240c758-d380-436b-b612-730d3237ddc0
    backend_prefix: "/"
    frontend_prefix: "/google/"
  version: 2

There can be s number of apis in one api config file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants