-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove redundant onboarding service - remove redundant engagement service - add pre commit - fix integration tests
- Loading branch information
Showing
26 changed files
with
450 additions
and
1,694 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
all-policies: false | ||
api-url: https://api.gitguardian.com | ||
exit-zero: false | ||
paths-ignore: | ||
- "**/README.md" | ||
- doc/* | ||
- LICENSE | ||
- .dockerignore | ||
- .gitignore | ||
show-secrets: false | ||
verbose: false |
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,4 @@ | ||
# Options for analysis running. | ||
run: | ||
skip-dirs: | ||
- pkg/clinical/presentation/graph/ |
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,10 @@ | ||
repos: | ||
- repo: https://github.com/gitguardian/ggshield | ||
rev: v1.11.0 | ||
hooks: | ||
- id: ggshield | ||
stages: [commit] | ||
- repo: https://github.com/dnephin/pre-commit-golang | ||
rev: v0.5.0 | ||
hooks: | ||
- id: golangci-lint # install https://golangci-lint.run/usage/install/#local-installation |
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 |
---|---|---|
@@ -1,21 +1,9 @@ | ||
staging: | ||
- depName: onboarding | ||
depRootDomain: https://onboarding-testing.savannahghi.org | ||
- depName: engagement | ||
depRootDomain: https://engagement-testing.savannahghi.org | ||
- depName: mycarehub | ||
depRootDomain: https://mycarehub-staging.savannahghi.org | ||
testing: | ||
- depName: onboarding | ||
depRootDomain: https://onboarding-testing.savannahghi.org | ||
- depName: engagement | ||
depRootDomain: https://engagement-testing.savannahghi.org | ||
- depName: mycarehub | ||
depRootDomain: https://mycarehub-testing.savannahghi.org | ||
production: | ||
- depName: onboarding | ||
depRootDomain: https://onboarding-prod.savannahghi.org | ||
- depName: engagement | ||
depRootDomain: https://engagement-prod.savannahghi.org | ||
- depName: mycarehub | ||
depRootDomain: https://mycarehub-prod.savannahghi.org |
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 |
---|---|---|
@@ -1,17 +1 @@ | ||
package dto | ||
|
||
import ( | ||
"github.com/savannahghi/enumutils" | ||
"github.com/savannahghi/scalarutils" | ||
) | ||
|
||
//RegisterUserPayload is the payload used to pass user details to onboarding service | ||
type RegisterUserPayload struct { | ||
UID string `json:"uid,omitempty"` | ||
FirstName string `json:"firstName,omitempty"` | ||
LastName string `json:"lastName,omitempty"` | ||
Gender enumutils.Gender `json:"gender,omitempty"` | ||
PhoneNumber string `json:"phoneNumber,omitempty"` | ||
Email string `json:"email,omitempty"` | ||
DateOfBirth scalarutils.Date `json:"dateOfBirth,omitempty"` | ||
} |
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
Oops, something went wrong.