diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 72364f9..0000000 --- a/.gitignore +++ /dev/null @@ -1,89 +0,0 @@ -# Byte-compiled / optimized / DLL files -__pycache__/ -*.py[cod] -*$py.class - -# C extensions -*.so - -# Distribution / packaging -.Python -env/ -build/ -develop-eggs/ -dist/ -downloads/ -eggs/ -.eggs/ -lib/ -lib64/ -parts/ -sdist/ -var/ -*.egg-info/ -.installed.cfg -*.egg - -# PyInstaller -# Usually these files are written by a python script from a template -# before PyInstaller builds the exe, so as to inject date/other infos into it. -*.manifest -*.spec - -# Installer logs -pip-log.txt -pip-delete-this-directory.txt - -# Unit test / coverage reports -htmlcov/ -.tox/ -.coverage -.coverage.* -.cache -nosetests.xml -coverage.xml -*,cover -.hypothesis/ - -# Translations -*.mo -*.pot - -# Django stuff: -*.log -local_settings.py - -# Flask stuff: -instance/ -.webassets-cache - -# Scrapy stuff: -.scrapy - -# Sphinx documentation -docs/_build/ - -# PyBuilder -target/ - -# IPython Notebook -.ipynb_checkpoints - -# pyenv -.python-version - -# celery beat schedule file -celerybeat-schedule - -# dotenv -.env - -# virtualenv -venv/ -ENV/ - -# Spyder project settings -.spyderproject - -# Rope project settings -.ropeproject diff --git a/.gitreview b/.gitreview new file mode 100755 index 0000000..0154da9 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=review.opendev.org +port=29418 +project=x/ailuropoda.git diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 21fc114..0000000 --- a/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -# Dockerfile for ailuropoda -# Created 2016-06-02 -# Author: JJ Asghar -# - -# Pull down a standard python container -FROM python:2.7.11-alpine - -# Create the place for the application -RUN mkdir -p /usr/src/app - -# Do your work in that place -WORKDIR /usr/src/app - -# Copy the requirements.txt to get dependencies -COPY requirements.txt /usr/src/app/ - -# Get the dependencies -RUN pip install -v -r requirements.txt - -# Copy the file into the working directory -COPY . /usr/src/app - -# Make the pandas cry -CMD [ "python", "./main.py" ] diff --git a/README.md b/README.md deleted file mode 100644 index 4f90d47..0000000 --- a/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Ailuropoda - -This project is to create a "sad panda" api. - -- v1 will give you back a jpg of a sad panda at location: http://localhost:1901/v1/sad_panda01.png - -## Deployment - -### Dockerfile - -For your convenience there is [Dockerfile](./Dockerfile) located in this directory. -You can start up this application assuming you have Docker installed via: - -```bash -$ docker build -t sadpanda . -$ docker run -it -p 1901:1901 --rm --name sadpanda sadpanda -``` - -This will give you a Docker container named sadpanda and start it on port `1901`. - -Go to: http://DOCKERHOST:1901/v1/sad_panda01.png to see the image. diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..eb99bcd --- /dev/null +++ b/README.rst @@ -0,0 +1,9 @@ +This project is no longer maintained. + +The contents of this repository are still available in the Git +source code management system. To see the contents of this +repository before it reached its end of life, please check out the +previous commit with "git checkout HEAD^1". + +For any further questions, please email +openstack-discuss@lists.openstack.org. diff --git a/images/v1/sad_panda01.png b/images/v1/sad_panda01.png deleted file mode 100644 index 1dd8ce1..0000000 Binary files a/images/v1/sad_panda01.png and /dev/null differ diff --git a/main.py b/main.py deleted file mode 100644 index 28ede02..0000000 --- a/main.py +++ /dev/null @@ -1,14 +0,0 @@ -from bottle import Bottle, run, static_file - -app = Bottle() - -@app.route('/') -def hello(): - """Return a friendly HTTP greeting.""" - return 'Hello World!' - -@app.route('/v1/') -def show_pic(filename): - return static_file(filename, root='images/v1/') - -run(app, host='0.0.0.0', port=1901, debug=True) diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index a58841e..0000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -bottle==0.11.6 diff --git a/setup.py b/setup.py deleted file mode 100644 index e69de29..0000000