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

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -