1.0.0-gooddata-ci-pla-RAIL-135-2017-07-19T12-09-08-924Z • Published 9 years ago

@gooddata/fixtures v1.0.0-gooddata-ci-pla-RAIL-135-2017-07-19T12-09-08-924Z

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

FixtureJS

Tool for creating projects inside GoodData platform programmatically in node.js

Usage

  1. Add package to your project

    Using npm

    npm install @gooddata/fixtures

    Using yarn

    yarn add @gooddata/fixtures

  2. Import the module inside your project

    import { createFixture } from '@gooddata/fixtures';
  3. Use the createFixture function

    createFixture(basePath, username, password, hostname, authorizationToken, projectTitle)
  4. Use TIGER function

    createTigerWorkspace(workspaceTitle, token, host, backend)
    createTigerWorkspaceWithPrefix(workspacePrefix, token, host, backend)
    setTigerWorkspaceLayout(workspaceId, token, host, backend, declarativeWorkspaceModel)
    setTigerWorkspaceLayoutFromFixtures(workspaceId, fixtureType, dataSource, token, host, backend)
    setTigerWorkspaceLayoutFromCustomFile(workspaceId, token, host, backend, dataSource, fixtureFile)
    createMdObjects(configPath, workspaceId, token, host, backend)
    deleteTigerWorkspace(workspaceId, token, host, backend)
    cleanupExpiredTigerWorkspaces(workspacePrefix, timeExpired, includeWS, sizeWS, token, host, backend)
    cleanupExpiredTigerUsers(userPrefix, timeExpired, sizeList, token, host, backend)
    getOrganizationLayout( token, host, backend)
    exportOrganizationLayout(token, host, backend, outputFile)

    Note For setTigerWorkspaceLayoutFromCustomFile method, it's used for workspace permission test from KD repo, the fixtureFile is created from fixture's KD repository

Development

Install Node.js and Yarn with versions matching those mentioned in docker/.config file.

Install dependencies:

yarn install --frozen-lockfile

Release

See this guide

2.0.1

12 months ago

2.0.0

12 months ago

3.0.0

12 months ago

1.32.27

1 year ago

1.32.26

2 years ago

1.32.23

2 years ago

1.32.25

2 years ago

1.32.24

2 years ago

1.32.22

2 years ago

1.32.21

2 years ago

1.32.20

2 years ago

1.32.19

2 years ago

1.32.18

2 years ago

1.32.17

2 years ago

1.32.16

2 years ago

1.32.15

2 years ago

1.32.14

2 years ago

1.32.13

2 years ago

1.32.12

2 years ago

1.32.10

2 years ago

1.32.11

2 years ago

1.32.8

2 years ago

1.32.9

2 years ago

1.32.7

2 years ago

1.32.5

2 years ago

1.32.6

2 years ago

1.33.0

2 years ago

1.32.4

2 years ago

1.32.2

2 years ago

1.32.3

2 years ago

1.32.0

2 years ago

1.32.1

2 years ago

1.25.0

3 years ago

1.29.0

3 years ago

1.27.0

3 years ago

1.30.0

3 years ago

1.26.0

3 years ago

1.24.0

3 years ago

1.28.1

3 years ago

1.28.2

3 years ago

1.28.0

3 years ago

1.28.5

3 years ago

1.28.6

3 years ago

1.28.3

3 years ago

1.28.4

3 years ago

1.28.7

3 years ago

1.28.8

3 years ago

1.31.1

3 years ago

1.31.0

3 years ago

1.23.0

3 years ago

1.22.0

3 years ago

1.21.0

3 years ago

1.20.1

3 years ago

1.20.2

3 years ago

1.20.5

3 years ago

1.20.3

3 years ago

1.20.4

3 years ago

1.19.2

3 years ago

1.19.1

3 years ago

1.20.0

3 years ago

1.19.0

3 years ago

1.18.0

3 years ago

1.17.1

3 years ago

1.17.0

3 years ago

1.16.5

3 years ago

1.16.4

3 years ago

1.16.3

3 years ago

1.16.2

3 years ago

1.16.1

3 years ago

1.16.0

3 years ago

1.15.0

3 years ago

1.14.0

3 years ago

1.13.0

3 years ago

1.12.0

3 years ago

1.11.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.6

4 years ago

1.9.5

4 years ago

1.9.4

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago