From d3e652a54ca64b5e209ccab805c8e55a96ab390f Mon Sep 17 00:00:00 2001 From: Ayush Shah Date: Tue, 10 Aug 2021 11:13:42 +0530 Subject: [PATCH] Sdscheduler changed to simplescheduler --- docs/install/metadata-ingestion/scheduler.md | 2 +- ingestion/ingestion_scheduler/jobs.py | 2 +- ingestion/ingestion_scheduler/scheduler.py | 4 ++-- ingestion/setup.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/install/metadata-ingestion/scheduler.md b/docs/install/metadata-ingestion/scheduler.md index 4646e3d7c47..dc5f737c30e 100644 --- a/docs/install/metadata-ingestion/scheduler.md +++ b/docs/install/metadata-ingestion/scheduler.md @@ -1,6 +1,6 @@ --- description: >- - This guide will help install Sdscheduler and schedule connectors for + This guide will help install Simple Scheduler and schedule connectors for ingestion. --- diff --git a/ingestion/ingestion_scheduler/jobs.py b/ingestion/ingestion_scheduler/jobs.py index 80f17d79389..5c53921914a 100644 --- a/ingestion/ingestion_scheduler/jobs.py +++ b/ingestion/ingestion_scheduler/jobs.py @@ -15,7 +15,7 @@ import json from metadata.ingestion.workflow.workflow import Workflow -from sdscheduler.corescheduler import job +from simplescheduler.corescheduler import job class MetadataLoaderJob(job.JobBase, Workflow): diff --git a/ingestion/ingestion_scheduler/scheduler.py b/ingestion/ingestion_scheduler/scheduler.py index 301a231e353..0c0d23d6bc0 100644 --- a/ingestion/ingestion_scheduler/scheduler.py +++ b/ingestion/ingestion_scheduler/scheduler.py @@ -14,10 +14,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from sdscheduler.server import server +from simplescheduler.server import server import os import json -from sdscheduler.server import server +from simplescheduler.server import server class SimpleServer(server.SchedulerServer): diff --git a/ingestion/setup.py b/ingestion/setup.py index 4333df5eb93..96d0d7c1fa6 100644 --- a/ingestion/setup.py +++ b/ingestion/setup.py @@ -68,7 +68,7 @@ connector_requirements = { } scheduler_requirements = { "apns@git+git://github.com/djacobs/PyAPNs.git#egg=apns", - "sdscheduler@git+https://github.com/StreamlineData/sdscheduler.git#egg=sdscheduler" + "simplescheduler@git+https://github.com/StreamlineData/sdscheduler.git#egg=simplescheduler" } base_plugins = { "pii-tags", @@ -113,7 +113,7 @@ setup( package_dir={"": "src"}, packages=find_namespace_packages(where='src', exclude=['tests*']), dependency_links=['git+git://github.com/djacobs/PyAPNs.git#egg=apns', - 'git+https://github.com/StreamlineData/sdscheduler.git#egg=sdscheduler'], + 'git+https://github.com/StreamlineData/sdscheduler.git#egg=simplescheduler'], entry_points={ "console_scripts": ["metadata = metadata.cmd:metadata"], "metadata.ingestion.source.plugins": [