Skip to content

Commit

Permalink
Bundle migration and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakarFin committed Mar 12, 2024
1 parent 28d6732 commit 16c0860
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
13 changes: 13 additions & 0 deletions MigrationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ to use the `artifactId`:
```
See example here: https://github.com/oskariorg/sample-server-extension/pull/56/files

### Bundle changes

- `personaldata` bundle has been removed from the source code. The drop-in replacement is the `mydata` bundle that has been available for a couple of releases already. DB migration is included (2.13.2 under Flyway migrations) but requires linking the new implementation on frontend `main.js`.

New bundles with parallel versions:
- `featuredata` is a React-based drop-in replacement for jQuery-based `featuredata2` for feature data table.
- `metadatasearch` is a React-based drop-in replacement for jQuery-based `metadatacatalogue` for searching metadata.

Switching these requires db migration as well as linking the new implementation on frontend `main.js` as the bundle id changed, but the old version is also still available.

- `statsgrid` has a full React rewrite for thematic maps/statistical data functionality https://github.com/oskariorg/oskari-frontend/pull/2599 Requires linking the new codebase on frontend `main.js` (https://github.com/oskariorg/sample-application/pull/33), but doesn't require db migration since bundle id remains the same.


## 2.11.0

PostgreSQL 11 is now the minimum version supported (FlywayDB dependency).
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
UPDATE oskari_appsetup_bundles
SET bundle_id = (select id from oskari_bundle where name='mydata'),
bundleinstance = 'mydata'
WHERE bundle_id = (select id from oskari_bundle where name='personaldata');

0 comments on commit 16c0860

Please sign in to comment.