Skip to content

Commit

Permalink
Allow to pass object id to net services methods in hid.Hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed May 29, 2019
1 parent 0796d8d commit 6901d2f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ trait Customer {
subjServId : null,
customerId : null,
netServiceId : null,
objectId : null,
subjServTypeId : getNetServiceTypeId(),
authTypeId : getAuthLoginPassTypeId(),
login : null,
Expand All @@ -369,6 +370,9 @@ trait Customer {
if (params.netServiceId) {
where.n_service_id = params.netServiceId
}
if (params.objectId) {
where.n_object_id = params.objectId
}
if (params.subjServTypeId) {
where.n_subj_serv_type_id = params.subjServTypeId
}
Expand Down Expand Up @@ -399,6 +403,7 @@ trait Customer {
subjServId : null,
customerId : null,
netServiceId : null,
objectId : null,
subjServTypeId : getNetServiceTypeId(),
authTypeId : getAuthLoginPassTypeId(),
login : null,
Expand All @@ -410,6 +415,7 @@ trait Customer {
num_N_SUBJ_SERV_ID : params.subjServId,
num_N_SUBJECT_ID : params.customerId,
num_N_SERVICE_ID : params.netServiceId,
num_N_OBJECT_ID : params.objectId,
num_N_SUBJ_SERV_TYPE_ID : params.subjServTypeId,
num_N_AUTH_TYPE_ID : params.authTypeId,
vch_VC_LOGIN : params.login
Expand Down Expand Up @@ -442,6 +448,7 @@ trait Customer {
subjServId : null,
customerId : null,
netServiceId : null,
objectId : null,
subjServTypeId : getNetServiceTypeId(),
authTypeId : getAuthLoginPassTypeId(),
login : null,
Expand Down

0 comments on commit 6901d2f

Please sign in to comment.