-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into retry-get-raw-ftp
- Loading branch information
Showing
13 changed files
with
162 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Changelog - rj_smtr | ||
|
||
## [1.0.1] - 2024-05-22 | ||
|
||
### Alterado | ||
|
||
- Altera `primary_key` da constante `GTFS_TABLE_CAPTURE_PARAMS` relativa a `ordem_servico_trajeto_alternativo` (https://github.com/prefeitura-rio/pipelines/pull/690) | ||
|
||
## [1.0.0] - 2024-05-21 | ||
|
||
### Alterado | ||
|
||
- Inclui tratamento específico na task `transform_raw_to_nested_structure` relacionado aos flows `br_rj_riodejaneiro_gtfs` (https://github.com/prefeitura-rio/pipelines/pull/687) | ||
- Altera constantes e parâmetros de captura e materialização relacionados aos flows `br_rj_riodejaneiro_gtfs` (https://github.com/prefeitura-rio/pipelines/pull/687) | ||
|
||
### Corrigido | ||
|
||
- Corrige erro `pipelines/rj_smtr/tasks.py:116:64: E226 missing whitespace around arithmetic operator` na task `build_incremental_model` (https://github.com/prefeitura-rio/pipelines/pull/687) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
pipelines/rj_smtr/br_rj_riodejaneiro_bilhetagem/CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Changelog - br_rj_riodejaneiro_bilhetagem | ||
|
||
## [1.0.1] - 2024-05-22 | ||
|
||
### Corrigido | ||
|
||
- Corrige exclude nos parâmetros da pipeline `bilhetagem_validacao_jae` (https://github.com/prefeitura-rio/pipelines/pull/689) | ||
|
||
## [1.0.0] - 2024-05-17 | ||
|
||
### Alterado | ||
|
||
- Adiciona +servicos no exclude geral dos pipelines de materialização da bilhetagem (https://github.com/prefeitura-rio/pipelines/pull/685) | ||
|
||
### Corrigido | ||
|
||
- Corrige parametros do flow `bilhetagem_validacao_jae` (https://github.com/prefeitura-rio/pipelines/pull/685) | ||
- Adiciona tabelas de validação no exclude do flow `bilhetagem_materializacao_gps_validador` (https://github.com/prefeitura-rio/pipelines/pull/685) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Changelog - controle_financeiro | ||
|
||
## [1.0.0] - 2024-05-22 | ||
|
||
### Adicionado | ||
|
||
- Criados flows de captura das planilhas de controle financeiro `cb` e `cett` (https://github.com/prefeitura-rio/pipelines/pull/688) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# -*- coding: utf-8 -*- | ||
# pylint: disable=W0511 | ||
""" | ||
Flows for veiculos | ||
""" | ||
|
||
|
||
from copy import deepcopy | ||
from prefect.run_configs import KubernetesRun | ||
from prefect.storage import GCS | ||
|
||
# EMD Imports # | ||
|
||
from pipelines.constants import constants as emd_constants | ||
|
||
|
||
# SMTR Imports # | ||
|
||
from pipelines.rj_smtr.flows import ( | ||
default_capture_flow, | ||
) | ||
from pipelines.rj_smtr.constants import constants | ||
|
||
from pipelines.utils.utils import set_default_parameters | ||
from pipelines.rj_smtr.schedules import every_day | ||
|
||
|
||
# Flows # | ||
|
||
controle_cct_cb_captura = deepcopy(default_capture_flow) | ||
controle_cct_cb_captura.name = "SMTR: Controle Financeiro CB - Captura" | ||
controle_cct_cb_captura.storage = GCS(emd_constants.GCS_FLOWS_BUCKET.value) | ||
controle_cct_cb_captura.run_config = KubernetesRun( | ||
image=emd_constants.DOCKER_IMAGE.value, | ||
labels=[emd_constants.RJ_SMTR_AGENT_LABEL.value], | ||
) | ||
|
||
controle_cct_cb_captura = set_default_parameters( | ||
flow=controle_cct_cb_captura, | ||
default_parameters=constants.CONTROLE_FINANCEIRO_CAPTURE_DEFAULT_PARAMS.value | ||
| constants.CONTROLE_FINANCEIRO_CB_CAPTURE_PARAMS.value, | ||
) | ||
controle_cct_cb_captura.schedule = every_day | ||
|
||
controle_cct_cett_captura = deepcopy(default_capture_flow) | ||
controle_cct_cett_captura.name = "SMTR: Controle Financeiro CETT - Captura" | ||
controle_cct_cett_captura.storage = GCS(emd_constants.GCS_FLOWS_BUCKET.value) | ||
controle_cct_cett_captura.run_config = KubernetesRun( | ||
image=emd_constants.DOCKER_IMAGE.value, | ||
labels=[emd_constants.RJ_SMTR_AGENT_LABEL.value], | ||
) | ||
|
||
controle_cct_cett_captura = set_default_parameters( | ||
flow=controle_cct_cett_captura, | ||
default_parameters=constants.CONTROLE_FINANCEIRO_CAPTURE_DEFAULT_PARAMS.value | ||
| constants.CONTROLE_FINANCEIRO_CETT_CAPTURE_PARAMS.value, | ||
) | ||
controle_cct_cett_captura.schedule = every_day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters