Skip to content

Commit 2b95e49

Browse files
authored
[release/1.7.0] Formal 1.7.0 Release merge (#1088)
1 parent 1120543 commit 2b95e49

File tree

12 files changed

+167
-18
lines changed

12 files changed

+167
-18
lines changed

backend/edge-api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<plugin>
5959
<groupId>io.featurehub.tooling</groupId>
6060
<artifactId>maven-openapi-publisher</artifactId>
61-
<version>1.1</version>
61+
<version>1.2</version>
6262
<executions>
6363
<execution>
6464
<id>export</id>
@@ -89,7 +89,7 @@
8989
<plugin>
9090
<groupId>io.featurehub.tooling</groupId>
9191
<artifactId>maven-openapi-publisher</artifactId>
92-
<version>1.1</version>
92+
<version>1.2</version>
9393
<executions>
9494
<execution>
9595
<id>export</id>

backend/enricher-api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<plugin>
8484
<groupId>io.featurehub.tooling</groupId>
8585
<artifactId>maven-openapi-publisher</artifactId>
86-
<version>1.1</version>
86+
<version>1.2</version>
8787
<executions>
8888
<execution>
8989
<id>publish</id>
@@ -114,7 +114,7 @@
114114
<plugin>
115115
<groupId>io.featurehub.tooling</groupId>
116116
<artifactId>maven-openapi-publisher</artifactId>
117-
<version>1.1</version>
117+
<version>1.2</version>
118118
<executions>
119119
<execution>
120120
<id>export</id>

backend/messaging-api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<plugin>
7777
<groupId>io.featurehub.tooling</groupId>
7878
<artifactId>maven-openapi-publisher</artifactId>
79-
<version>1.1</version>
79+
<version>1.2</version>
8080
<executions>
8181
<execution>
8282
<id>publish</id>
@@ -107,7 +107,7 @@
107107
<plugin>
108108
<groupId>io.featurehub.tooling</groupId>
109109
<artifactId>maven-openapi-publisher</artifactId>
110-
<version>1.1</version>
110+
<version>1.2</version>
111111
<executions>
112112
<execution>
113113
<id>export</id>

backend/mr-api/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<plugin>
5959
<groupId>io.featurehub.tooling</groupId>
6060
<artifactId>maven-openapi-publisher</artifactId>
61-
<version>1.1</version>
61+
<version>1.2</version>
6262
<executions>
6363
<execution>
6464
<id>publish</id>
@@ -89,7 +89,7 @@
8989
<plugin>
9090
<groupId>io.featurehub.tooling</groupId>
9191
<artifactId>maven-openapi-publisher</artifactId>
92-
<version>1.1</version>
92+
<version>1.2</version>
9393
<executions>
9494
<execution>
9595
<id>export</id>

current-rc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.0-RC
1+
1.7.0

docs/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: featurehub
22
version: 1.7.0
33
start_page: ROOT:index.adoc
44
title: FeatureHub
5-
prerelease: -rc
5+
#prerelease: -rc
66
# comment
77
nav:
88
- modules/ROOT/nav.adoc
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"latest" : "1.1.5",
2+
"latest" : "1.1.6",
33
"versions" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5", "1.1.6" ],
4-
"published" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5" ]
4+
"published" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5", "1.1.6" ]
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"latest" : "1.1.2",
2+
"latest" : "1.1.3",
33
"versions" : [ "1.1.1", "1.1.2", "1.1.3" ],
4-
"published" : [ "1.1.1", "1.1.2" ]
4+
"published" : [ "1.1.1", "1.1.2", "1.1.3" ]
55
}

infra/api-bucket/files/mrapi/1.2.0.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4576,6 +4576,13 @@ components:
45764576
- serviceAccount
45774577
- sdkServiceAccount
45784578
default: person
4579+
PersonId:
4580+
required:
4581+
- id
4582+
properties:
4583+
id:
4584+
type: string
4585+
format: uuid
45794586
ApplicationPermissions:
45804587
required:
45814588
- applicationRoles
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"latest" : "1.1.12",
2+
"latest" : "1.2.0",
33
"versions" : [ "1.1.5", "1.1.6", "1.1.8", "1.1.9", "1.1.10", "1.1.11", "1.1.12", "1.1.14", "1.2.0" ],
4-
"published" : [ "1.1.5", "1.1.6", "1.1.8", "1.1.9", "1.1.10", "1.1.11", "1.1.12" ]
4+
"published" : [ "1.1.5", "1.1.6", "1.1.8", "1.1.9", "1.1.10", "1.1.11", "1.1.12", "1.2.0" ]
55
}

infra/api-bucket/files/webhooks/1.2.0.yaml

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,152 @@ components:
141141
type: integer
142142
description: used for optimistic locking when renaming a feature
143143
format: int64
144+
CacheFeatureValue:
145+
required:
146+
- id
147+
- key
148+
- locked
149+
- version
150+
properties:
151+
id:
152+
type: string
153+
format: uuid
154+
key:
155+
type: string
156+
locked:
157+
type: boolean
158+
value:
159+
description: default value if no strategy matches. interpreted by type in
160+
parent
161+
rolloutStrategies:
162+
type: array
163+
description: These are custom rollout strategies that only apply to this
164+
feature value.
165+
items:
166+
$ref: '#/components/schemas/CacheRolloutStrategy'
167+
version:
168+
type: integer
169+
description: used for optimistic locking
170+
format: int64
171+
retired:
172+
type: boolean
173+
description: "if true or null, this feature will visible on edge. if false,\
174+
\ it will not be passed to the client"
175+
pId:
176+
type: string
177+
description: personIdWhoChanged
178+
format: uuid
179+
CacheRolloutStrategy:
180+
description: This is the model for the rollout strategy as required by Dacha
181+
and Edge
182+
allOf:
183+
- $ref: '#/components/schemas/BaseRolloutStrategy'
184+
- required:
185+
- attributes
186+
- id
187+
type: object
188+
properties:
189+
id:
190+
type: string
191+
description: strategy id
192+
attributes:
193+
type: array
194+
items:
195+
$ref: '#/components/schemas/CacheRolloutStrategyAttribute'
196+
CacheRolloutStrategyAttribute:
197+
allOf:
198+
- $ref: '#/components/schemas/RolloutStrategyAttribute'
199+
- required:
200+
- conditional
201+
- fieldName
202+
- type
203+
type: object
144204
FeatureValueType:
145205
type: string
146206
enum:
147207
- BOOLEAN
148208
- STRING
149209
- NUMBER
150210
- JSON
211+
BaseStrategy:
212+
properties:
213+
percentage:
214+
type: integer
215+
description: value between 0 and 1000000 - for four decimal places
216+
nullable: true
217+
percentageAttributes:
218+
type: array
219+
description: "if you don't wish to apply percentage based on user id, you\
220+
\ can use one or more attributes defined here"
221+
nullable: true
222+
items:
223+
type: string
224+
default: []
225+
attributes:
226+
type: array
227+
nullable: true
228+
items:
229+
$ref: '#/components/schemas/RolloutStrategyAttribute'
230+
default: []
231+
description: "if the feature in an environment is different from its default,\
232+
\ this will be the reason for it. a rollout strategy is defined at the Application\
233+
\ level and then applied to a specific feature value. When they are copied\
234+
\ to the cache layer they are cloned and the feature value for that strategy\
235+
\ is inserted into the clone and those are published."
236+
BaseRolloutStrategy:
237+
allOf:
238+
- $ref: '#/components/schemas/BaseStrategy'
239+
- type: object
240+
properties:
241+
value:
242+
description: when we attach the RolloutStrategy for Dacha or SSE this
243+
lets us push the value out. Only visible in SDK and SSE Edge.
244+
nullable: true
245+
RolloutStrategyAttribute:
246+
required:
247+
- conditional
248+
- fieldName
249+
- type
250+
properties:
251+
id:
252+
type: string
253+
description: An ID that needs to exist for validation
254+
nullable: true
255+
conditional:
256+
$ref: '#/components/schemas/RolloutStrategyAttributeConditional'
257+
fieldName:
258+
type: string
259+
values:
260+
type: array
261+
description: the value(s) associated with this rule
262+
items:
263+
$ref: '#/components/schemas/RolloutStrategyArrayType'
264+
default: []
265+
type:
266+
$ref: '#/components/schemas/RolloutStrategyFieldType'
267+
RolloutStrategyArrayType:
268+
description: values depend on the field type
269+
RolloutStrategyFieldType:
270+
type: string
271+
enum:
272+
- STRING
273+
- SEMANTIC_VERSION
274+
- NUMBER
275+
- DATE
276+
- DATETIME
277+
- BOOLEAN
278+
- IP_ADDRESS
279+
RolloutStrategyAttributeConditional:
280+
type: string
281+
enum:
282+
- EQUALS
283+
- ENDS_WITH
284+
- STARTS_WITH
285+
- GREATER
286+
- GREATER_EQUALS
287+
- LESS
288+
- LESS_EQUALS
289+
- NOT_EQUALS
290+
- INCLUDES
291+
- EXCLUDES
292+
- REGEX
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"latest" : "1.1.2",
2+
"latest" : "1.2.0",
33
"versions" : [ "1.1.1", "1.1.2", "1.2.0" ],
4-
"published" : [ "1.1.1", "1.1.2" ]
4+
"published" : [ "1.1.1", "1.1.2", "1.2.0" ]
55
}

0 commit comments

Comments
 (0)