Commit Graph

45 Commits

Author SHA1 Message Date
Mohan Madhavan 7e0e0e69eb Validate TLD during ssl cert creation
Change-Id: Id77c9cff8075bbc3f421b832d2d71ea217ef952c

Mocked the underlying network calls that validate the domain

Change-Id: I07146c65518b120d114d62ae38066de08b210b2a

Fixing pep8 issue

Change-Id: Ibf5072288c1fbba086a021e07a56c33a4f7b3fbf
2016-08-31 10:54:39 -05:00
Isaac Mungai 51223b43ed bugfix: Set difference logic for deleted_domains
Change-Id: I8ea6c8aed53ea1ccc2ff344d3383626ed9c3f868
2016-06-27 11:46:31 -04:00
Mohan Madhavan 32e5f92789 Poppy metrics api and unit tests bugs fixed
Change-Id: I4e832065d146485ad24af0b5558d0d88a82d2269
2016-05-04 16:28:01 -04:00
Sriram Madapusi Vasudevan 0d9f84d616 feat: addition of the BlueFlood Client
- add region mapping to every provider driver
- add logic in analytics manager to call the provider, for which the
  domain is present
- add asynchronous requests supports for blueflood and gather results

REQUEST URL:

GET /v1.0/services/{service_id}/analytics?domain={domain}&metricType=requestCount&startTime=2016-01-22T17:42:08&endTime=2016-01-24T17:42:08

RESPONSE:

{
    "domain": "{domain}",
    "requestCount": {
        "India": [{}],
        "EMEA": [{
            "1453420800000": 47,
            "1453507200000": 31,
            "1453593600000": 2
        }],
        "APAC": [{
            "1453593600000": 2
        }],
        "North America": [{}],
        "South America": [{}],
        "Japan": [{
            "1453593600000": 89
        }]
    },
    "flavor": "{flavor}",
    "provider": "{provider}"
}

Partially Implements: blueprint analytics

Change-Id: I82a594c6ed1b2df93158af2b766dbbf2cd5440df
2016-02-02 10:51:28 -05:00
Sriram Madapusi Vasudevan 4843ac4fb4 feat: move to oslo.log
- Removal of openstack.common.log and rely on oslo.log libraries.
- LOG with oslo context, which gives us ability to track a request
  through a pipeline (server -> worker)

Change-Id: I2ca26de4daa5d013dfe00a0667d3419bf9b55c65
2016-01-22 09:39:39 -05:00
Sriram Madapusi Vasudevan 2925e6e765 dependency: add netifaces
Change-Id: Ibd4bd9134aa45e5afdcfb68dc974f611a6a6f1b9
2015-12-07 16:08:38 -05:00
Sriram Madapusi Vasudevan b0eda15134 fix: requirements - cassandra v3 or greater
Change-Id: Iabb8a025a2478bf01bf12aaa4f9104b81599a32b
2015-12-01 12:40:03 -05:00
tonytan4ever b13605ba21 Remove request[security] requirement
Change-Id: Ic9e9d5565acd19b99b29e92a478007f02846a0b2
2015-10-21 13:30:21 -04:00
Sriram Madapusi Vasudevan 7c69661faf fixme (soon): pin certifi to (2015.4.28) for now
Change-Id: Ib5c76e910220517458b830d8ccf147bcb8b296e5
2015-09-09 15:34:20 -04:00
Sriram Madapusi Vasudevan 7dbb7c8b0a fix: add requests security extras
- This will allow urllib3 to configure SSL use appropriately, thereby
  making requests use them.

Change-Id: I65246ca249ad11c3d4047c5ef2591978c8f48d0e
2015-09-08 15:26:42 -04:00
Anantha Arunachalam 8763b5db06 Change oslo package names according to the latest oslo release 2.0.0
Also requirements have modified to reflect the latest oslo packages.

Change-Id: I5f5e28ef183dfbafc8c1215ef92d55f6358de27d
2015-07-20 16:12:47 -04:00
Anantha Arunachalam 1a8edc0c22 Added support for HostHeaderType and HostHeaderValue while creating the service.
Implements: blueprint host-header-forwarding

Change-Id: I7fa82c7699cd300e1eb1966bbf3d25c7ab549ed6
2015-06-26 16:12:22 -04:00
Sriram Madapusi Vasudevan 68b8d96a9c fix: better logging if health check fails for providers
Change-Id: I542df9a83589744dae603a595777aa4ef1765d9e
2015-06-11 17:25:37 -04:00
Sriram Madapusi Vasudevan 747e56313f fix: update to install kazoo from Pypi
- kazoo 2.1 got released, with necessary bugfixes

Change-Id: I67f6f8761a06e00f4e81fbdf62b14e358f4e7e24
2015-06-10 10:20:02 -04:00
Anantha Arunachalam 20396c05d1 Updated README with additional dependencies
Change-Id: I57aed7a2c8b50eaa0bf00c3b40fc321d843b0d36
2015-06-01 10:51:19 -04:00
tonytan4ever 8ec6286ac6 Manual SSL initial Check in
Change-Id: Ife300dd642fd624347d042012ff5c7cb5302bb48
2015-04-15 16:18:08 -04:00
tonytan4ever 893f88c078 Add cassandra schema migration framework
Implements: blueprint cassandra-schema-versioning

Change-Id: I37ac447116d69b465052063269f55d8487142124
2015-02-27 13:41:10 -05:00
tonytan4ever 32fc357d48 Implemented TaskFlow distributed task driver to replace subprocess
Change-Id: Ic64ea2a1f3cb0b8e0b5fa952c39ba95884958e17
2015-02-18 16:56:49 -05:00
amitgandhinz 36e4b52222 Updated maxcdn references
Change-Id: I2c03d3b8a09518ee0d7938158c959d159aec2dcc
2015-02-17 14:58:07 -05:00
tonytan4ever 95a944763f Add cassandra consistency level
Closes-Bug: 1409782

Change-Id: Ic53b2ac32592458bd4b32c6edfa51a04415fa1cf
2015-01-14 18:06:01 -05:00
Obulpathi e2a630235c Implements PATCH using RFC semantics
Change-Id: If77b5240317e484a6082e3a60036bd5fb2f6a458
Closes-Bug: 1406403
Closes-Bug: 1407287
2015-01-05 17:01:34 -05:00
amitgandhinz 6f90e793da Switch service urls to use UUID instead of service name
This change makes services retrievable via serviceid
instead of by servicename.  This results in a more secure approach
to getting services, reducing the attack surface.

It also brings resources in line with other openstack services
where resources are referenced with a uuid.

Closes-Bug: 1404998

Change-Id: If9c7201e6d01a61aa7b8a3a1446e222d1f3f6c44
2015-01-02 12:24:33 -05:00
amitgandhinz 51855c337f Fixes Bug where 500 responses show messages
Closes-Bug: 1404938
Change-Id: I46c1038b8ba21217455a6980efeb8964e615df4b
2014-12-29 16:31:18 -05:00
amitgandhinz bf99d8efa7 Modified delete to archive services instead of hard delete
This change also resolves the issue where services would not be
deleted when providers have issues.

Closes-Bug: 1400525

Change-Id: I8bd798bc4c97a1ed88694c611c32ea2cfadcd849
2014-12-16 12:27:20 -05:00
amitgandhinz 92b8e69942 Added init script to inject credentials for DNS and Providers
Change-Id: Id9b8454ac65cd566fa16b9863005b254af5a2eeb
2014-12-09 11:06:45 -05:00
Obulpathi b893de24de Adds Rackspace DNS Driver
Change-Id: Id49e24364ab0aa39245fc287960451e4233569bc
2014-12-04 11:42:45 -05:00
Jenkins 65971300cf Merge "Implementing Akamai Driver" 2014-12-03 19:40:02 +00:00
tonytan4ever 89552af743 Implementing Akamai Driver
Change-Id: I822c0248995be0af3a880445b113225d26435698
2014-12-03 10:45:09 -05:00
amitgandhinz 8091123422 Made the X-Project_ID header mandatory in Poppy
Any middleware used (Keystone, Repose, etc) will be required to
validate that the project_id is correct for the auth token used.

This change also moves the instantiation of the hook that checks
that the X-Project-ID header is mandatory to each controller
instead of during the make_app.  This allows the X-Project-ID
context hook to only be checked on certain controllers (and ignored
on ones like /ping where projectid is not needed.

Change-Id: Ie2cfb9d76a0e53ba990332d1050cce634626b992
Closes-Bug: 1392818
2014-12-02 13:28:22 -05:00
amitgandhinz 3bed3f2ec2 Adding flavorRef to Service
Change-Id: I2389b6222737dec7fb6c3540c0a42c445f4c567f
2014-09-05 17:21:52 -04:00
tonytan4ever 2ea3f39221 Add MaxCDN driver && unittest
Change-Id: I4b1b51c994cf918b3de898c702869dae475eda95
2014-09-02 18:09:54 -04:00
Obulapathi N Challa a6ab9e8612 Adds support for CloudFront provider
Change-Id: Ib7cde6525242041a244ce6f6e3b866b365582cc0
2014-08-26 14:59:09 -04:00
Jenkins 9392ac7129 Merge "Moved Sphinx requirements from test-requirements to requirements.txt" 2014-08-15 21:52:24 +00:00
tonytan4ever 2ed6c94b43 delete falcon transport
Change-Id: I4f6d62feae10b025e2a6af72016ee235e01d6995
2014-08-14 17:48:47 -04:00
amitgandhinz 460dae3971 Moved Sphinx requirements from test-requirements to requirements.txt
Change-Id: I958af282f9e2153472ad78eb1a2274b6c2377ca0
2014-08-14 13:04:59 -04:00
tonytan4ever 4722cf2684 Remove depency on falcon, update default transport driver to pecan 2014-07-30 15:02:28 -04:00
Malini Kamalambal 27cd36214d Fixes per review comments, increased timeout period 2014-07-29 10:34:44 -04:00
amitgandhinz e8bcae6282 making py33 compatible 2014-07-25 15:45:38 -04:00
amitgandhinz 4ad9091b30 making py33 compatible 2014-07-25 15:43:53 -04:00
Obulapathi N Challa 165ef0294c Created Wheels package 2014-07-25 14:11:36 -04:00
amitgandhinz 0f5ad48553 added manager driver, and base drivers 2014-07-18 16:52:12 -04:00
amitgandhinz 911062a62d removed memcache ref that was not used and breaking py33 2014-07-14 14:55:15 -04:00
amitgandhinz f5c1ce6009 fixed Docker File repo reference to rackerlabs, and fastly client reference 2014-07-01 13:41:13 -04:00
tonytan4ever b50e2dc13c Incorporate latest PR comments:
1. Move fastly-python requirements to fastly requirement, as well as
httplib2.
2. Removed virtualenv creation
3. Add newline in cdn.conf

In Addition:
1. Exposed a uwsgi pid (this allows restart uwsgi when needed)
2. Exposed uwsgi log under /var/log/cdn/cdn.log
2014-06-30 17:19:11 -04:00
tonytan4ever ff029f1002 Add selectively pip install requirements 2014-06-27 14:56:21 -04:00