Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move modules used by plugins #221

Merged
merged 4 commits into from
Jun 2, 2021
Merged

Conversation

mmacata
Copy link
Member

@mmacata mmacata commented May 28, 2021

Part of #190

To make it more obvious, which modules are used by plugins, these modules are moved to common folder.

It will also be necessary to adjust the imports in the plugins itself in separate PRs
Concerned plugins / modules are:

# amp, satellite, statistic
actinia_core.endpoints import create_endpoints
actinia_core.resources.resource_base import ResourceBase
actinia_core.resources.common.app import flask_app
actinia_core.resources.common.config import global_config
actinia_core.resources.common.redis_interface import enqueue_job
actinia_core.resources.common.response_models import ProcessingResponseModel

# amp, statistic
actinia_core.resources.ephemeral_processing import EphemeralProcessing

# actinia-module-plugin
actinia_core.resources.ephemeral_processing_with_export import start_job
actinia_core.resources.ephemeral_processing_with_export import SCHEMA_DOC
actinia_core.resources.persistent_processing import start_job
actinia_core.resources.persistent_processing import SCHEMA_DOC
actinia_core.resources.common.app import URL_PREFIX
actinia_core.resources.common.config import Configuration
actinia_core.resources.common.process_chain import GrassModule
# from actinia_core.resources.common.process_queue import create_process_queue
actinia_core.resources.common.redis_base import RedisBaseInterface
actinia_core.resources.common import redis_interface
actinia_core.resources.common.response_models import create_response_from_model
actinia_core.resources.common.response_models import StringListProcessingResultResponseModel
actinia_core.resources.common.user import ActiniaUser

# satellite, statistic
actinia_core.testsuite import ActiniaTestCaseBase, URL_PREFIX
actinia_core.resources.common.api_logger import log_api_call
actinia_core.resources.common.app import flask_api
actinia_core.resources.common.app import auth
actinia_core.resources.common.exceptions import AsyncProcessError
actinia_core.resources.common.response_models import ProcessingErrorResponseModel

# satellite
actinia_core.health_check import health_check
actinia_core.version import version
actinia_core.resources.ephemeral_processing_with_export import EphemeralProcessingWithExport
actinia_core.resources.persistent_processing import PersistentProcessing
actinia_core.resources.common.aws_sentinel_interface import AWSSentinel2AInterface
actinia_core.resources.common.config import DEFAULT_CONFIG_PATH
actinia_core.resources.common.google_satellite_bigquery_interface import GoogleSatelliteBigQueryInterface
actinia_core.resources.common.landsat_processing_library import LandsatProcessing, SCENE_BANDS, extract_sensor_id_from_scene_id, RASTER_SUFFIXES
actinia_core.resources.common.process_object import Process
actinia_core.resources.common.process_queue import create_process_queue
actinia_core.resources.common.redis_interface import connect, create_job_queues
actinia_core.resources.common.response_models import SimpleResponseModel
actinia_core.resources.common.response_models import UnivarResultModel
actinia_core.resources.common.sentinel_processing_library import Sentinel2Processing

@mmacata mmacata changed the title WIP: move modules used by plugins Move modules used by plugins Jun 2, 2021
@mmacata mmacata merged commit cbfc675 into actinia-org:main Jun 2, 2021
@mmacata mmacata deleted the plugins-common branch August 10, 2021 14:14
@mmacata mmacata added this to the 1.0.0 milestone Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants