Skip to content

Conversation

@chiqeen03
Copy link
Contributor

Se agregan recursos para la comunicación de card-authorizer hacia knox.

  • Recurso de validación de tarjetas.
  • Recurso de validación de ARQC y generación de ARPC.

closes #144
closes #145

@chiqeen03 chiqeen03 added the enhancement New feature or request label Apr 14, 2021
@chiqeen03 chiqeen03 requested a review from matin April 14, 2021 22:15
@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #146 (764edbd) into main (0773a50) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #146   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        27    +2     
  Lines          593       652   +59     
=========================================
+ Hits           593       652   +59     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cuenca/__init__.py 100.00% <ø> (ø)
cuenca/resources/__init__.py 100.00% <100.00%> (ø)
cuenca/resources/arpc.py 100.00% <100.00%> (ø)
cuenca/resources/card_validations.py 100.00% <100.00%> (ø)
cuenca/resources/cards.py 100.00% <100.00%> (ø)
cuenca/version.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0773a50...764edbd. Read the comment docs.

@chiqeen03 chiqeen03 requested a review from rogelioLpz April 14, 2021 23:24


@dataclass
class ARPC(Creatable):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's ARPC?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a description

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should be Arpc and not ARPC. All caps is reserved for constants

funding_type: CardFundingType

@property
def last_4_digits(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@chiqeen03 chiqeen03 Apr 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That field is being used in Core and many other projects, I think it would be best if we created an issue and modified the field in the other projects, otherwise this change would create some PRs for other projects

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue created:
#148

@chiqeen03 chiqeen03 requested a review from matin April 20, 2021 23:54
matin
matin previously approved these changes Apr 22, 2021
rogelioLpz
rogelioLpz previously approved these changes Apr 22, 2021
@pachCode pachCode merged commit 9ab94b2 into main Apr 22, 2021
@pachCode pachCode deleted the cards-validations branch April 22, 2021 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agregar validación de ARQC y generación de ARPC Agregar validación de tarjetas

5 participants