Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 17e6eab

Browse files
Remoção de arquivos sem uso para o exemplo
1 parent 27a3ee7 commit 17e6eab

File tree

12 files changed

+4
-140
lines changed

12 files changed

+4
-140
lines changed

examples/lambda_sqs_light/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,5 @@ config/integration.en
6363

6464
#output lambda
6565
output/response.json
66+
/output/
67+
/include/

examples/lambda_sqs_light/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ def index(event):
4444
"""
4545
body = {"app": '%s:%s' % (APP_NAME, APP_VERSION)}
4646
LOGGER.info('Env: {} App Info: {}'.format(ENV, body))
47-
LOGGER.info('Handling event: {}'.format(event.to_dict()))
4847

4948
records = get_records_from_sqs_event(event, LOGGER)
5049

@@ -55,7 +54,7 @@ def index(event):
5554
for record in records:
5655
process_counter += 1
5756
event = read_event(record, LOGGER)
58-
LOGGER.info(event)
57+
LOGGER.info("event: {}".format(event))
5958

6059
# todo implementar lógica aqui
6160

examples/lambda_sqs_light/samples/ocorens/cancelamento.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/lambda_sqs_light/samples/products/sample.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/lambda_sqs_light/sonar-project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sonar.projectKey=madeiramadeirabr_template-serverless-lambda-python
1+
sonar.projectKey=madeiramadeirabr_template-serverless-lambda-python-lambda-sqs-light
22
sonar.organization=madeiramadeirabr
33

44
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.

examples/lambda_sqs_light/tests/datasources/events/sqs/delivery-time-simulator-row-sqs-event.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/lambda_sqs_light/tests/datasources/events/sqs/products/product-create-event.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

examples/lambda_sqs_light/tests/datasources/ocorens/cancelamento.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/lambda_sqs_light/tests/datasources/products/sample.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/lambda_sqs_light/tests/unit/helpers/ocoren_helper.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)