Commit Graph

24 Commits

Author SHA1 Message Date
Witek Bedyk 811acd76c9 Remove project content on master branch
This is step 2b of repository deprecation process as described in [1].
Project deprecation has been anounced here [2].

[1] https://docs.openstack.org/project-team-guide/repository.html#step-2b-remove-project-content
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016814.html

Depends-On: https://review.opendev.org/751983
Change-Id: I83bb2821d64a4dddd569ff9939aa78d271834f08
2020-09-15 10:12:44 +02:00
Sean McGinnis 9f49754799
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I5868501da8cfc975c62e63a106f0fcae2384112a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-13 06:01:39 -05:00
Andreas Jaeger cffdf512c3 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I2c251d4be8f87a0772dbb06083639325e69ed98d
2020-04-05 11:36:39 +02:00
Ghanshyam Mann 79957946b5 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

monasca-transform is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: Iae694c6f91273a898556fb342121024fadb3586e
2019-11-16 16:53:37 +00:00
pengyuesheng 6394330ba7 Blacklist sphinx 2.1.0 (autodoc bug)
See https://github.com/sphinx-doc/sphinx/issues/6440 for upstream details

Change-Id: I808ed14d183df2c7ef501950604b9e437c1fa45c
2019-07-30 17:03:21 +08:00
melissaml 040211ba89 Update hacking version to latest
This commit updates hacking version to 1.1.x and fixes related
pep8 issues.
Also added pycodestyle in test-requirements

Story: 2004930
Task: 29318

Co-Authored-By: Akhil Jain <akhil.jain@india.nec.com>

Change-Id: Id3ad30d23b902ee6f7277f7ec20d7d523df232f6
2019-06-12 13:22:41 +05:30
akhiljain23 71ad20ab2f Update sphinx version in test-requirement.txt
Update sphinx dependency to avoid gate failure.
Global requirement link [1]

[1] 23ff2adcec/global-requirements.txt (L455)

Change-Id: Ib6b4567948d27d597555ebb921e7d2e1a019c27e
2019-05-30 13:05:16 +05:30
Vu Cong Tuan 077ea431ec Remove testrepository and .testr.conf
This commit is a follow-up of "switch to using stestr"
which was merged already [1].
After switch to using stestr, testrepository and .testr.conf
are unnecessary and should be removed.

This patch also switch from "testr" to "stestr" for coverage jobs.

[1] https://review.openstack.org/575430

Change-Id: Ide998f902197ff24e28e998daa8defda090fab3f
2018-07-12 09:50:52 +07:00
Charles Short 5e2687f637 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: Ic0ddaae3bd0a4ad4e34264429f717a292e17a1c9
Signed-off-by: Charles Short <zulcss@gmail.com>
2018-06-29 09:45:40 +02:00
OpenStack Proposal Bot 4527b820a7 Updated from global requirements
Includes a manual refresh of lower-constraints.txt.

Change-Id: I3fa06dae81ee3e1a90e8d2b4c9fc7adecf413dc2
2018-05-04 11:48:45 -07:00
OpenStack Proposal Bot 055107b9b8 Updated from global requirements
Change-Id: Ifa1669faf84270af6af58d68141a53e794c45c71
2017-09-16 23:14:59 +00:00
OpenStack Proposal Bot bd499322ee Updated from global requirements
Change-Id: I2c88d4a49660b2c521b9c73f27a9404ab32fe41d
2017-08-18 04:43:34 +00:00
OpenStack Proposal Bot 0c7a16c252 Updated from global requirements
Change-Id: I09a4dc26863f773c2d50de0780f51f64aef50163
2017-06-27 12:13:03 +00:00
OpenStack Proposal Bot 0f8f2f795a Updated from global requirements
Change-Id: I8ea0b6e24916e59f193b63b00f8580c76f661846
2017-05-30 11:22:35 -07:00
Ashwin Agate f99a3faf68 Fix development environment and functional tests
Changing devstack environment vagrant box and
also rename the devstack VM to 'devstack'
from 'pg-tips'

Also fixing all the tests that were broken when
they were moved from tests/unit to tests/functional
with this review
https://review.openstack.org/#/c/400237/

Update devstack README with a section called
Development workflow for monasca-transform with
steps developers can take to develop and run
tests.

Change-Id: I11678148ba2bcb96eb3e2a522176683dc8bca30a
2017-04-11 12:13:25 -07:00
OpenStack Proposal Bot d78ac0998a Updated from global requirements
Change-Id: I16ddc3e9325ba35ce478203e34e4fdb244b88f7f
2017-03-24 16:29:28 +00:00
Jenkins de651513c3 Merge "[Fix gate]Update test requirement" 2017-03-23 23:14:14 +00:00
OpenStack Proposal Bot 81b239cc21 Updated from global requirements
Change-Id: Iaaee5ebe873b6868e6503cc166a10637d04c33be
2017-03-17 15:59:01 -07:00
ricolin 8d3f0b9638 [Fix gate]Update test requirement
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848

Change-Id: I13da9b3beed167ebcb8edf57a7abfa1157dd7010
2017-03-02 19:30:28 +08:00
Tony Breeds 51001d206a Manual sync with openstack/requirements
In I530bd05641f39d94e5a543dcbb219a38f08a1460 it's been requested that the
requirements bot sync global requirements to monasca-transform.

This will fail as tox is listed in test-requirements.txt.  This change
remove tox from test-requirements as manually runs the bot against this
repo.  meaning that once the change merges requirements syncs will be
automatic and simpler

Change-Id: I1c5e5c288b86bd44c1346a26079bf8bd9b7b9167
Needed-By: I530bd05641f39d94e5a543dcbb219a38f08a1460
2016-11-28 19:44:00 +11:00
David C Kennedy d76af6a0f0 Corrected test environment
Moved what were called unit tests to the functional directory as there is
more work to be done to make them self supporting.
Added sphinx to the test-requirements along with testr deps.
Adjusted the tox.ini to suit.
Added doc source tree with the minimal set of files to allow sphinx
success.

Change-Id: Ic64c2ccd01778bb0d1142d12ca43b2346bdc7aa7
2016-11-22 10:24:07 +00:00
Ashwin Agate 1c65ca011b Validate metrics before publishing to kafka
Validate monasca metrics using monasca-common
validate library (requires monasca-common >= 1.1.0)

Change-Id: Iea784edbb3b57db57e6a90d1fc557b2c386c3713
2016-09-30 19:07:02 +00:00
darfed bb83b30dc1 Add TLS/SSL capability to database connection
Add properties to conf file to allow configuration of
SSL for the database connection.  Done for both the python
and java connection strings.

Change-Id: I4c3d25c3f8f12eae801a6a818bf4ac7acd93d2dc
2016-07-28 10:12:10 +01:00
Ashwin Agate 8f61dd95a9 monasca-transform initial commit
The monasca-transform is a new component in Monasca that
aggregates and transforms metrics.

monasca-transform is a Spark based data driven aggregation
engine which collects, groups and aggregates existing individual
Monasca metrics according to business requirements and publishes
new transformed (derived) metrics to the Monasca Kafka queue.

Since the new transformed metrics are published as any other
metric in Monasca, alarms can be set and triggered on the
transformed metric, just like any other metric.

Co-Authored-By: Flint Calvin <flint.calvin@hp.com>
Co-Authored-By: David Charles Kennedy <david.c.kennedy@hpe.com>
Co-Authored-By: Ashwin Agate <ashwin.agate@hp.com>

Implements: blueprint monasca-transform

Change-Id: I0e67ac7a4c9a5627ddaf698855df086d55a52d26
2016-05-26 00:10:37 +00:00