Commit Graph

7 Commits

Author SHA1 Message Date
hpd840321 d8bcc14563 feat: add policy tracing logs across organization component and elevator
TenantVisitorFloorPolicyService:
  - [POLICY-HIT] log when policy matched with orgId, policyId, allowZones
  - [POLICY-MISS] debug log when no policy found for orgId
  - [POLICY-EMPTY] warn when allow_zone_ids parsed empty
  - [POLICY-FALLBACK] warn on query failure with orgId context
  - [POLICY-RESULT] info on matched orgId and zones in batch check

ImgPersonServiceImpl.detail():
  - [DETAIL] log raw floorList from listByImageId
  - [DETAIL-POLICY] log floorList REPLACED: before→after with orgIds
  - [DETAIL] warn when listByImageId fails

ImgPersonServiceImpl.listByPage():
  - [LIST-PAGE-POLICY] log policy hit with zone count and default
  - [LIST-PAGE-XHW] debug log for 40F/6F hardcoded branch
  - [LIST-PAGE-FILTER] debug log when visitor label filtered

PersonRuleServiceImpl.addVisitor():
  - [ADDV-DETAIL] log detail floorList and orgIds
2026-05-10 09:37:51 +08:00
hpd840321 368d14de0e feat: add release build script for component-organization service
- release-component-organization.sh: Maven build + DDL + config + ZIP
- Includes organization-side active policy SQL (唯一策略维护点)
- Naming: ninca-common-component-organization-{ver}-xinghewan-{date}
2026-05-10 06:54:22 +08:00
hpd840321 73dc34ec2c fix: update DDL policy_type DEFAULT from INTERSECT_ALLOWLIST to REPLACE_ALLOWLIST
- organization_tenant_visitor_floor_policy.sql: DEFAULT REPLACE_ALLOWLIST
- tenant_visitor_floor_policy.sql: @deprecated marker + DEFAULT fix
- Align DDL schema with V2 replacement semantics
2026-05-10 06:43:15 +08:00
hpd840321 03752480a4 feat: normalize policy data (REPLACE_ALLOWLIST), add org-side DDL to release bundle, add release plan
- Update release script: include org-side active DDL/seed + deprecation README
- Normalize seed SQL: policy_type=REPLACE_ALLOWLIST, uniform remark format
- Add version release plan and naming conventions spec
- Disable elevator-side tenant_visitor_floor_policy (V2 no longer queries it)
2026-05-10 01:14:03 +08:00
hpd840321 42c4a9fd6b docs: mark elevator-side tenant policy SQL as deprecated, add guangfa visitor floor design
- Deprecate elevator-side tenant_visitor_floor_policy SQL files
  (V2 queries only component-organization library)
- Add guangfa 28F visitor floor design spec (table-driven approach A)
- Add complete database ER diagram (14 DBs, 537 tables)
- Add implementation plan for guangfa visitor floor policy
- Code walkthrough docs for visitor floor policy analysis
2026-05-09 23:56:12 +08:00
hpd840321 721e88dd89 docs: record reorganization history (master 10f651c..1ab5cad, 16 commits)
Parent-repo master branch reorganization:
- 2026-05-07: Rename Chinese dirs (星中心→runtime, 部署包→packages, 源码→source)
- 2026-05-07: Move nginx/artifacts from submodule to top-level
- 2026-05-07: Archive decompiled sources, frontend backups, misc
- 2026-05-01: Docker Compose test infra, V2 build scripts, API parity tools
- 2026-05-05: Fix policy evaluation bug
Original commits preserved on local master.
2026-05-09 09:57:16 +08:00
hpd840321 7b2bd307f1 Initial commit: reorganized source tree
- backend/: 13 Maven modules (cw-elevator-application, cloudwalk-cloud, intelligent-cwoscomponent, ninca-crk, etc.)
- frontend/: 4 Vue projects (elevator-front, cwos-portal, alarm-front, front_acs) + decompiled + scripts
- scripts/: build, test-env, tools (Docker Compose, service templates, API parity)
- docs/: AGENTS.md, superpowers specs, architecture docs
- .gitignore: standard Java/Maven exclusions

Moved from legacy maven-*/ root layout to backend/ organized structure.
2026-05-09 09:56:45 +08:00