Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed-XCF committed Sep 16, 2021
1 parent b35a0ef commit 74b3737
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[run]
branch = True
source = aliyun-rocketmq
source = aliyun-rocketmq-provider

[report]
exclude_lines =
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ python:
branches:
only:
- main
services: aliyun-rocketmq
services: aliyun-rocketmq-provider
cache: pip
before_install:
- sudo apt-get -y update
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<h3 align="center">
</h3>

![GitHub](https://img.shields.io/github/license/Ed-XCF/apache-airflow-provider-aliyun-rocketmq)
![GitHub](https://img.shields.io/github/license/Ed-XCF/apache-airflow-providers-aliyun-rocketmq)
[![Build Status](https://app.travis-ci.com/Ed-XCF/airflow-provider-aliyun-rocketmq.svg?branch=main)](https://app.travis-ci.com/Ed-XCF/airflow-provider-aliyun-rocketmq)
[![codecov](https://codecov.io/gh/Ed-XCF/airflow-provider-aliyun-rocketmq/branch/main/graph/badge.svg?token=RCI7A0MBOO)](https://codecov.io/gh/Ed-XCF/airflow-provider-aliyun-rocketmq)
![PyPI](https://img.shields.io/pypi/v/apache-airflow-provider-aliyun-rocketmq)
![PyPI](https://img.shields.io/pypi/v/apache-airflow-providers-aliyun-rocketmq)

## 🧪 Experimental Version
This provider is an experimental alpha containing necessary components to publish data to aliyun rocketmq.
8 changes: 0 additions & 8 deletions aliyun_rocketmq/__init__.py

This file was deleted.

11 changes: 11 additions & 0 deletions aliyun_rocketmq_provider/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
with open("version", "r") as fh:
version = fh.read()

def get_provider_info():
return {
"package-name": "apache-airflow-providers-aliyun-rocketmq",
"name": "Aliyun RocketMQ Airflow Provider",
"description": "Airflow provider for aliyun rocketmq",
"hook-class-names": ["aliyun_rocketmq_provider.hooks.aliyun_rocketmq.AliyunRocketMQHook"],
"versions": [version]
}
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
version = fh.read()

setup(
name='apache-airflow-provider-aliyun-rocketmq',
name='apache-airflow-providers-aliyun-rocketmq',
version=version,
description='Airflow x Aliyun RocketMQ',
long_description=long_description,
long_description_content_type='text/markdown',
entry_points={
"apache_airflow_provider": [
"provider_info=aliyun_rocketmq.__init__:get_provider_info"
"provider_info=aliyun_rocketmq_provider.__init__:get_provider_info"
]
},
license='Apache License 2.0',
packages=['aliyun_rocketmq', 'aliyun_rocketmq.hooks'],
packages=['aliyun_rocketmq_provider', 'aliyun_rocketmq_provider.hooks'],
install_requires=['apache-airflow>=2.0', 'mq-http-sdk>=1.0.3'],
setup_requires=['setuptools', 'wheel'],
author='Ed__xu__Ed',
author_email='[email protected]',
url='https://github.com/Ed-XCF/apache-airflow-provider-aliyun-rocketmq',
url='https://github.com/Ed-XCF/apache-airflow-providers-aliyun-rocketmq',
python_requires='~=3.7',
)
2 changes: 1 addition & 1 deletion tests/hooks/test_aliyun_rocketmq_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sqlalchemy.orm import Query
from airflow.models.connection import Connection

from aliyun_rocketmq.hooks.aliyun_rocketmq import AliyunRocketMQHook
from aliyun_rocketmq_provider.hooks.aliyun_rocketmq import AliyunRocketMQHook


class TestAliyunRocketMQHook:
Expand Down

0 comments on commit 74b3737

Please sign in to comment.