4.3.5 Service Mapping

This topic provides information about service mapping.

After creation of the model services, entries must be made into the table CMC_TM_ML_SERVICE_DEFN to enable the NLP framework to use these services.

Existing use case
Update the highlighted column in the table CMC_TM_ML_SERVICE_DEFN with the new service API.

Table 4-12 Existing Use Case

Column Name Remarks Model Training Model Processing
ID Unique ID - -
USECASE_NAME Use Case Name <existing use case> <existing use case>
DESCRIPTION Use Case Description - -
SERVICE_TYPE Service Type Training Processing
SERVICE_DEFN Mapped Service API <New Service API> <New Service API>
METHOD_TYPE Method Type POST POST
APP_ID Sub Domain ID - -
RECORD_STAT Record Status O O
AUTH_STAT Authorized Status A A
MOD_NO Modification Number 1 1
ONCE_AUTH Once Authorized Y Y
MAKER_ID Maker Name SYSTEM SYSTEM
MAKER_DT_STAMP Maker Date stamp <Application Date> <Application Date>
CHECKER_ID Authorizer Name SYSTEM SYSTEM
CHECKER_DT_STAM Authorizer Date stamp <Application Date> <Application Date>
New Use case
Insert a new record into the table CMC_TM_ML_SERVICE_DEFN.

Table 4-13 New Use Case

Column Name Description Remarks for Data
ID Unique ID Ensure a Unique ID.
USECASE_NAME Use Case Name Must be one of the usecase_name from the table CMC_TM_ML_NER_TAG_MAS
DESCRIPTION Use Case Description -
SERVICE_TYPE Service Type
  • ‘Training’ - Use this value for model Training Service.
  • ‘Processing’ - Use this value for model execution Service.
  • ‘Business’ - Use this value for business Service.
SERVICE_DEFN Mapped Service API <The newly created 3P NLP service API>
METHOD_TYPE Method Type POST
APP_ID Sub Domain ID NULL
RECORD_STAT Record Status O
AUTH_STAT Authorized Status A
MOD_NO Modification Number 1
ONCE_AUTH Once Authorized Y
MAKER_ID Maker Name SYSTEM
MAKER_DT_STAMP Maker Date stamp <Application Date>
CHECKER_ID Authorizer Name SYSTEM
CHECKER_DT_STAMP Authorizer Date stamp <Application Date>