mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +00:00 
			
		
		
		
	Merge pull request #90 from open-metadata/scheduler-change
Sdscheduler changed to simplescheduler
This commit is contained in:
		
						commit
						3d48c6878a
					
				@ -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.
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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):
 | 
			
		||||
 | 
			
		||||
@ -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):
 | 
			
		||||
 | 
			
		||||
@ -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": [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user