Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
feat: lifecycle API and review workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aelamrani committed May 18, 2019
1 parent 5f060e4 commit ddce43d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions upgrades/1.26.0/README.adoc
@@ -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.
10 changes: 10 additions & 0 deletions upgrades/1.26.0/mongodb/1-apis-migration.js
@@ -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' }});
}
);
2 changes: 2 additions & 0 deletions upgrades/README.adoc
@@ -1,6 +1,8 @@
= Upgrade Notes

ifdef::env-github[]
include::1.26.0/README.adoc[leveloffset=+1]

include::1.25.0/README.adoc[leveloffset=+1]

include::1.24.0/README.adoc[leveloffset=+1]
Expand Down

0 comments on commit ddce43d

Please sign in to comment.