-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CPDLP-3933] Add Mentor call off contract to ECF #5442
Conversation
Review app deployed to https://cpd-ecf-review-5442-web.test.teacherservices.cloud |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good just a few questions. Have the confluence docs been updated as well?
t.belongs_to :lead_provider, null: false, foreign_key: true, type: :uuid, index: true | ||
t.belongs_to :cohort, null: false, foreign_key: true, type: :uuid, index: true | ||
|
||
t.string :version, null: false, default: "0.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we just sticking to the call off contract versioning/logic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Think so.. but also we need to sync up this value with contract_version
from statements.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on call yesterday we'll keep the current version implementation
@@ -25,6 +25,7 @@ class LeadProvider < ApplicationRecord | |||
has_many :partnership_csv_uploads | |||
has_many :lead_provider_api_tokens | |||
has_one :call_off_contract | |||
has_many :mentor_call_off_contracts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth updating the LP spec here?
@@ -25,6 +25,7 @@ class LeadProvider < ApplicationRecord | |||
has_many :partnership_csv_uploads | |||
has_many :lead_provider_api_tokens | |||
has_one :call_off_contract |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as discussed this seems wrong and it is, when we call this it just picks one contract for lead provider, checking the code it is called BUT not used anywhere except in banding tracker which is deprecated and not built correctly/used. We can add a tech debt ticket to remove this
fc30611
to
c53ab10
Compare
spec/services/importers/create_mentor_call_off_contract_spec.rb
Outdated
Show resolved
Hide resolved
c53ab10
to
11dc2bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks Mook! I can see confluence was updated with the csv, but could we also update the upload csv and script section please? otherwise all good :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mooktakim All good tks 👍
Context
Changes proposed in this pull request
MentorCallOffContract
modelImporters::CreateMentorCallOffContract
serviceGuidance to review