Files
floci/src
Hector Ventura e402c6ec18 feat(codedeploy): Server platform — on-premises instance management, Server AppSpec YAML, lifecycle events, SSM hook execution (#731)
- Add 7 on-premises instance operations: RegisterOnPremisesInstance,
  DeregisterOnPremisesInstance, GetOnPremisesInstance,
  BatchGetOnPremisesInstances, ListOnPremisesInstances,
  AddTagsToOnPremisesInstances, RemoveTagsFromOnPremisesInstances

- Add Server AppSpec YAML parsing (jackson-dataformat-yaml) extracting
  os and hooks map (hookName → [{location, timeout, runas}])

- Resolve deployment targets from EC2 tag filters (via Ec2Service) and
  on-premises instance tag filters; fall back to all registered
  on-premises instances when no filters are configured

- Run lifecycle events in order (ApplicationStop → DownloadBundle →
  ValidateService) on a virtual thread per deployment; DownloadBundle
  and Install auto-succeed as infrastructure steps

- Execute AppSpec hook scripts via SSM Run Command when the instance is
  registered in SSM; graceful degradation (treat as succeeded) when SSM
  is not available for an instance

- Refactor deploymentTargets from two-level to three-level
  (region→deploymentId→targetId→wrapper) to support multi-instance
  Server deployments alongside existing Lambda/ECS single-target shape

- Add SsmCommandService helpers: isInstanceRegistered,
  sendCommandToInstance, getCommandInvocationStatus

- Add OnPremisesInstance model with instanceName, instanceArn,
  iamSessionArn, iamUserArn, registerTime, deregisterTime, tags,
  registrationStatus
2026-05-06 23:36:50 -05:00
..