Skip to content

Commit

Permalink
fixup! add placeholders
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Oct 17, 2019
1 parent 3441d0f commit 09917e8
Show file tree
Hide file tree
Showing 19 changed files with 107 additions and 50 deletions.
10 changes: 5 additions & 5 deletions docs/site/migration/auth/built-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-auth-built-in.html
---

TODO: explain how to migrate:

- built-in models (User, AccessToken, ACL)
- authentication
- authorization
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3719](https://github.com/strongloop/loopback-next/issues/3719)
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/auth/oauth2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-auth-oauth2.html
---

TODO: explain how to migrate apps using loopback-component-oauth2
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3959](https://github.com/strongloop/loopback-next/issues/3959)
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/auth/passport.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-auth-passport.html
---

TODO: explain how to migrate apps using loopback-component-passport
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3958](https://github.com/strongloop/loopback-next/issues/3958)
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/boot-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-boot-scripts.html
---

TODO: Explain how to migrate LB3 boot scripts to LB4 LifeCycle observers.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3957](https://github.com/strongloop/loopback-next/issues/3957)
" %}
13 changes: 13 additions & 0 deletions docs/site/migration/cli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
lang: en
title: 'Migrating CLI usage patterns'
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-cli.html
---

{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3953](https://github.com/strongloop/loopback-next/issues/3953)
" %}
13 changes: 5 additions & 8 deletions docs/site/migration/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-clients.html
---

Explain how to migrate client code using one of LB3 client SDKs:

- AngularJS (1.x)
- Angular (2+) (see loopback-sdk-builder)
- Android
- iOS
- Xamarin
- Isomorphic JavaScript
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3954](https://github.com/strongloop/loopback-next/issues/3954)
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/datasources.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-datasources.html
---

TODO: show how to migrate a datasource from a LB3 app to LB4.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3946](https://github.com/strongloop/loopback-next/issues/3946).
" %}
7 changes: 5 additions & 2 deletions docs/site/migration/express-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-express-middleware.html
---

TODO: show how to migrate a Express middleware from a LB3 app mounted inside LB4
to top-level, so that the middleware is executed for both LB3 and LB4 endpoints.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3947](https://github.com/strongloop/loopback-next/issues/3947)
" %}
7 changes: 5 additions & 2 deletions docs/site/migration/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-extensions.html
---

TODO: explain how to migrate custom LB3 components/extensions written by our
community to make them usable in LB4 projects.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3955](https://github.com/strongloop/loopback-next/issues/3955)
" %}
12 changes: 5 additions & 7 deletions docs/site/migration/models/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-core.html
---

TODO: Explain how to migrate core Model functionality:

- Model definition
- Persistence (via LB4 repositories)
- REST API (via LB4 controllers)

Show how to use `lb4 import-model`.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3718](https://github.com/strongloop/loopback-next/issues/3718).
" %}
9 changes: 5 additions & 4 deletions docs/site/migration/models/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-methods.html
---

TODO: Explain how to migrate custom model methods:

- Methods related to persistence go to LB4 Repository
- Remote methods (public API) go to Controller class
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3949](https://github.com/strongloop/loopback-next/issues/3949).
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/models/mixins.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-mixins.html
---

TODO: Explain how to migrate model mixins.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3951](https://github.com/strongloop/loopback-next/issues/3951)
" %}
6 changes: 5 additions & 1 deletion docs/site/migration/models/operation-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-operation-hooks.html
---

TODO: Explain how to migrate CRUD Operation Hooks.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3952](https://github.com/strongloop/loopback-next/issues/3952)
" %}
10 changes: 5 additions & 5 deletions docs/site/migration/models/relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-relations.html
---

TODO: Explain how to migrate model relations:

- Relation definition to LB4 model class
- Persistence (via LB4 Repositories), including inclusion resolver
- REST API (via LB4 Controllers)
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3948](https://github.com/strongloop/loopback-next/issues/3948).
" %}
13 changes: 5 additions & 8 deletions docs/site/migration/models/remoting-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-models-remoting-hooks.html
---

TODO: Explain how to migrate remoting hooks to LB4 interceptors.

- Global hooks, e.g. `app.beforeRemote('**', handlerFn)`
- Model-level hooks, e.g. `app.beforeRemote('User.**', handlerFn)`
- Method-level hooks, e.g. `User.beforeRemote('create', handlerFn)`

Explain how to map properties provided by LB3 remoting context to LB4 concepts
and how to access that data via Dependency Injection.
{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3950](https://github.com/strongloop/loopback-next/issues/3950).
" %}
2 changes: 2 additions & 0 deletions docs/site/migration/mounting-lb3app.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-mounting-lb3app.html
---

**FIXME: UPDATE THIS TO MATCH THE STYLE OF THE NEW MIGRATION GUIDE**

For current LoopBack 3 users who want to migrate to LoopBack 4, LoopBack 4
offers a way to mount your LoopBack 3 application in a LoopBack 4 project. By
adding your application this way, the application's REST API is included in the
Expand Down
13 changes: 13 additions & 0 deletions docs/site/migration/not-planned.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
lang: en
title: 'LoopBack 3 features not planned in LoopBack 4'
keywords: LoopBack 4.0, LoopBack 4, LoopBack 3, Migration
sidebar: lb4_sidebar
permalink: /doc/en/lb4/migration-not-planned.html
---

{% include note.html content="
This is a placeholder page, the task of adding content is tracked by the
following GitHub issue:
[loopback-next#3956](https://github.com/strongloop/loopback-next/issues/3956)
" %}
4 changes: 1 addition & 3 deletions docs/site/migration/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ permalink: /doc/en/lb4/migration-overview.html

Migration guide from LoopBack 3 to LoopBack 4.

TODO: explain the high-level plan for upgrading in incremental steps, point to
FIXME: explain the high-level plan for upgrading in incremental steps, point to
sub-chapters for more details.

List components & feature that are not planned for LB4.
8 changes: 8 additions & 0 deletions docs/site/sidebars/lb4_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,10 @@ children:
url: migration-auth-oauth2.html
output: 'web, pdf'

- title: 'CLI'
url: migration-cli.html
output: 'web, pdf'

- title: 'Components and extensions'
url: migration-extensions.html
output: 'web, pdf'
Expand All @@ -699,6 +703,10 @@ children:
url: migration-clients.html
output: 'web, pdf'

- title: 'Features not planned'
url: migration-not-planned.html
output: 'web, pdf'

- title: 'Best practices'
url: Best-practices.html
output: 'web, pdf'
Expand Down

0 comments on commit 09917e8

Please sign in to comment.