NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1.2.1 High Level Structure

 

START
   WHILE TRUE:
      ACCEPT HTTP REQUEST
      SERVICE_INTERFACE = ServiceProvider.getService()  #Ask the ServiceProvider for an Implementation
      IF SERVICE_INTERFACE == NULL                      
         THEN: RETURN NOT_IMPLEMENTED_ERROR             #If not found, assume CTS2 Service is not Implemented
         ELSE: ServiceProvider.getService().call()      #If matching implementation is found, execute it
      END IF
   END WHILE:
END

 

 

 

1.2.2 Basic Request Sequence

...

1.2.3.14 ValueSetDefinitionQueryService

Glossary

Service Plugin - An OSGi bundle capable of being loaded into the CTS2 Development Framework. In order to be recognized as a Service Plugin, the bundle must export one (and only one) Service of type ServiceProvider. Note, however, that the bundle is no excluded from exporting other services – but it must at least export one and only one ServiceProvider Service.

 

 

Wiki Markup
{scrollbar:icons=false}