Team and repository tags
========================
[![Team and repository tags](https://governance.openstack.org/badges/monasca-common.svg)](https://governance.openstack.org/reference/tags/index.html)
<!-- Change things from this point on -->
# Overview
`monasca-common` is a collection of sub-projects containing reusable application and platform code for building monitoring related services.
### Build Instructions
Download and do mvn install.
$ cd java
$ mvn clean install
There is a pom.xml in the base directory but that should only be used for the StackForge 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 http://tarballs.openstack.org/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](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-model) - Common domain and event models for monitoring services.
### Platform Sub-Projects
* [monasca-common-dropwizard](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-dropwizard) - Utilities for building and testing dropwizard services.
* [monasca-common-hibernate](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-hibernate) - Hibernate based model of Monasca SQL schema
* [monasca-common-influxdb](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-influxdb) - InfluxDB related utilities.
* [monasca-common-kafka](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-kafka) - Various utilities for working with Kafka.
* [monasca-common-persistence](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-persistence) - Persistence related infrastructure and utilities.
* [monasca-common-streaming](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-streaming) - Streaming related utilities.
* [monasca-common-testing](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-testing) - A set of testing related dependencies.
* [monasca-common-util](https://github.com/openstack/monasca-common/tree/master/java/monasca-common-util) - Various utilities such as for serialization, dependency injection, date and time, invocation retries, concurrency, etc.
python monasca-common
======================
To install the python monasca-common modules, git clone the source and run the
following command::
$ sudo python setup.py install
To run the python monasca-common tests use::
$ nosetests monasca_common/tests
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共248个文件
java:138个
py:58个
xml:15个
资源分类:Python库 所属语言:Python 资源全名:monasca-common-2.6.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | monasca-common-2.6.0.tar.gz (248个子文件)
AUTHORS 2KB
setup.cfg 598B
ChangeLog 13KB
.testr.conf 381B
.coveragerc 104B
AlarmExpression.g4 3KB
.gitignore 139B
.gitignore 8B
.gitignore 8B
.gitignore 8B
.gitignore 8B
.gitignore 8B
.gitignore 8B
tox.ini 2KB
AlarmExpressionTest.java 19KB
SlidingWindowStatsTest.java 13KB
Serialization.java 12KB
HttpAuthClient.java 11KB
SlidingWindowStats.java 11KB
Config.java 9KB
AuthConstants.java 9KB
SerializationTest.java 8KB
AlarmSubExpressionTest.java 8KB
AlarmDefinitionDb.java 8KB
AlarmDb.java 7KB
AlarmSubExpression.java 7KB
AlarmDefinitionUpdatedEvent.java 7KB
FilterUtils.java 7KB
Duration.java 7KB
AlarmStateTransitionedEvent.java 7KB
BeanMapper.java 7KB
SubAlarmDefinitionDb.java 6KB
AlarmExpression.java 6KB
TokenAuth.java 6KB
AlarmSubExpressionListener.java 6KB
TokenExceptionHandler.java 6KB
AuthClientFactory.java 6KB
HttpClientPoolFactory.java 5KB
MetricsTest.java 5KB
SubAlarmDb.java 5KB
AbstractResourceTest.java 5KB
AlarmUpdatedEvent.java 5KB
Metric.java 5KB
ConversionsTest.java 5KB
InstrumentedThreadPoolExecutor.java 5KB
Conversions.java 5KB
AbstractAuditablePersistable.java 4KB
NotificationMethodDb.java 4KB
KafkaHealthCheck.java 4KB
AbstractAppTest.java 4KB
AlarmDefinitionCreatedEvent.java 4KB
AlarmActionDb.java 4KB
Injector.java 4KB
SubAlarmDefinitionDimensionDb.java 4KB
KafkaConsumerConfiguration.java 4KB
AlarmDeletedEvent.java 3KB
JsonHelpers.java 3KB
MetricDefinitionDimensionsDb.java 3KB
AlarmCreatedEvent.java 3KB
KafkaProducerConfiguration.java 3KB
Metrics.java 3KB
AlarmMetricId.java 3KB
KafkaProducerProperties.java 3KB
KafkaConsumerProperties.java 3KB
Statistics.java 3KB
BinaryIdType.java 3KB
MetricDimensionDb.java 3KB
AlarmActionId.java 3KB
ThreadPools.java 3KB
HibernateDbConfiguration.java 3KB
MetricDefinition.java 3KB
SubAlarmDefinitionDimensionId.java 3KB
AlarmDefinitionDeletedEvent.java 3KB
TokenCache.java 3KB
Services.java 3KB
MetricDimensionDbId.java 3KB
AlarmTransitionSubAlarm.java 3KB
AlarmMetricDb.java 2KB
AbstractUUIDPersistable.java 2KB
SqlStatements.java 2KB
AlarmSubExpressionLocaleTest.java 2KB
Configurations.java 2KB
Exceptions.java 2KB
BinaryId.java 2KB
CassandraDbConfiguration.java 2KB
ConfigurationFactory.java 2KB
AbstractPersistable.java 2KB
TypesTest.java 2KB
BooleanExpression.java 2KB
MetricDefinitionDb.java 2KB
TimesTest.java 2KB
Assert.java 2KB
HttpPoolCleaner.java 2KB
Validator.java 2KB
DurationTest.java 2KB
Types.java 2KB
DatabaseModule.java 2KB
TopologyTestCase.java 2KB
ComputeServiceInfo.java 2KB
TestSpout.java 2KB
共 248 条
- 1
- 2
- 3
资源评论
挣扎的蓝藻
- 粉丝: 0
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功