Connect Playground - easy way to fill in your account with production-like objects

Overview

Just set of scripts to initialise accpunt with production-like data:

A - Basic Distributor Account Initialization

INPUT

  • Distributor Account Token

ACTION(S)

  • Create 2 Hubs with API type
    • Production
    • Staging
  • Create 2 Marketplaces with Icons, descriptions, currencies and price list attributes activated
    • United States
    • Germany
  • Link Hubs with Marketplaces for Staging and Production environments
  • Create Program Agreement
  • Create Distribution Agreement for each Marketplace in the scope of the Program Agreement from the previous step

OUTPUT

  • Hub IDs
  • Marketplace IDs
  • Program Agreement ID
$ pip install -r requirements.txt
$ ccli play
Reading scripts library from /home/user/scripts
Usage: ccli play [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  all                       Initialize everything that possible.
  init-distributor-account  Initialize distributor account.
  vendor-account-creation   Create program contract, create vendor account.
  
$ ccli play init-distributor-account --help
Reading scripts library from /home/user/scripts
Usage: ccli play init-distributor-account [OPTIONS]

Options:
  --distributor_account_token TEXT
                                  Distributor account token
  -h, --help                      Show this message and exit.

$ ccli play init-distributor-account
Reading scripts library from /home/user/scripts
--- Init Distributor Account ---
Hub created: HB-5446-4577 "Playground Hub 44566 - Staging"
Hub created: HB-7859-9984 "Playground Hub 63412 - Production"
Hub Marketplace: MP-18375 "Playground Marketplace 44566" for HB-5446-4577
Hub Marketplace: MP-59882 "Playground Marketplace 63412" for HB-7859-9984
Created Program Agreement AGP-777-708-207 Playground Program Agreement 5366
Created Distribution Agreement AGD-887-501-260 Distribution Playground Program Agreement 5366 for MP-18375
Created Distribution Agreement AGD-554-900-752 Distribution Playground Program Agreement 5366 for MP-59882
Saving context into context.json
{
    "hubs": [
        "HB-5446-4577",
        "HB-7859-9984"
    ],
    "marketplaces": [
        "MP-18375",
        "MP-59882"
    ],
    "program_agreement_id": "AGP-777-708-207",
    "distribution_agreements": [
        "AGD-887-501-260",
        "AGD-554-900-752"
    ]
}

B - Vendor Account Creation

INPUT

  • Distributor Account Token
  • Program Agreement ID

ACTION(S)

  • Create Program Contract based on the Input

OUTPUT

  • Program Contract ID
  • Vendor Account ID
  • Vendor Account Token
$ ccli play vendor-account-creation --help

Reading scripts library from /home/user/scripts
Usage: ccli play vendor-account-creation [OPTIONS]

Options:
  --program_agreement_id TEXT     Specify program agreement ID
  --distributor_account_token TEXT
                                  Distributor account token
  -h, --help                      Show this message and exit.
  
$ ccli play vendor-account-creation 
Loading context from context.json
--- Vendor Account Creation ---
Program Contract created: CRP-40536-98496-31778 "Contract of Playground Program Agreement 4162"
Partner created: VA-502-744 "Vendor for Playground contract 71501"
Account activation Link is https://portal.cnct.info/contracts/activate?secret=...
Vendor Account created: VA-502-744 "Vendor for Playground contract 71501"
Vendor token created: SU-903-473-071 "Playground token" - ApiKey SU-903-473-071:...
Saving context into context.json
Owner
CloudBlue
We power :zap: your speed to market and revenue for traditional and digital products. CloudBlue :blue_heart: Open Source.
CloudBlue
A website to collect vintage 4 tracks cassette recorders.

Vintage 4tk cassette recorders A website to collect vintage 4 tracks cassette recorders. Local development setup Copy and customize Django settings (e

1 May 01, 2022
Tiny demo site for exploring SameSite=Lax

samesite-lax-demo Background on my blog: Exploring the SameSite cookie attribute for preventing CSRF This repo holds some tools for exploring the impl

Simon Willison 6 Nov 10, 2021
Sample python script for monitoring Rocketchat database and get statistics of users.

rocketchat-DB-monitoring Sample python script for monitoring Rocketchat database and get statistics of users. 1. Update python: yum check-update && yu

Mojtaba Taleghani 1 Apr 12, 2022
Roman numeral conversion with python

Roman numeral conversion Discipline: Programming Languages Student: Paulo Henrique Diniz de Lima Alencar. Language: Python Description Responsible for

Paulo Alencar 1 Jul 11, 2022
🤡 Multiple Discord selfbot src deobfuscated !

Deobfuscated selfbot sources About. If you whant to add src, please make pull requests. If you whant to deobfuscate src, send mail to

Sreecharan 5 Sep 13, 2021
tidevice can be used to communicate with iPhone device

h 该工具能够用于与iOS设备进行通信, 提供以下功能 截图 获取手机信息 ipa包的安装和卸载 根据bundleID 启动和停止应用 列出安装应用信息 模拟Xcode运行XCTest,常用的如启动WebDriverAgent测试

Alibaba 1.8k Dec 30, 2022
BlackIP-Rep is a tool designed to gather the reputation and information of Bulk IP's.

BlackIP-Rep is a tool designed to gather the reputation and information of Bulk IP's. Focused on increasing the workflow of Security Operations(SOC) team during investigation.

0LiVEr 6 Dec 12, 2022
A parallel branch-and-bound engine for Python.

pybnb A parallel branch-and-bound engine for Python. This software is copyright (c) by Gabriel A. Hackebeil (gabe.hacke

Gabriel Hackebeil 52 Nov 12, 2022
Vector tile server for the Wildfire Predictive Services Unit

wps-tileserver Vector tile server for the Wildfire Predictive Services Unit Overview The intention of this project is to: provide tools to easily spin

Province of British Columbia 6 Dec 20, 2022
a really simple bot that send you memes from reddit to whatsapp

a really simple bot that send you memes from reddit to whatsapp want to use use it? install the dependencies with pip3 install -r requirements.txt the

pai 10 Nov 28, 2021
Github dorking tool

gh-dork Supply a list of dorks and, optionally, one of the following: a user (-u) a file with a list of users (-uf) an organization (-org) a file with

Molly White 119 Dec 21, 2022
Qt-creator-boost-debugging-helper - Qt Creator Debugging Helper for Boost Library

Go to Tools Options Debugger Locals & Expressions. Paste the script path t

Dmitry Bravikov 2 Apr 22, 2022
A fancy and practical functional tools

Funcy A collection of fancy functional tools focused on practicality. Inspired by clojure, underscore and my own abstractions. Keep reading to get an

Alexander Schepanovski 2.9k Dec 29, 2022
Binary++ is an esoteric programming language based on* binary

Binary++ is an esoteric programming language based on* binary. * It's meant to be based on binary, but you can write Binary++ code using different mea

Supercolbat 3 Feb 18, 2022
Password manager using MySQL and Python 3.10.2

Password Manager Password manager using MySQL and Python 3.10.2 Installation Install my-project with github git clone https://github.com/AyaanSiddiq

1 Feb 18, 2022
Shows a pixel art of any Pokémon in your terminal!

pokemon-icat This script is inspired by this project, but since the output heavily depends on the font of your terminal, i decided to make a script th

ph04 52 Dec 22, 2022
Collection of Beginner to Intermediate level Python scripts contributed by members and participants.

Hacktoberfest2021-Python Hello there! This repository contains a 'Collection of Beginner to Intermediate level Python projects', created specially for

12 May 25, 2022
Python programming language Test

Exercise You are tasked with creating a data-processing app that pre-processes and enriches the data coming from crawlers, with the following requirem

Monirul Islam Khan 1 Dec 13, 2021
A repo to record how I prepare my Interview, and really hope it can help you as well. Really appreciate Kieran's help in the pattern's part.

Project Overview The purpose of this repo is to help others to find solutions and explaintion I will commit a solution and explanation to every proble

Vincent Zhenhao ZHAO 1 Nov 29, 2021
Pequenos programas variados que estou praticando e implementando, leia o Read.me!

my-small-programs Pequenos programas variados que estou praticando e implementando! Arquivo: automacao Automacao de processos de rotina com código Pyt

Léia Rafaela 43 Nov 22, 2022