tests: import pipeline config

This is a problem when running only one database test, as the pipeline
code might not be imported before, and overriding the option might not
work.

Change-Id: I0a0ba3b66419f45c2cc0a12d798b49a70a97673e
add more test cases to improve the test code coverage #2

In this patch, the following modules test coverage improved to 100%

1. ceilometer/storage/sqlalchemy/models

Change-Id: Ie8a12ea07cb6c406f82cb29e8743fe67110c94c8
Don't publish samples if resource_id in missing

In swift API, the user can call uri without the resource_id.
This patch skip the samples publishing instead of raising the
exception:

Traceback (most recent call last):
File "ceilometer/objectstore/swift_middleware.py", line 109, in iter_response
    bytes_sent)
File "ceilometer/objectstore/swift_middleware.py", line 160, in publish_sample
    resource_id=account.partition('AUTH_')[2],
AttributeError: 'NoneType' object has no attribute 'partition'

It print the exception of the samples publishing failure instead of
raising a exception to never break the swift API.

Fixes bug #1223259

Change-Id: I5d90fa620c8f8ea82e86524b9703049257ca0345
Avoid imposing alembic 6.0 requirement on all distros

Related-to: LP 1224666

Two of the alembic-based migrations use the new 'type_' kwarg in calls
to op.drop_constraint(), even though the old 'type' form was retained
for backward compatability:

  https://alembic.readthedocs.org/en/latest/ops.html

  "Changed in version 0.5.0: The type parameter is now named type_.
  The old name type will remain for backwards compatibility."

To avoid needlessly imposing the alembic 6.0 on distros for which this
version is not yet packaged, we revert these migrations to use the older
form.

The corresponding change to the global requirements is proposed here:

  https://review.openstack.org/48227

Change-Id: I3796ffa3de0e0f558f368d7ebf8e55c87657753d
Add example with return values in API v2 docs

Add a "real" example of a groupby statistics query with return
values in API v2 documentation.

The example is taken from an actual query run on a machine
running Devstack and Ceilometer.

Addresses bug # 1228465

Change-Id: I0414fdaf31ca365f0404c77504d4106de7c17f74
Merge "tests: import pipeline config"
Merge "add more test cases to improve the test code coverage #2"
Merge "Add example with return values in API v2 docs"
Remove MANIFEST.in

pbr is able to generate the file listing for us, and this file is bugged
as it misses files like alembic.ini. Let's remove it.

Fixes-Bug: #1231503

Change-Id: I95204db0752a10138d3e3d7bc1fa9a271145bf67
Merge "Don't publish samples if resource_id in missing"
Merge "Avoid imposing alembic 6.0 requirement on all distros"