2.1.0 • Published 23 days ago

@abgov/adsp-service-sdk v2.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
23 days ago

adsp-service-sdk

SDK for Alberta Digital Service Platform (ADSP).

Use this library to build Node based platform and tenant services for ADSP.

Getting started

Initialize the SDK for either platform or tenant service.

  import { AdspId, initializePlatform } from '@abgov/adsp-service-sdk';

  const serviceId = AdspId.parse(environment.CLIENT_ID);
  const {
    coreStrategy,
    tenantStrategy,
    ...sdkCapabilities,
  } = await initializePlatform(
    {
      displayName: 'My platform service',
      description: 'Example of a platform service.',
      serviceId,
      accessServiceUrl: new URL(environment.KEYCLOAK_ROOT_URL),
      clientSecret: environment.CLIENT_SECRET,
      directoryUrl: new URL(environment.DIRECTORY_URL),
      configurationSchema,
      events: [],
      roles: [],
      notifications: [],
    },
    { logger }
  );

See ADSP Development Guide for details.

2.1.0

23 days ago

2.0.1

2 months ago

1.21.0

6 months ago

2.0.0

5 months ago

1.20.3

6 months ago

1.20.1

6 months ago

1.20.2

6 months ago

1.20.0

6 months ago

1.19.0

9 months ago

1.18.2

10 months ago

1.18.1

2 years ago

1.18.0

2 years ago

1.17.0

2 years ago

0.0.1

2 years ago