@universis/ulookup
v1.0.0
Published
Universis uLookup service integration
Readme
@universis/ulookup
Implementation of uLookup services hosted by GUNET
Installation
npm i @universis/ulookupConfiguration
Register ULookupService as an application service:
# app.production.json
"services": [
...,
{
"serviceType": "@universis/ulookup/#ULookupService"
}
]Register ULookupStudentUsernameGenerator as the strategy for the abstract StudentUsernameGenerator application service:
# app.production.json
"services": [
...,
{
"serviceType": "./services/StudentUsernameGenerator#StudentUsernameGenerator",
"strategyType": "@universis/ulookup#ULookupStudentUsernameGenerator"
}
]Register ULookupInstructorUsernameGenerator as the strategy for the abstract InstructorUsernameGenerator application service:
# app.production.json
"services": [
...,
{
"serviceType": "./services/InstructorUsernameGenerator#InstructorUsernameGenerator",
"strategyType": "@universis/ulookup#ULookupInstructorUsernameGenerator"
}
]