Rename to faafo (First App Application for OpenStack)
This commit is contained in:
parent
7b045c9393
commit
58bd5759b8
12
README.rst
12
README.rst
@ -1,5 +1,5 @@
|
||||
OpenStack tutorial application
|
||||
==============================
|
||||
First App Application for OpenStack (faafo)
|
||||
===========================================
|
||||
|
||||
Workflow
|
||||
--------
|
||||
@ -99,10 +99,10 @@ tracker services in the foreground, each service in a separate window.
|
||||
|
||||
.. code::
|
||||
|
||||
$ source .venv/bin/activate; oat-api
|
||||
$ source .venv/bin/activate; oat-worker
|
||||
$ source .venv/bin/activate; oat-tracker
|
||||
$ source .venv/bin/activate; oat-producer
|
||||
$ source .venv/bin/activate; faafo-api
|
||||
$ source .venv/bin/activate; faafo-worker
|
||||
$ source .venv/bin/activate; faafo-tracker
|
||||
$ source .venv/bin/activate; faafo-producer
|
||||
|
||||
Example outputs
|
||||
---------------
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
oat-api \
|
||||
faafo-api \
|
||||
--database-url mysql://tutorial:secretsecret@service:3306/tutorial \
|
||||
--debug --verbose
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
oat-producer \
|
||||
faafo-producer \
|
||||
--amqp-url amqp://tutorial:secretsecret@service:5672/ \
|
||||
--api-url http://api:5000 \
|
||||
--debug --verbose
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
oat-tracker \
|
||||
faafo-tracker \
|
||||
--amqp-url amqp://tutorial:secretsecret@service:5672/ \
|
||||
--api-url http://api:5000 \
|
||||
--debug --verbose
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
oat-worker \
|
||||
faafo-worker \
|
||||
--amqp-url amqp://tutorial:secretsecret@service:5672/ \
|
||||
--target /home/vagrant \
|
||||
--debug --verbose
|
||||
|
@ -18,7 +18,7 @@ import flask.ext.sqlalchemy
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from openstack_application_tutorial import version
|
||||
from faafo import version
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
@ -25,8 +25,8 @@ from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
import requests
|
||||
|
||||
from openstack_application_tutorial import queues
|
||||
from openstack_application_tutorial import version
|
||||
from faafo import queues
|
||||
from faafo import version
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
@ -24,8 +24,8 @@ from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
import requests
|
||||
|
||||
from openstack_application_tutorial import queues
|
||||
from openstack_application_tutorial import version
|
||||
from faafo import queues
|
||||
from faafo import version
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
@ -12,4 +12,4 @@
|
||||
|
||||
import pbr.version
|
||||
|
||||
version_info = pbr.version.VersionInfo('openstack-application-tutorial')
|
||||
version_info = pbr.version.VersionInfo('faafo')
|
@ -28,8 +28,8 @@ from kombu.pools import producers
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from openstack_application_tutorial import queues
|
||||
from openstack_application_tutorial import version
|
||||
from faafo import queues
|
||||
from faafo import version
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
16
setup.cfg
16
setup.cfg
@ -1,11 +1,11 @@
|
||||
[metadata]
|
||||
name = openstack-application-tutorial
|
||||
summary = OpenStack Application Tutorial
|
||||
name = faafo
|
||||
summary = First App Application for OpenStack
|
||||
description-file =
|
||||
README.rst
|
||||
author = Christian Berendt
|
||||
author-email = christian@berendt.io
|
||||
home-page = https://www.berendt.io
|
||||
home-page = https://blog.berendt.io
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
@ -18,7 +18,7 @@ classifier =
|
||||
Programming Language :: Python :: 2.6
|
||||
|
||||
[files]
|
||||
packages = openstack_application_tutorial
|
||||
packages = faafo
|
||||
|
||||
[global]
|
||||
setup-hooks =
|
||||
@ -26,10 +26,10 @@ setup-hooks =
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
oat-producer = openstack_application_tutorial.producer:main
|
||||
oat-tracker = openstack_application_tutorial.tracker:main
|
||||
oat-worker = openstack_application_tutorial.worker:main
|
||||
oat-api = openstack_application_tutorial.api:main
|
||||
faafo-producer = faafo.producer:main
|
||||
faafo-tracker = faafo.tracker:main
|
||||
faafo-worker = faafo.worker:main
|
||||
faafo-api = faafo.api:main
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
Loading…
Reference in New Issue
Block a user