From 749cf8c9e074adbee1f4ce8677e2e21380b6fa42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Thomas?= Date: Thu, 27 Jun 2024 17:05:23 +0200 Subject: [PATCH 1/3] feat: add private_network_ids field for the app model --- apps.go | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/apps.go b/apps.go index b0d4256..979f1e1 100644 --- a/apps.go +++ b/apps.go @@ -94,27 +94,28 @@ type AppLinks struct { } type App struct { - ID string `json:"id"` - Name string `json:"name"` - Region string `json:"region"` - Owner Owner `json:"owner"` - GitURL string `json:"git_url"` - URL string `json:"url"` - BaseURL string `json:"base_url"` - Status AppStatus `json:"status"` - LastDeployedAt *time.Time `json:"last_deployed_at"` - LastDeployedBy string `json:"last_deployed_by"` - CreatedAt *time.Time `json:"created_at"` - UpdatedAt *time.Time `json:"updated_at"` - Links *AppLinks `json:"links"` - StackID string `json:"stack_id"` - StickySession bool `json:"sticky_session"` - ForceHTTPS bool `json:"force_https"` - RouterLogs bool `json:"router_logs"` - DataAccessConsent *DataAccessConsent `json:"data_access_consent,omitempty"` - Flags map[string]bool `json:"flags"` - Limits map[string]interface{} `json:"limits"` - HDSResource bool `json:"hds_resource"` + ID string `json:"id"` + Name string `json:"name"` + Region string `json:"region"` + Owner Owner `json:"owner"` + GitURL string `json:"git_url"` + URL string `json:"url"` + BaseURL string `json:"base_url"` + Status AppStatus `json:"status"` + LastDeployedAt *time.Time `json:"last_deployed_at"` + LastDeployedBy string `json:"last_deployed_by"` + CreatedAt *time.Time `json:"created_at"` + UpdatedAt *time.Time `json:"updated_at"` + Links *AppLinks `json:"links"` + StackID string `json:"stack_id"` + StickySession bool `json:"sticky_session"` + ForceHTTPS bool `json:"force_https"` + RouterLogs bool `json:"router_logs"` + DataAccessConsent *DataAccessConsent `json:"data_access_consent,omitempty"` + Flags map[string]bool `json:"flags"` + Limits map[string]interface{} `json:"limits"` + HDSResource bool `json:"hds_resource"` + PrivateNetworksIDs []string `json:"private_networks_ids"` } func (app App) String() string { From 393478ce3cefce475314a39a43d90f00c0587051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Thomas?= Date: Mon, 1 Jul 2024 10:23:19 +0200 Subject: [PATCH 2/3] feat(CHANGELOG): add an entry for the current PR --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4763697..76cb197 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## To Be Released +* feat(apps): add the private_network_ids field to the model + ## 7.0.0 * feat(domains): Add `letsencrypt_enabled` parameter From 780179b8bbb00b240bf082a6136284b808a9e7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Thomas?= Date: Mon, 1 Jul 2024 11:49:35 +0200 Subject: [PATCH 3/3] Update CHANGELOG.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Étienne M. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76cb197..ca6fc26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## To Be Released -* feat(apps): add the private_network_ids field to the model +* feat(apps): add the `private_network_ids` field to the model ## 7.0.0