Helpcenter +918010117117 https://help.storehippo.com/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Import Export (Developer guide)

This is the internal guide for managing import exports for developers. Currently there are two seprate node process which is running on betahippo for import exports. We are using below two urls for access these. 

For import   

https://functions.storehippo.com/function/${function_name}/${function_execution_id}?code="code"

For exports  

https://functions2.storehippo.com/function/${function_execution_id}?code=""code"


where

function_name = name of function

function_execution_id = function id for the function
code= "access key which may find in the code"

Structure:

There are 3 below git branches for hippofunction

hippofunctions3 (For imports)

Master (For exports)

Development (Copy of Master branch)

We are using import exports for almost all the entities.

 

To check the status for functions:

To check the status for these functions for all stores we can use below URL.

https://global.storehippo.com/admin/entity/ms.function_executions

To debug this locally:

To debug it locally we need to change the dev.json file. In functions we have to change below three parameters.

allow_local = true

default_execute_local = true

local_root = (Root directory for functions)


Code file for debugging Export 

F:\Work\hippofunctions\exports\function.js (In Master/development branch)

Code file for debugging Import 

F:\Work\hippofunctions\import\function.js (In hippofunction3 branch)

2020-06-30T07:41:35.996Z