Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKatz-il committed Feb 14, 2023
1 parent fe24cc9 commit 8f13869
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion spark_endpoint/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from common.config import app_config
from common.logger import get_logger
from common.models import RawEvent, db_session
from common.db_models import RawEvent, db_session

logger = get_logger()

Expand Down
2 changes: 1 addition & 1 deletion spark_job_processor/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from common.config import app_config
from common.logger import get_logger
from common.models import RawEvent, SparkJobRun, db_session
from common.db_models import RawEvent, SparkJobRun, db_session
from spark_job_processor.events_processor import EventsProcessor

TOPIC_NAME = "JOB_RUN_EVENT"
Expand Down
4 changes: 2 additions & 2 deletions spark_job_processor/events_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def process_events(
4,
)

job_run = {
processed_data = {
"id": job_run_id,
"job_id": job_id,
"pipeline_id": pipeline_id,
Expand All @@ -57,4 +57,4 @@ def process_events(
"start_time": application.start_time,
"end_time": application.end_time,
}
return job_run
return processed_data
2 changes: 1 addition & 1 deletion test/test_spark_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from spark_endpoint.app import app, parse_events
from common.config import app_config
from common.models import RawEvent
from common.db_models import RawEvent


class TestWriteEvents(TestCase):
Expand Down

0 comments on commit 8f13869

Please sign in to comment.