monasca-common


Namemonasca-common JSON
Version 3.8.0 PyPI version JSON
download
home_pagehttps://opendev.org/openstack/monasca-common
SummaryMonasca common python modules
upload_time2023-08-29 12:10:34
maintainer
docs_urlNone
authorOpenStack
requires_python>=3.6
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Team and repository tags
========================

.. image:: https://governance.openstack.org/tc/badges/monasca-common.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html

.. Change things from this point on

Overview
========

``monasca-common`` is a collection of modules containing reusable application
and platform code for building monitoring related services.

Python
======

To install the Python monasca-common modules, git clone the source and
run the following command:

::

   $ sudo python setup.py install

To run the unit tests use:

::

   $ tox -e py35

For information on contributing, see `Contribution Guidelines`_.

* License: Apache License, Version 2.0
* Source: https://opendev.org/openstack/monasca-common
* Bugs: https://storyboard.openstack.org/#!/project/865

.. _`Contribution Guidelines`: https://docs.openstack.org/monasca-api/latest/contributor/index.html

Java
======

Build Instructions
~~~~~~~~~~~~~~~~~~

Download and do mvn install.

::

   $ cd java
   $ mvn clean install

.. caution::

  There is a pom.xml in the base directory but that should only be used
  for the Zuul build.

The issue is that currently StackForge’s bare-precise system only has Maven 2
on it and at least one of the modules of monasca-common requires Maven 3.

In order to get around this problem, the pom.xml in the base directory
uses the exec-maven-plugin to run the script run_maven.sh. This script
checks if the version of mvn is Maven 3 and if it is not, it downloads
Maven 3 and then uses it to run the build in the java directory.

In addition, the run_maven.sh script copies the jar files that get built
from java/``*``/target directories to the target directory in the base
project directory. This is because the StackForge
“monasca-common-localrepo-upload” job uploads any jar files from that
directory to https://tarballs.opendev.org/openstack/ci/monasca-common.
Copying the jar files to that directory made it so there didn’t have to
be changes made to the “monasca-common-localrepo-upload” job. The build
for monasca-thresh downloads the jars it depends on from that location on
tarballs.openstack.org.

A change has been submitted to StackForge to switch to bare-trusty for
this build in the hopes that those systems will have maven 3, but it is
not known how long that change will take to be accepted.

Application Specific Sub-Projects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-  `monasca-common-model`_ - Common domain and event models for
   monitoring services.

Platform Sub-Projects
~~~~~~~~~~~~~~~~~~~~~

-  `monasca-common-dropwizard`_ - Utilities for building and testing
   dropwizard services.
-  `monasca-common-hibernate`_ - Hibernate based model of Monasca SQL
   schema
-  `monasca-common-influxdb`_ - InfluxDB related utilities.
-  `monasca-common-kafka`_ - Various utilities for working with Kafka.
-  `monasca-common-persistence`_ - Persistence related infrastructure
   and utilities.
-  `monasca-common-streaming`_ - Streaming related utilities.
-  `monasca-common-testing`_ - A set of testing related dependencies.
-  `monasca-common-util`_ - Various utilities such as for serialization,
   dependency injection, date and time, invocation retries, concurrency,
   etc.



.. _monasca-common-model: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-model
.. _monasca-common-dropwizard: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-dropwizard
.. _monasca-common-hibernate: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-hibernate
.. _monasca-common-influxdb: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-influxdb
.. _monasca-common-kafka: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-kafka
.. _monasca-common-persistence: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-persistence
.. _monasca-common-streaming: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-streaming
.. _monasca-common-testing: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-testing
.. _monasca-common-util: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-util




            

Raw data

            {
    "_id": null,
    "home_page": "https://opendev.org/openstack/monasca-common",
    "name": "monasca-common",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "OpenStack",
    "author_email": "openstack-discuss@lists.openstack.org",
    "download_url": "https://files.pythonhosted.org/packages/e9/96/e044962a51fb6b1d21e4ac3f2756c3a9ddbb60e1099460b12cc3ddb8e084/monasca-common-3.8.0.tar.gz",
    "platform": null,
    "description": "Team and repository tags\n========================\n\n.. image:: https://governance.openstack.org/tc/badges/monasca-common.svg\n    :target: https://governance.openstack.org/tc/reference/tags/index.html\n\n.. Change things from this point on\n\nOverview\n========\n\n``monasca-common`` is a collection of modules containing reusable application\nand platform code for building monitoring related services.\n\nPython\n======\n\nTo install the Python monasca-common modules, git clone the source and\nrun the following command:\n\n::\n\n   $ sudo python setup.py install\n\nTo run the unit tests use:\n\n::\n\n   $ tox -e py35\n\nFor information on contributing, see `Contribution Guidelines`_.\n\n* License: Apache License, Version 2.0\n* Source: https://opendev.org/openstack/monasca-common\n* Bugs: https://storyboard.openstack.org/#!/project/865\n\n.. _`Contribution Guidelines`: https://docs.openstack.org/monasca-api/latest/contributor/index.html\n\nJava\n======\n\nBuild Instructions\n~~~~~~~~~~~~~~~~~~\n\nDownload and do mvn install.\n\n::\n\n   $ cd java\n   $ mvn clean install\n\n.. caution::\n\n  There is a pom.xml in the base directory but that should only be used\n  for the Zuul build.\n\nThe issue is that currently StackForge\u2019s bare-precise system only has Maven 2\non it and at least one of the modules of monasca-common requires Maven 3.\n\nIn order to get around this problem, the pom.xml in the base directory\nuses the exec-maven-plugin to run the script run_maven.sh. This script\nchecks if the version of mvn is Maven 3 and if it is not, it downloads\nMaven 3 and then uses it to run the build in the java directory.\n\nIn addition, the run_maven.sh script copies the jar files that get built\nfrom java/``*``/target directories to the target directory in the base\nproject directory. This is because the StackForge\n\u201cmonasca-common-localrepo-upload\u201d job uploads any jar files from that\ndirectory to https://tarballs.opendev.org/openstack/ci/monasca-common.\nCopying the jar files to that directory made it so there didn\u2019t have to\nbe changes made to the \u201cmonasca-common-localrepo-upload\u201d job. The build\nfor monasca-thresh downloads the jars it depends on from that location on\ntarballs.openstack.org.\n\nA change has been submitted to StackForge to switch to bare-trusty for\nthis build in the hopes that those systems will have maven 3, but it is\nnot known how long that change will take to be accepted.\n\nApplication Specific Sub-Projects\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n-  `monasca-common-model`_ - Common domain and event models for\n   monitoring services.\n\nPlatform Sub-Projects\n~~~~~~~~~~~~~~~~~~~~~\n\n-  `monasca-common-dropwizard`_ - Utilities for building and testing\n   dropwizard services.\n-  `monasca-common-hibernate`_ - Hibernate based model of Monasca SQL\n   schema\n-  `monasca-common-influxdb`_ - InfluxDB related utilities.\n-  `monasca-common-kafka`_ - Various utilities for working with Kafka.\n-  `monasca-common-persistence`_ - Persistence related infrastructure\n   and utilities.\n-  `monasca-common-streaming`_ - Streaming related utilities.\n-  `monasca-common-testing`_ - A set of testing related dependencies.\n-  `monasca-common-util`_ - Various utilities such as for serialization,\n   dependency injection, date and time, invocation retries, concurrency,\n   etc.\n\n\n\n.. _monasca-common-model: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-model\n.. _monasca-common-dropwizard: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-dropwizard\n.. _monasca-common-hibernate: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-hibernate\n.. _monasca-common-influxdb: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-influxdb\n.. _monasca-common-kafka: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-kafka\n.. _monasca-common-persistence: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-persistence\n.. _monasca-common-streaming: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-streaming\n.. _monasca-common-testing: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-testing\n.. _monasca-common-util: https://github.com/openstack/monasca-common/tree/master/java/monasca-common-util\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Monasca common python modules",
    "version": "3.8.0",
    "project_urls": {
        "Homepage": "https://opendev.org/openstack/monasca-common"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c309d21bda76853d4da4ee16d58038da95032c26e1549786ac54586af63307a",
                "md5": "21366697f41b08092c262a1780b6e7d2",
                "sha256": "8a320142c00ec5a517c7b2398e5e0ff1c47286fe06babb874f39a25f6bb52d6c"
            },
            "downloads": -1,
            "filename": "monasca_common-3.8.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "21366697f41b08092c262a1780b6e7d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 113743,
            "upload_time": "2023-08-29T12:10:32",
            "upload_time_iso_8601": "2023-08-29T12:10:32.565822Z",
            "url": "https://files.pythonhosted.org/packages/2c/30/9d21bda76853d4da4ee16d58038da95032c26e1549786ac54586af63307a/monasca_common-3.8.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e996e044962a51fb6b1d21e4ac3f2756c3a9ddbb60e1099460b12cc3ddb8e084",
                "md5": "e9edded27702823da2a60393cf144935",
                "sha256": "45a5d9f3faaceaf2a2f3de878f76f606f65f76c21aefc9678947fb402f1ea36c"
            },
            "downloads": -1,
            "filename": "monasca-common-3.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e9edded27702823da2a60393cf144935",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 193687,
            "upload_time": "2023-08-29T12:10:34",
            "upload_time_iso_8601": "2023-08-29T12:10:34.301423Z",
            "url": "https://files.pythonhosted.org/packages/e9/96/e044962a51fb6b1d21e4ac3f2756c3a9ddbb60e1099460b12cc3ddb8e084/monasca-common-3.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-29 12:10:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "monasca-common"
}
        
Elapsed time: 0.13806s