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

Conversation

@edreinoso
Copy link
Contributor

Including the point attributes logic to the Commitments model as well as to reflect the change in the API documentation. This branch is first based from the crowdaction:

https://github.com/CollActionteam/collaction_backend/tree/feat/gh-73/crowdactions

Since I didn't see much more activity for changes to the be done in this crowdaction pull request ( #119 ), I thought it would be better to include the new architecture for this badge threshold task.

[pull request] ignoring samconfig file as per the pull request

[pull request] modified naming for the internal interface

[pull request] getting rid of useless else statement

[pull request] removing dynamodb dependencies in logic

[pull request] including mock repository and crowdaction test

[pull request] cleaning up some unnecessary lines

[pull request] separating repository concerns

[pull request] modifying test cases with new repository structure

[pull request] changing dynamo repository call from crowdaction main handler

[pull request] changing parameters to pass unit test case

[pull request] changing crowdactionID from test case

[pull request] changing method call for crowdaction test

[pull request] fixing parameter issue in crowdaction_test

[pull request] testing issue with the args.get(x) call in mock/dynamo repository

[pull request] including Mock in each of the function calls from the dynamo repository

[pull request] modifying test cases for crowdaction
@edreinoso edreinoso requested a review from rubenhorn April 8, 2022 12:08
…ollaction_backend into feat/gh-111/badge_threshold

# Resolved Conflicts:
#	docs/api2.yaml
@rubenhorn rubenhorn mentioned this pull request Apr 8, 2022
3 tasks
Copy link
Collaborator

@rubenhorn rubenhorn left a comment

Choose a reason for hiding this comment

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

This branch seems to be based on #119 and should thus be merged after it.

Banner string `json:"banner,omitempty"`
}

type CrowdactionData struct {
Copy link
Collaborator

@rubenhorn rubenhorn Apr 8, 2022

Choose a reason for hiding this comment

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

CrowdactionData structure should have a field badge_thresholds of type []int.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants