java - Service Provider Interface Design for Classification -


i'm trying design spi expose services can create support tickets. of interface straightforward. support tickets have id's, summaries, status, etc. i'm running problem area of classification. simplified example:

service provider 1 categorizes tickets follows:

  • type: support
  • category: security/access
  • subcategory: password reset

service provider 2 has different paradigm classification:

  • classification: administration
  • folder: corporate/security
  • area: access
  • type: passwords

what i'm struggling how create common interface/spi can provide enough information service providers can transform classification structure required system.

i assume require type of adapter pattern, there better way?


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -