feat: add multi-city representation support and domain context resolution
- Created migration to add representation_cities table and domain, is_global fields to representations. - Implemented SiteContextController to resolve domain to site context (city | representation | unknown). - Developed DomainContext and DomainContextResolver services for domain mapping. - Added tests for DomainContextResolver and commission logic based on domain ownership.
This commit is contained in:
graphify-out/cache/ast/v0.8.44/196a7389d6828be84bf9cef772cb40a5240e452e10cf28f161bd84e51d2e8cc8.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/2a99307286612b41130a3002490343c9dfde0b0c18906b58f1a6e9e86a1edc14.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/33f57eb6ea216ea8173d4459cc6df3a2378487bfb7c681b3025c2606bee54ff0.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/3c5e7d2db5d360bbf96cee9bb9f4aede458a8aa728db0dbf61fb6343d1180b4c.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/416d314362c1793e98f5009fed41ee441fb4bf5d01de9b11018bd2fdbf407ea2.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/428d7fe5382e98ea3e0f553f59a3f7fd00dbc02314461ec472bcdaee0606f4c2.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/4986640559d6ef107162eedd9eea40a6134b0e8f8e44b35d362a96001b735648.json
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_collect_diagnostics_sh", "label": "collect-diagnostics.sh", "file_type": "code", "source_file": "docs/collect-diagnostics.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_collect_diagnostics_sh__entry", "label": "collect-diagnostics.sh script", "file_type": "code", "source_file": "docs/collect-diagnostics.sh", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_collect_diagnostics_sh", "target": "users_hamed_pj_my_pj_clinic_pro_clinicpro_docs_collect_diagnostics_sh__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/collect-diagnostics.sh", "source_location": "L1", "weight": 1.0}]}
|
||||
graphify-out/cache/ast/v0.8.44/55853bb2d2c79fee977be9361d34d981b536c81547093f6e65da782c763388ed.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/5f159ba0f3ab3fd3dbb2e3844e8a635da85aea7fcb546e96053143ccd69aa5c5.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/60331aef5f3b52906723ceb6426e968c83172cf728cd8ee8dc098c837fcf1da4.json
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"nodes": [{"id": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontext_php", "label": "DomainContext.php", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L1"}, {"id": "service_domaincontext_domaincontext", "label": "DomainContext", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L9"}, {"id": "service_domaincontext_domaincontext_construct", "label": ".__construct()", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L11"}, {"id": "service_domaincontext_domaincontext_empty", "label": ".empty()", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L17"}, {"id": "self", "label": "self", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L17"}, {"id": "service_domaincontext_domaincontext_representationid", "label": ".representationId()", "file_type": "code", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L22"}], "edges": [{"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontext_php", "target": "city", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L5", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontext_php", "target": "representation", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L6", "weight": 1.0}, {"source": "users_hamed_pj_my_pj_clinic_pro_clinicpro_src_representation_service_domaincontext_php", "target": "service_domaincontext_domaincontext", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L9", "weight": 1.0}, {"source": "service_domaincontext_domaincontext", "target": "service_domaincontext_domaincontext_construct", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L11", "weight": 1.0}, {"source": "service_domaincontext_domaincontext", "target": "service_domaincontext_domaincontext_empty", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L17", "weight": 1.0}, {"source": "service_domaincontext_domaincontext_empty", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L17", "weight": 1.0, "context": "return_type"}, {"source": "service_domaincontext_domaincontext", "target": "service_domaincontext_domaincontext_representationid", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/Representation/Service/DomainContext.php", "source_location": "L22", "weight": 1.0}], "raw_calls": []}
|
||||
graphify-out/cache/ast/v0.8.44/71132bf3d0aeee34eae0945736ec23a52638902a186dc8d24c1272b869e4c64c.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/7a65598ff6675e87b27a3e8577afddee8e862636aa0f47c22dfaae2a498a5f95.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/7dc79782c05c144c5319c483ceb318f55afe334c70bdda309cd42f109ef5d352.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/88e61f95e22344069359621948aab3a9d9b80ad393ffd57df618c2124838ee77.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/8f5af952c994559d4ca21e87957017826685729dd8b5c5bf59c3c9b3c3b02287.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/91ff9fe1543497259c0bf018b7fd0ba5d7d82aa5f96bdb8fc46948fe79473b4b.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/94dc860f300f6e0acf241b7c064dac0153a7746dc1c47ecc814b0d98f9748641.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/969c6a645198cf9b930a5d4fa203adab490ce59bca3460cb410ae040a333cbac.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/987af1ca119180771f6305de4886ee6b0bc49477020e7f9151578d36ffae67cf.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/a9cf9bc5f68122f8b077138ee8ee76916407a34814806989fa09192962701bd3.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/bfe69ca9f9bd18eaf159f24e63ee4e6fb88ab3d86dea725e9a7c27cba0f6d6d8.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/cfccd8ae84b285c32a68817fa06c4f1b9694b133669ff06a70a7c996b47c67f6.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/dd99a5ee7f77a83f02171272634c9232a425204b86c18b13e6748549882fb1f7.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/e9d63073d11ef51c3cc5bf4010394485ae27190d29b5997edbd5ade0f9a14617.json
Vendored
+1
File diff suppressed because one or more lines are too long
graphify-out/cache/ast/v0.8.44/fc1f5be7a63295184a69a7c63af90e9d6f03c74dbd27b854f65d72965cac06a9.json
Vendored
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user