Commit Graph

47 Commits

Author SHA1 Message Date
Yunhai Zhu d1802b2053 1. update ex_setup.py and get-pip.py with official link, the original link
is out off date, can't access now.
2. pip install testrepository. The
   CMD sudo pip install -e /home/poppy/. reports error, for the missing of
   this testrepository package.

Change-Id: I4da6207be8c1d2a0404902f58cd08e7c546fbb82
2016-06-29 04:03:19 -07:00
Malini Kamalambal 4eb55e2748 End To End tests for multiple origin
This patch updates the end to end tests for multiple origin
scenarios.

Change-Id: I3e37307e2d6bbac287da2225e6bbf8fcfdbbaf30
Fixes: bug #1514567
2015-11-10 12:43:29 -05:00
venkatamahesh c601d3ab8d Change repositories from stackforge to openstack
Change-Id: Iefd739ddf04105f81d35c6ca2d1d50c96f476f38
2015-10-26 14:58:43 -04:00
Malini Kamalambal 93fecc3ec3 Stabilize E2E Tests.
Change-Id: Ic25ef2ee089410a9d4f57e80a8f5499ffc07fdfa
2015-09-10 10:35:55 -04:00
Chris Powell a4939289c5 Added optional port to flasksite
Changed path to file upload

Change-Id: I05bf7020d6548b46a1f40b6749b9bec10ad5a322
2015-08-14 16:12:51 -04:00
Jorge Chai 693f730489 E2E Test: Docker image for E2E Test
Docker image for E2E test that will set up a
simple flask site running on port 80.
The contents of the flask site were provided
by Malini Kamalambal

Change-Id: I643c36480e033d0fe324c48d75872fedd6cc3af4
2015-08-13 07:57:00 -04:00
amitgandhinz 0d08dfa66e Added Docker Files to mimic third party API's
This change works towards making the API tests pass
against Mimic'd drivers so that real production accounts
do not need to be set up - namely:
- Mimic - Fastly
- Mimic - Keystone

It also makes the mimic fastly instance the default driver in /etc

Implements: bp/mimic-fastly

Change-Id: I35d36fbc2452fc4e2233c19abefd738c9975edd0
2015-08-04 15:12:34 -04:00
amitgandhinz fb0ac10de1 Migrate Docker from fig to docker-compose
Also updated the docker files to support the poppy-server and
poppy-worker distributed architecture.

Change-Id: Ib7f2d07631995329f9273aa4b0c4f661ef66fbd6
2015-07-23 14:17:22 -04:00
amitgandhinz ec30b1fcee Added Zookeeper to fig config
Change-Id: Ia35aaea91c5641fb944dac07190da7a4f1598bdd
2015-03-30 13:45:00 -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
Obulpathi 9ba23456cd Makes running api tests via tox simpler
Change-Id: I92c7a010e6e6119f082459ca6b6748ca93cf95bd
2015-02-18 11:26:42 -05:00
Chris Powell 5cb58cb303 Update docker configuration for api tests.
Change-Id: I8f6b0fea655858a2521e104811e6ccf72dfb5c09
2015-01-14 11:13:55 -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 202b533058 Added new akamai config options to docker configs
Change-Id: I8fca54d4d81ebf66a6b7a683cb9bc06a14e5e2f1
2014-12-23 15:12:46 -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
Chris Powell 8321022664 Add mimic support for docker api
Added mimic docker file and included support for running a
poppy/cassandra/mimic in containers for api testing. The fig_mimic
file will also run any local changes.

Change-Id: I6cd321229d9867d145b0347b59cbe9236cdea25c
2014-12-03 17:02:55 -05:00
amitgandhinz 181bdbcba0 Added tox environment for running api tests using docker
Change-Id: I0b9f6a34218e52ebe6cda590eb271d9e49ed8186
2014-12-02 17:23:16 -05:00
Shaunak Kashyap 837333b0d9 Clarifying development setup
Change-Id: I92b682bc12d06c2bdc9dd384a7095897478b7c2c
2014-11-27 05:55:40 -08:00
Shaunak Kashyap 05675b813d Enable local development using fig/docker setup
With this change, you can create a local development environment using fig,
make changes to local code, causing the uwsgi application to be automatically
reloaded in the poppy Docker container.

This change also fixes the repose/init.sh file to account for the new
location of the repose-valve.jar file.

Change-Id: I4e1ac57cecdba717a6f92917103ac778be449cc5
2014-11-13 17:48:33 -08:00
Obulpathi 95e5d8a72f Update fig documentation
Change-Id: I7e82ba79fea74aa601708f1e412964c3cde22ad8
2014-11-13 13:49:21 -05:00
amitgandhinz 5355d2fddd Handle firewall issues for ubuntu keystore
Change-Id: I44997b30c2870a12bfd0a707f692585784c77b06
2014-10-28 16:36:47 -04:00
Shaunak Kashyap 686630e56e Peg cassandra to 2.0.*
Change-Id: I4d46a1509f8ef4dc58bac2e0d7d94a5081529da1
Closes-Bug: #1385001
2014-10-24 16:56:06 -07:00
amitgandhinz 4ce5d43e7e Added Fig configuration to create linked docker containers
Change-Id: I08642344a11f2bf6f55823040b4470e89d0c390e
2014-10-24 20:18:17 +00:00
amitgandhinz 82812120b8 Added Repose Docker File
This provides middleware for Authentication and Role Based Access Controls
using Openstack Keystone

Change-Id: Ic17b671f8404663d7bbca8c74bdac2964a37c581
2014-10-24 14:44:35 -04:00
Shaunak Kashyap 907acf8f9f Adding command to import schema
Change-Id: I2ee649fed4dc6bca839686e5d7c318d675cc5bc6
2014-10-23 19:51:46 -07:00
amitgandhinz 77b7725d34 renamed conf file to poppy, and shortened summary 2014-08-07 14:33:33 -04:00
amitgandhinz cdfba61567 rename to poppy 2014-08-07 13:51:30 -04:00
amitgandhinz f71389c2bb rename to poppy 2014-08-07 13:22:34 -04:00
amitgandhinz 31906801f8 updated tests to use poppy 2014-08-07 13:16:46 -04:00
amitgandhinz 13b15c9f39 Readme file for the Cassandra Docker setup 2014-07-21 10:56:03 -04:00
amitgandhinz f5c1ce6009 fixed Docker File repo reference to rackerlabs, and fastly client reference 2014-07-01 13:41:13 -04:00
tonytan4ever f163ecf431 Merge branch 'master' into rakcerlabs-master
Conflicts:
	docker/api-cdn/Dockerfile
2014-07-01 11:18:29 -04:00
tonytan4ever 103ac83df6 change cassandra-cdn 2014-07-01 11:11:50 -04:00
tonytan4ever 27cbdd971f Change repo back to rackerlab. 2014-06-30 17:20:04 -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 f2bc009572 Update git repo location: cloning from rackerlab, not my branch. 2014-06-30 15:46:18 -04:00
tonytan4ever 8de2de0368 Finishing up cloud cdn dockerfile.
Note:
   You will need to modify cdn.conf with the correct storage type in
case you want to use cassandra, and specify the host under cassandra to
be the host linked to your container too.
   Format to run this docker container:
      docker run --name="<your-container-cdn-server-name>" -p 80:80 -d
--link <your-cassandra-server-container>:<your-cassandra-server-alias>
<docker-image>
2014-06-30 12:28:03 -04:00
amitgandhinz 0601ba0234 docker goodness 2014-06-27 17:24:47 -04:00
amitgandhinz 3b3c02b173 removed conf files, reference from etc instead 2014-06-27 14:31:55 -04:00
amitgandhinz aaa1ac62e6 moved api docker file to its own folder and added conf files 2014-06-27 14:30:32 -04:00
Amit Gandhi d65cee8b67 Merge pull request #22 from tonytan4ever/master
Add lossing scripts for cassandra cdn
2014-06-27 14:27:30 -04:00
tonytan4ever c5cfa12d94 Add lossing scripts for cassandra cdn 2014-06-27 14:24:42 -04:00
Amit Gandhi 7137e4aadc Merge pull request #21 from tonytan4ever/master
Add cassandra docker file
2014-06-27 13:04:24 -04:00
amitgandhinz fc439b006f corrected docker file 2014-06-27 12:54:43 -04:00
tonytan4ever f4a705c98c Add cassandra-cdn docker file 2014-06-27 11:11:03 -04:00
amitgandhinz 1e6ebd00b4 added docker file 2014-06-27 10:56:50 -04:00