...
*** VALUES FOR "r
ole"
***
staff.noDetails
studentEmployee.studentHire
*** SUBAFFILIATION MESSAGES ***
All attributes should be non-empty except for the "endDate" which should be filled when a "deleteSubAffiliation" message is sent.add would be coming into a new position or reactivated (
delete would be leaving ITS
refresh would be changing the phone number/office locations/, i.e if at the same position
can a ITS person have multiple affiliations?
Employee (Staff & Student)
Code Block |
---|
ROUTING KEY: subAffiliationaffiliation.add.itsadmin{role}.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode}.{role} (account for periods in role values) affiliation.add.staff.ES.ES-1 affiliation.add.staff.ES.ES-2 { "addSubAffiliationaddAffiliation" : { "messageData" : { "uhUuid" : "12345678", "uids "affID" : [(check UHIMS - use perspositionID) "johndoe" ], "orgHierarchy" : [ { "code" : "TI", "description" : "Technical Infrastructure" }, { "code" : "TI-SYS", "description" : "TI - Systems Services" }, { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" } ], "orgRoot" : { "coderole" : "TIstaff", possibly a list "descriptionofficeLocation" : "Technical Infrastructure" }, "orgLeaf" : { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" }, "role" : "staff.noDetails", "beginDate" : "2015-12-25", "endDate" : "", "officeLocation" : "ITC-Floor 6 / 602",[ {"building" "floor" "cubicle"}] look at UHIMS phones / list of "phone" (ask Dana where she updates the phone number - does she update ITSADMIN and WPMS) "phonesAsEntered" : "(808) 555-9128", "faxesAsEntered" : "(808) 555-9130" } } } |
...
Code Block |
---|
ROUTING KEY: subAffiliation.modify.itsadmin.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode}.{role} (account for periods in role values) keep message to affiliation.modify.staff {and provide what has changed messageDataBefore publisher "modifySubAffiliation"confirm :onAck {means that it was published "messageData" : { "uhUuidmodifyAffiliation" : "12345678",{ "uidsmessageData" : [{ "uhUuid" : "johndoe12345678", required "affID" ],: required "orgHierarchy" : [ { "code" : "TI", "description" : "Technical Infrastructure" }, { "code" : "TI-SYS", "description" : "TI - Systems Services" }, { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" } ], "orgRoot" : { "code" : "TI", "description" : "Technical Infrastructure" }, "orgLeaf" : { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" }, "role" : "staff.noDetails", "beginDate" : "2015-12-25", "endDate" : "", "officeLocation" : "ITC-Floor 6 / 602", "phonesAsEntered" : "(808) 555-9128", "faxesAsEntered" : "(808) 555-9130" } } } |
...
Code Block |
---|
ROUTING KEY: subAffiliation.delete.itsadmin.{orgRootCode}.{any-middle-org-codes}.{orgLeafCode}.{role} (account for periods in role values) provide everything that we {provide for the add "deleteSubAffiliation" : { "messageDatadeleteSubAffiliation" : { "uhUuidmessageData" : "12345678",{ "uidsuhUuid" : [ "johndoe" ]"12345678", "orgHierarchy" : [ { "code" : "TI", "description" : "Technical Infrastructure" }, { "code" : "TI-SYS", "description" : "TI - Systems Services" }, { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" } ], "orgRoot" : { "code" : "TI", "description" : "Technical Infrastructure" }, "orgLeaf" : { "code" : "TI-SYS-MID", "description" : "TI-SYS-MID" }, "role" : "staff.noDetails", "beginDate" : "2015-12-25", "endDate" : "2017-01-25", "officeLocation" : "ITC-Floor 6 / 602", "phonesAsEntered" : "(808) 555-9128", "faxesAsEntered" : "(808) 555-9130" } } } |