Skip to content

Commit

Permalink
[release/1.7.0] Formal 1.7.0 Release merge (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvowles authored Nov 18, 2023
1 parent 1120543 commit 2b95e49
Show file tree
Hide file tree
Showing 12 changed files with 167 additions and 18 deletions.
4 changes: 2 additions & 2 deletions backend/edge-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>export</id>
Expand Down Expand Up @@ -89,7 +89,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>export</id>
Expand Down
4 changes: 2 additions & 2 deletions backend/enricher-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>publish</id>
Expand Down Expand Up @@ -114,7 +114,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>export</id>
Expand Down
4 changes: 2 additions & 2 deletions backend/messaging-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>publish</id>
Expand Down Expand Up @@ -107,7 +107,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>export</id>
Expand Down
4 changes: 2 additions & 2 deletions backend/mr-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>publish</id>
Expand Down Expand Up @@ -89,7 +89,7 @@
<plugin>
<groupId>io.featurehub.tooling</groupId>
<artifactId>maven-openapi-publisher</artifactId>
<version>1.1</version>
<version>1.2</version>
<executions>
<execution>
<id>export</id>
Expand Down
2 changes: 1 addition & 1 deletion current-rc.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.0-RC
1.7.0
2 changes: 1 addition & 1 deletion docs/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: featurehub
version: 1.7.0
start_page: ROOT:index.adoc
title: FeatureHub
prerelease: -rc
#prerelease: -rc
# comment
nav:
- modules/ROOT/nav.adoc
4 changes: 2 additions & 2 deletions infra/api-bucket/files/edge/releases.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"latest" : "1.1.5",
"latest" : "1.1.6",
"versions" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5", "1.1.6" ],
"published" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5" ]
"published" : [ "1.1.2", "1.1.3", "1.1.4", "1.1.5", "1.1.6" ]
}
4 changes: 2 additions & 2 deletions infra/api-bucket/files/messaging/releases.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"latest" : "1.1.2",
"latest" : "1.1.3",
"versions" : [ "1.1.1", "1.1.2", "1.1.3" ],
"published" : [ "1.1.1", "1.1.2" ]
"published" : [ "1.1.1", "1.1.2", "1.1.3" ]
}
7 changes: 7 additions & 0 deletions infra/api-bucket/files/mrapi/1.2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4576,6 +4576,13 @@ components:
- serviceAccount
- sdkServiceAccount
default: person
PersonId:
required:
- id
properties:
id:
type: string
format: uuid
ApplicationPermissions:
required:
- applicationRoles
Expand Down
4 changes: 2 additions & 2 deletions infra/api-bucket/files/mrapi/releases.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"latest" : "1.1.12",
"latest" : "1.2.0",
"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" ],
"published" : [ "1.1.5", "1.1.6", "1.1.8", "1.1.9", "1.1.10", "1.1.11", "1.1.12" ]
"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" ]
}
142 changes: 142 additions & 0 deletions infra/api-bucket/files/webhooks/1.2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,152 @@ components:
type: integer
description: used for optimistic locking when renaming a feature
format: int64
CacheFeatureValue:
required:
- id
- key
- locked
- version
properties:
id:
type: string
format: uuid
key:
type: string
locked:
type: boolean
value:
description: default value if no strategy matches. interpreted by type in
parent
rolloutStrategies:
type: array
description: These are custom rollout strategies that only apply to this
feature value.
items:
$ref: '#/components/schemas/CacheRolloutStrategy'
version:
type: integer
description: used for optimistic locking
format: int64
retired:
type: boolean
description: "if true or null, this feature will visible on edge. if false,\
\ it will not be passed to the client"
pId:
type: string
description: personIdWhoChanged
format: uuid
CacheRolloutStrategy:
description: This is the model for the rollout strategy as required by Dacha
and Edge
allOf:
- $ref: '#/components/schemas/BaseRolloutStrategy'
- required:
- attributes
- id
type: object
properties:
id:
type: string
description: strategy id
attributes:
type: array
items:
$ref: '#/components/schemas/CacheRolloutStrategyAttribute'
CacheRolloutStrategyAttribute:
allOf:
- $ref: '#/components/schemas/RolloutStrategyAttribute'
- required:
- conditional
- fieldName
- type
type: object
FeatureValueType:
type: string
enum:
- BOOLEAN
- STRING
- NUMBER
- JSON
BaseStrategy:
properties:
percentage:
type: integer
description: value between 0 and 1000000 - for four decimal places
nullable: true
percentageAttributes:
type: array
description: "if you don't wish to apply percentage based on user id, you\
\ can use one or more attributes defined here"
nullable: true
items:
type: string
default: []
attributes:
type: array
nullable: true
items:
$ref: '#/components/schemas/RolloutStrategyAttribute'
default: []
description: "if the feature in an environment is different from its default,\
\ this will be the reason for it. a rollout strategy is defined at the Application\
\ level and then applied to a specific feature value. When they are copied\
\ to the cache layer they are cloned and the feature value for that strategy\
\ is inserted into the clone and those are published."
BaseRolloutStrategy:
allOf:
- $ref: '#/components/schemas/BaseStrategy'
- type: object
properties:
value:
description: when we attach the RolloutStrategy for Dacha or SSE this
lets us push the value out. Only visible in SDK and SSE Edge.
nullable: true
RolloutStrategyAttribute:
required:
- conditional
- fieldName
- type
properties:
id:
type: string
description: An ID that needs to exist for validation
nullable: true
conditional:
$ref: '#/components/schemas/RolloutStrategyAttributeConditional'
fieldName:
type: string
values:
type: array
description: the value(s) associated with this rule
items:
$ref: '#/components/schemas/RolloutStrategyArrayType'
default: []
type:
$ref: '#/components/schemas/RolloutStrategyFieldType'
RolloutStrategyArrayType:
description: values depend on the field type
RolloutStrategyFieldType:
type: string
enum:
- STRING
- SEMANTIC_VERSION
- NUMBER
- DATE
- DATETIME
- BOOLEAN
- IP_ADDRESS
RolloutStrategyAttributeConditional:
type: string
enum:
- EQUALS
- ENDS_WITH
- STARTS_WITH
- GREATER
- GREATER_EQUALS
- LESS
- LESS_EQUALS
- NOT_EQUALS
- INCLUDES
- EXCLUDES
- REGEX
4 changes: 2 additions & 2 deletions infra/api-bucket/files/webhooks/releases.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"latest" : "1.1.2",
"latest" : "1.2.0",
"versions" : [ "1.1.1", "1.1.2", "1.2.0" ],
"published" : [ "1.1.1", "1.1.2" ]
"published" : [ "1.1.1", "1.1.2", "1.2.0" ]
}

0 comments on commit 2b95e49

Please sign in to comment.