- Remove spring-cloud-starter-zookeeper-discovery from POM
(V1 doesn't have it, causes zookeeperRibbonClientConfiguration error)
- Remove ZK exclusions from AppApplication.java (no longer needed)
- bootstrap.properties now 100% identical to V1 production
- PersonFeignClient restored to placeholder-based name (no hardcoded URL)
- Remove NIWSServerListClassName/listOfServers (ConfigurationBasedServerList)
Bump version to 2.0.17
- Restore bootstrap to match production (discovery.enabled=false,
consul.host=371bfca4972c43d2aefcf302d0a4a277)
- Add spring.cloud.zookeeper.enabled=false to prevent
zookeeperRibbonClientConfiguration runtime error (child context)
- Remove ConfigurationBasedServerList overrides from app properties
(no longer needed with proper config alignment)
- Revert PersonFeignClient url hardcode back to placeholder name
Bump version to 2.0.16
- JAR name fixed to cw-elevator-application-V1.0.0.20211103.jar
matching V1 production naming convention exactly
- Release bundle directory uses version+date for identification
- Update release script and POM finalName accordingly
- V1 main class: cn.cloudwalk.elevator.AppApplication
- V2 was ElevatorApplication, now aligned to AppApplication
- Also update reference in test script
Second Registration bean conflict: ServiceRegistryEndpoint also needs
single bean. Exclude both ZK auto-configuration classes for ServiceRegistry.
- ZookeeperAutoServiceRegistrationAutoConfiguration (already excluded)
- ZookeeperServiceRegistryAutoConfiguration (added)
Bump version to 2.0.13
- ElevatorApplication startup failed: Registration bean conflict between
ZookeeperAutoServiceRegistration and ConsulAutoServiceRegistration
- Exclude ZookeeperAutoServiceRegistrationAutoConfiguration (ZK for
discovery only, not registration; Consul handles registration)
- Bump version to 2.0.12, rebuild deployment package
- Add missing org_id column (488b8ad049bb43408a6fbcc50bcb89ac)
- Fix allow_zone_ids to use snowflake zone_id 605560545117995008 (28F)
instead of orphan UUID that matched no known zone table
- Fix DB record: update zone_id + add org_id, bump policy_version to 2
Insert tenant_visitor_floor_policy for 7 property management orgs:
visitor default floor set to zone 605560541473144832 (6F).
SQL idempotent via ON DUPLICATE KEY UPDATE.
Document the investigation into how ConsulServerList was replaced by
ConfigurationBasedServerList with hardcoded IPs for Feign client service
discovery. Covers V1 vs V2 config gap, three upstream services, and
P0-P2 investigation items.
Former-commit-id: 15a0d8567de43f8741d50cbcddc2599383942754
- Add ZK discovery dep to parent POM (v1.1.0.RELEASE, Edgware-compatible)
- Add ZK discovery dep to starter POM for runtime classpath inclusion
- Architecture: discovery.enabled=false → Consul registration only
ZK DiscoveryClient → service lookup for Feign → Ribbon → ServerList
Closes gap between architecture design doc and implementation
Former-commit-id: 6b5898d0e07ca6ebf2ccbb69ace5fa77ac6f0749
- PersonFeignClient: add url=http://127.0.0.1:33011 to bypass Ribbon/Consul discovery
- application.properties: add ninca-common-component-organization.ribbon.listOfServers
- Add stub-person-service.py for simulating component-organization person/detail
Returns PersonResult with floorList and organizationIds for policy testing
NOTE: PersonFeignClient url change is test-only, revert before production
Former-commit-id: ff9a9ed68ec81fc2de68cc74cd22edcf38b510cb