generated from coulomb/repo-seed
STATE-WP-0062 T1: two-dimension service_catalog model + migration
Add ServiceCatalog core (hosting_type, development_type, maturity_level) plus 1:1 per-dimension extension tables (service_third_party, service_first_party, service_cloud, service_self_hosted) keyed by service_id. Migration creates the tables and copies existing tpsc_catalog rows into service_catalog as (cloud_hosted, third_party), reusing the tpsc_catalog id as the service_catalog id so existing tpsc_entries.catalog_id keep resolving without a column change. GDPR/data-processing fields move to service_cloud; pricing_model to service_third_party. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,13 @@ from api.models.agent_message import AgentMessage
|
||||
from api.models.capability_catalog import CapabilityCatalog
|
||||
from api.models.capability_request import CapabilityRequest
|
||||
from api.models.tpsc import TPSCCatalog, TPSCSnapshot, TPSCEntry
|
||||
from api.models.service_catalog import (
|
||||
ServiceCatalog,
|
||||
ServiceThirdParty,
|
||||
ServiceFirstParty,
|
||||
ServiceCloud,
|
||||
ServiceSelfHosted,
|
||||
)
|
||||
from api.models.doi_cache import DOICache
|
||||
from api.models.token_event import TokenEvent
|
||||
from api.models.interface_change import InterfaceChange
|
||||
@@ -46,6 +53,8 @@ __all__ = [
|
||||
"CapabilityCatalog",
|
||||
"CapabilityRequest",
|
||||
"TPSCCatalog", "TPSCSnapshot", "TPSCEntry",
|
||||
"ServiceCatalog", "ServiceThirdParty", "ServiceFirstParty",
|
||||
"ServiceCloud", "ServiceSelfHosted",
|
||||
"DOICache",
|
||||
"TokenEvent",
|
||||
"InterfaceChange",
|
||||
|
||||
Reference in New Issue
Block a user