Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

adding cm ca validation #128

Merged
merged 4 commits into from
Oct 12, 2022
Merged

adding cm ca validation #128

merged 4 commits into from
Oct 12, 2022

Conversation

nitro-neal
Copy link
Contributor

this change adds cred application and cred manifest validation against eachother (pulled in from sdk)

@@ -136,11 +136,19 @@ func (s Service) ProcessApplicationSubmission(request SubmitApplicationRequest)
return nil, util.LoggingErrorMsg(err, "problem with retrieving manifest during application validation")
}

if gotManifest == nil {
return nil, util.LoggingNewError(fmt.Sprintf("application is not valid. A manifest does not exist with id: %s", credApp.ManifestID))
Copy link
Member

@decentralgabe decentralgabe Oct 12, 2022

Choose a reason for hiding this comment

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

maybe break this into two lines for readability

@codecov-commenter
Copy link

Codecov Report

Merging #128 (4d79dc3) into main (a6241fa) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #128   +/-   ##
=======================================
  Coverage   28.00%   28.00%           
=======================================
  Files          20       20           
  Lines        1475     1475           
=======================================
  Hits          413      413           
  Misses        995      995           
  Partials       67       67           
Impacted Files Coverage Δ
pkg/server/router/dwn.go 17.77% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@nitro-neal nitro-neal merged commit 7ebcac5 into main Oct 12, 2022
@nitro-neal nitro-neal deleted the implement-cm-ca-validation branch October 12, 2022 21:50
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