Commit Graph

16 Commits

Author SHA1 Message Date
zhurong 9f92d3a83e Docs: Autogenerate config documentation
Ensure the documentation is kept up to date by automatically
generating it from the source when the docs are built.

Change-Id: I3f7e61de7534a44e5d0a4ce96aaed43f4e8951ff
2018-07-31 14:24:37 +08:00
Nguyen Van Trung 640bdac0ac Switch to using stestr
According to Openstack summit session [1] stestr is maintained
project to which all Openstack projects should migrate.
Let's switch it then.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: Ib27496313447cac962e4849223ab9eb96a9d873f
2018-07-09 15:15:17 +07:00
Felipe Monteiro b360bf7ab7 Add policy sample generation
This adds the entry point and config file necessary for using the
oslo.policy sample generation script. It also adds a tox target to
simplify the usage of it. Finally, this commit adds
murano.common.policies.base.list_rules to
murano.common.polices (__init__.py) so that the base rules are
also included in the generated policy file.

Note that the policy sample is generated as a YAML which is
the standard adopted by Nova [0] and Keystone [1] and is now
the standard across OpenStack since Ocata [2]:

    While the old json format policy file is still supported,
    we recommend using the newer YAML format file, more intuitive
    syntax.

The output from tox -egenpolicy will be:

    murano.policy.sample.yaml in murano/etc.

The policy documentation was already updated in
I1a8581a559e4333a74d56a5bdce7e6d1f117907d

[0] e845d66a1b/etc/nova/nova-policy-generator.conf
[1] https://github.com/openstack/keystone/blob/master/config-generator/keystone-policy-generator.conf
[2] https://docs.openstack.org/ocata/config-reference/policy-yaml-file.html#older-json-format-policy

Change-Id: I2356ac0b2033bd83caaf2672189670fc300e55fd
Partially-Implements: blueprint policy-in-code
2017-06-17 16:11:17 +01:00
zhurong 12a7f8e455 Initial commit for murano api-ref
This is the first commit for add murano api-ref.

Partially-Implements: blueprint murano-api-ref
Change-Id: I943e01f5ab8721e0452d900e5e24540cbdeb9fa2
2017-01-03 15:30:35 +08:00
zhurong deb487d8c0 Generate separate db for murano service broker
1) Create separate config use the separate config.py
to use: tox -egencfconfig

2) Create separate db for murano service broker
to use: tox -e venv murano-cfapi-db-manage \
	--config-file etc/murano/murano-cfapi.conf upgrade

Change-Id: Ifd3551ace000e496d99725f46dbead62f7ef64b0
partial-implement: bp separate-service-broker-from-murano
2016-05-31 21:25:33 -04:00
Kirill Zaitsev 1b2439f6a9 Add reno for release notes management
An initial patch to add reno and create a base directory for
release notes

Change-Id: Ia50bac31eb431144889c79ed21a1bc1a8f94624e
2015-11-12 00:28:04 +03:00
Ekaterina Chernova 3e8b3bb3ad Add logging.conf to gitignore
Sometimes user wants to specify it's own logging config.
But now it should be excluded from commit all the time.

Change-Id: I323375c7b8e49658fd96a001bd6b8a3dfd675031
2015-08-25 16:44:56 +00:00
zhu.rong e640b075d5 Update the gitingore file
Update the gitingore file to ingore *.swp

Change-Id: Ib5c9776ceec68f743589b7023243fabff34b33ea
2015-08-14 21:29:27 +08:00
zhu.rong 101e0771f8 Update the gitingore file
Update the gitingore file to ingore eggs/ .eggs/ develop-eggs/ and
etc/murano/murano.conf

Change-Id: I346f0324c2d4ca813f26a451eaa240e2cddcf5f8
2015-08-06 11:01:37 +08:00
Filip Blaha a4788eeeab Adding lintstack to support pylint gate job.
* support scripts were copied from other projects like cinder, ...
* some modification were made to support some code checks
* at first we focus on code issues classified as 'refactor'
* job compare sets of code issues of current and previous commit
* if new issue emerged in current commit then -1
* use tox to launch locally 'tox -e pylint'
* next step is to create non-voting gate job
* job can be tested locally, example:
* 1) create method with more then 5 arguments
* 2) commit the change
* 3) run 'tox -e pylint'
* job should fail on 'Too many arguments'

Change-Id: Iccfb842de92e2284bedcfc7d9b1df5f456ba9d14
2015-04-23 15:52:57 +02:00
Ruslan Kamaldinov 06da408563 Added generated sample config to gitignore
Change-Id: Ie289cb43a696ce3c3d41458f21cdc0e7062f74e1
2014-11-29 06:45:49 +03:00
Stan Lagun 56b2d5df27 Fixes silent deletion of environments
Now environment deletion is done as a regular deployment that can fail.
Environments that are deleted, but deletion process has failed remain in database
and shown in dashboard with status 'delete failure'. Environments that are being deleted
has status 'deleting' and do not disappear before they really got deleted on engine side

Also improved status reporting for environments. Now it also reports status of last deployment -
'deploy failure', 'delete failure'

P.S. Functional tests were slightly refactored and fixed to reflect changes
in deletion logic

Change-Id: I05625dd71f7ca9559bb88319b26b122214f15019
Closes-Bug: #1325101
2014-08-19 12:52:52 +04:00
Ruslan Kamaldinov d8ba3ed42b Migrate unit test to testtools
Additional changes:
* Removed testing framework for MuranoPL since it was based on Nose
* Made test_log run only on Linux hosts
* Every testcase is now required to have proper setUp method

Change-Id: I86ee5ec487019c2d1b77f0fd34f748cf9c6412a0
Implements: blueprint migrate-murano-ut-to-testtoools
2014-06-04 18:41:07 +04:00
Ruslan Kamaldinov 0f2f14a6f2 Update gitignore
Change-Id: I459b962ebe011b023526e2fdbc3641782f97c97c
2014-03-08 12:33:00 +00:00
Ekaterina Fedorova 968296bf7e Cherry-pick the following commits from release-0.4
* Fix errors in infrastructure
	blueprinr one-style-config
	1) Update sample config - remove non-existing directory
	2) Add 0.4.1 version
	3) Rename config file to sample
	Fixes-Bug: 1270734

* Catch AttributeError in case of incorrect session_id
	Closes-Bug: 1269749

* Fixed issue with copy configuration files.
	Closes-Bug: #1271079

* Add translation support

	Use openstack.common.gettextutils for translation
	Closes-Bug: #1267514

* Fix name for syslog_log_facility param

* Update requirements for a release-0.4.1

* Handle incorrect env_id
	Closes-Bug: 1227154

* Import _ not implicit

Change-Id: I2744eaeef369220c5a8dabb027ba40622be9d155
2014-02-10 18:52:31 +04:00
Serg Melikyan 33a0a171a3 Removed all projects except Glazier Api 2013-04-09 13:25:02 +04:00