Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@gooddata/fixtures
Advanced tools
Tool for creating projects inside GoodData platform programmatically in node.js
Readme
Tool for creating projects inside GoodData platform programmatically in node.js
Add package to your project
Using npm
npm install @gooddata/fixtures
Using yarn
yarn add @gooddata/fixtures
Import the module inside your project
import { createFixture } from '@gooddata/fixtures';
Use the createFixture function
createFixture(basePath, username, password, hostname, authorizationToken, projectTitle)
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
Install Node.js (node 18.17.0, npm v9.6.7) and Yarn 1.22.19.
Install dependencies:
yarn install --frozen-lockfile
See this guide
FAQs
Tool for creating projects inside GoodData platform programmatically in node.js
The npm package @gooddata/fixtures receives a total of 1,330 weekly downloads. As such, @gooddata/fixtures popularity was classified as popular.
We found that @gooddata/fixtures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 46 open source maintainers collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.