New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gooddata/fixtures

Package Overview
Dependencies
Maintainers
0
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gooddata/fixtures

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

  • 1.32.26
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
425
decreased by-23.01%
Maintainers
0
Weekly downloads
 
Created
Source

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 (node 18.17.0, npm v9.6.7) and Yarn 1.22.19.

Install dependencies:

yarn install --frozen-lockfile

Release

See this guide

FAQs

Package last updated on 19 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc