Data interface for salesforce price bulk get

data-interface-for-salesforce-price-bulk-get

概要

data-interface-for-salesforce-price-bulk-get は、salesforce の価格オブジェクト取得に必要なデータの整形、および作成時に salesforce から返ってきた response の MySQL への格納をバルク単位で行うマイクロサービスです。

動作環境

data-interface-for-salesforce-price-bulk-get は、aion-coreのプラットフォーム上での動作を前提としています。
使用する際は、事前に下記の通りAIONの動作環境を用意してください。

・OS: Linux OS
・CPU: ARM/AMD/Intel
・Kubernetes
・AION のリソース

セットアップ

以下のコマンドを実行して、docker imageを作成してください。

$ cd /path/to/data-interface-for-salesforce-price-bulk-get
$ make docker-build

起動方法

以下のコマンドを実行して、podを立ち上げてください。

$ cd /path/to/data-interface-for-salesforce-price-bulk-get
$ kubectl apply -f data-interface-for-salesforce-price-bulk-get.yaml

kanban との通信

kanban(ui-backend) から受信するデータ

kanban から受信する metadata に下記の情報を含む必要があります。

key value
method get
object PriceRelatedList
connection_type request

具体例:

# metadata (map[string]interface{}) の中身

"method": "get"
"object": "PriceRelatedList"
"connection_type": "request"

kanban に送信するデータ

kanban に送信する metadata は下記の情報を含みます。

key type description
method string get
object string PriceMasterList/PriceRecordList
connection_key string price_bulk_get

具体例:

# metadata (map[string]interface{}) の中身

"method": "get"
"object": "PriceMasterList"
"connection_key": "price_bulk_get"

kanban(salesforce-api-kube) から受信するデータ

kanban からの受信可能データは下記の形式です

PriceMaster/PriceRecord

kanban から受信する metadata に下記の情報を含む必要があります。

key value
key 文字列 "PriceMasterList"/"PriceRecordList" を指定
content PriceMaster/PriceRecord の詳細情報を含む JSON 配列
connection_type response

具体例:

# metadata (map[string]interface{}) の中身

"key": "PriceMasterList"
"content": "[{xxxxxxxxxxx}]"
"connection_type": "response"
Similar Resources

To get json about repo&pkg relationship

pkg_repo_tool 1. Usage 把从 frameworks 收集到的 bp 文件放到一个文件夹中。在这里为了方便叙述,就把这个文件夹命名为 frameworks 并且放在 bprepo2json/main 之下。 然后: cd bprepo2json/main go run .

Jan 11, 2022

Get the long-term token for the Budget Insight API (sandbox)

token-budget-insight This small tool aims to automate the creation of the long-term token for a Budget Insight application; the process is explain in

Jan 7, 2022

Contains a function to get an ip that can be used like localhost.

Get the host IP Contains a function to get an ip that can be used like localhost. Motivation If you have a rest api running in a machine executor on C

Jan 20, 2022

Get notifications about unexpected system state from your local Gesundheitsdienst.

Get notifications about unexpected system state from your local Gesundheitsdienst.

Nov 1, 2022

Exercise for solve problem data processing, performance and something wrong in passing data

Citcall Exercise Exercise for solve problem data processing, performance and something wrong in passing data Pengolahan data data processing - Readme

Nov 25, 2021

The gofinder program is an acme user interface to search through Go projects.

The gofinder program is an acme user interface to search through Go projects.

Jun 14, 2021

Simple interface to libmagic for Go Programming Language

File Magic in Go Introduction Provides simple interface to libmagic for Go Programming Language. Table of Contents Contributing Versioning Author Copy

Dec 22, 2021

Go language interface to the PAPI performance API

go-papi Description go-papi provides a Go interface to PAPI, the Performance Application Programming Interface. PAPI provides convenient access to har

Dec 22, 2022

wkhtmltopdf Go bindings and high level interface for HTML to PDF conversion

wkhtmltopdf Go bindings and high level interface for HTML to PDF conversion

wkhtmltopdf Go bindings and high level interface for HTML to PDF conversion. Implements wkhtmltopdf Go bindings. It can be used to convert HTML docume

Dec 17, 2022
GORE is a bulk file renamer written in Go as a personal project to learn programming.

GORE is a bulk file renamer written in Go as a personal project to learn programming. Run GORE in the directory you want to rename fil

Nov 1, 2022
Get user-like access to VirtualBox VMs from Go code.

#Vboxgo Get user-like access to VirtualBox VMs from Go code. This library wraps some define-tainted VirtualBox SDK functions, making it possible to ge

Oct 25, 2021
Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for.
Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for.

Squizit is a simple tool, that aim to help you get the grade you want, not the one you have learnt for. Screenshots First, input PIN Then enjoy! Hoste

Mar 11, 2022
Analyze the binary outputted by `go build` to get type information etc.

Analyze the binary outputted by go build to get type information etc.

Oct 5, 2022
set and get github user statuses

gh user-status being an extension for interacting with the status on a GitHub profile. gh user-status set gh user-status set interactively set status

Nov 19, 2022
Don't get surprised by your environment variables.

checkenv Don't get surprised by your environment variables. Rationale At Bugout, we configure our applications using environment variables. This follo

Dec 20, 2021
create a provider to get atlassian resources

Terraform Provider Scaffolding This repository is a template for a Terraform provider. It is intended as a starting point for creating Terraform provi

Dec 31, 2021
GoDumpLsass is a simple tool that can dump lsass without to get caught by Windows Defender.

GoDumpLsass GoDumpLsass is a simple tool that can dump lsass without to get caught by Windows Defender. Releases https://github.com/Enelg52/GoDumpLsas

Nov 4, 2022
Get and save EroCool.com images

Get and save EroCool.com images

Nov 9, 2021
Get all the swap details within the block range

go-swap-statistics get all the swap details within the block range get started git clone https://github.com/huahuayu/go-swap-statistics.git cd go-swap

Jul 22, 2022