Skip to content

Migrate LB3 datasources to LB4 format #6434

Description

@condratbogdan

We have entries like this in our Core service datasources.json file, that represent endpoints in another service named Accounts:

"accounts": {
        "name": "accounts",
        "connector": "swagger",
        "spec": "http://192.168.100.103:3001/explorer/swagger.json"
    }

We could then use the endpoints from the service inside our loopback app like this, Accounts.Accounts_findById({...}).
How can i get the same effect using LB4 components? (both creation of datasource and method invokation)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions