Versions Compared

Key

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

Insert excerpt
Task Status
Task Status
nopaneltrue



Table of Contents

Introduction

Service design is a step in the service orientation process detailed on the SWIM reference website (https://reference.swim.aero/knowledge/service-orientation-process.html#design). One outcome is a service model (service interface(s), service operation(s), service behaviour). This leads to consideration on how to name things.

The following documents will help.

Naming conventions

SWIM-SERV-140 Service functions

The functionality name could be somehow harmonised for AMQP services.

Code Block
languagejs
titleExample of SWIM-SERV-140 using Service Metadata Schema
"generalDescription": {
 "functionality": [{
  "name": "...Provide Turbulence Forecast Information",
  "description": "..A detailed and product-specific description on the delivered product.",
  "realWorldEffect": "...Information is provided continually; the service consumer gets the subscribed data."
 }, {
  "name": "..Meteorological Forecast Provision",
  "description": "...",
  "realWorldEffect": "..."
 }]
}

SWIM-SERV-240 Service interfaces

Name and description could be harmonised e.g. AMQP Notification, AMQP Subscription, WFS Request..

SWIM-SERV-240 already contains a <noun><role> pattern. e.g

As far as AMQP is converned, what are the roles?

  • Publisher, Queue, Message...

Name and description could be harmonised e.g. WFS Request.

SWIM-SERV-240 already contains a <noun><role> pattern. e.g

As far as WFS is concerned, what are the roles?

  • Request...

As far as AMQP is concerned, what are the roles?

  • Publisher, Queue, Message...


Info
It is best to avoid mention of a broker. Indeed, a broker is not necessary when using AMQP.

SWIM-SERV-270 Service operations

A harmonised entry for AMQP delivery. Consider a controlled vocabulary of verbs for names.

Info
SWIM-SERV-270 proposes <verb><noun> e.g.getAlerts; requestTrajectoryAnalysis; publishAirportMETInducedCapacity; setCoordinationAndTransferData; proposeARESDeActivation.

Which verbs are best in the context of AMQP?

Categorisation

SWIM-SERV-100 Service categories

The following example shows how to add a service categorisation for a Web Feature Service.

Code Block
languagejs
titleExample of SWIM-SERV-100 using Service Metadata Schema
"serviceCategorisation": {
 "other": [{
  "name": "SERVICE_TYPE",
  "value": "FEATURE_ACCESS_SERVICE",
  "categorisationScheme": {
   "url": "http://reference.swim.aero/information-services/service-categories/CodeServiceType"
  }
 }]
}