This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: lifecycle API and review workflow
This closes gravitee-io/issues#1996
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
= Upgrade to 1.26.0 | ||
|
||
== API lifecycle | ||
|
||
Starting with Gravitee.io 1.26, we introduce API lifecycle to manage your APIs. | ||
|
||
To follow that new feature, the Rest Management API has been updated to reflect those changes. | ||
|
||
== Repository | ||
=== Mongodb | ||
|
||
https://raw.githubusercontent.com/gravitee-io/release/master/upgrades/1.26.0/mongodb/1-apis-migration.js[upgrades/1.26.0/mongodb/1-apis-migration.js]:: | ||
This script update apis according to the new way Gravitee.io is managing them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
print('APIs migration'); | ||
db.apis.find().forEach( | ||
function (api) { | ||
print(" update the api"); | ||
db.apis.updateOne( | ||
{ _id: api._id }, | ||
{ $set: { apiLifecycleState: 'PUBLISHED' }}); | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters