88: Build portainer-automation service #131

Merged
hitanshu merged 10 commits from Dave/CFTunnels:ISSUE-88 into test 2026-07-06 05:14:36 +00:00
Member

Implements the portainer-automation Spring Boot service for Portainer stack redeployment.

  • PortainerAutomationProperties: configuration binding for baseUrl, apiKey, endpointId, service.apiKey
  • PortainerClientConfig: SSL-friendly RestTemplate (trusts all certs for self-signed Portainer CE) + PortainerApiClient bean
  • DeployService: calls redeployGitStack with configured endpointId
  • DeployController: POST /api/deploy/{stackId} with X-API-Key auth
  • DeployControllerTest: 4 test cases (valid key, invalid key, missing key, service error)

Closes #88

Implements the portainer-automation Spring Boot service for Portainer stack redeployment. - PortainerAutomationProperties: configuration binding for baseUrl, apiKey, endpointId, service.apiKey - PortainerClientConfig: SSL-friendly RestTemplate (trusts all certs for self-signed Portainer CE) + PortainerApiClient bean - DeployService: calls redeployGitStack with configured endpointId - DeployController: POST /api/deploy/{stackId} with X-API-Key auth - DeployControllerTest: 4 test cases (valid key, invalid key, missing key, service error) Closes #88
Dave added 8 commits 2026-07-06 05:03:40 +00:00
Dave added 1 commit 2026-07-06 05:10:21 +00:00
88: Fix PortainerApiClient import/constructor, replace TrustAllStrategy with lambda
Some checks failed
sample gradle build and test / build (pull_request) Has been cancelled
93e9baa5d4
Dave added 1 commit 2026-07-06 05:10:23 +00:00
88: Fix PortainerApiClient import path
All checks were successful
sample gradle build and test / build (pull_request) Successful in 1m50s
sample gradle build and test / tag (push) Successful in 6s
sample gradle build and test / build_tag_push (push) Successful in 2m17s
3c47643cd4
hitanshu merged commit 3c47643cd4 into test 2026-07-06 05:14:36 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hithomelabs/CFTunnels#131
No description provided.