This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v /opt/migrations/:/migrations -e "START_DATE=2016-01-01" -e "END_DATE=2017-12-30" -e 'INFLUX_HOST_NAME={{IP_ADDRESS}}' -e 'INFLUX_PORT={{PORT}}' localhost:5000/activity_migrator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Applications | |
{ | |
"data": { | |
"@class": "Applications", | |
"application_method": "", | |
"vsq_data": [ | |
], | |
"application_form" : "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"userlist" : [ | |
{ | |
"email": "[email protected]", | |
"passsword": "123456", | |
"first_name": "Pp", | |
"last_name": "Pr", | |
"job_tile": "Admin", | |
"contact_no": "8576347645" | |
} | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxODWVmatTtDvUGno3CKnLZij0K7NWkF60iOioA+FzIEiWLq4LyxJgVBp2E5Rao719x9fa5LygYlw/ifZn37G3CU9gULhFyT9gs1sSRE4wVQIGojHgxk8UlE+/4lXL4/Yk16IgNr7WoL0ubhXs050eJCSSVfnckiqPXEpH9xcMVdWFfJRfW2+YszvxF6tydRTc4qUQsIZlcnffF74ovQqBuf0D7IW2S2POiThBdXP9Fmtu7Q7RdGahMq8aZx60CBCL4N6Hq766rpIxqIUhiZJiq7fZotZOGkkB6PAoBZss9D0DB0VVy8LuFlfX1wX2RwKiV7wBC4HhpKF3Za93Ez0r [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. CREATE COST | |
API CALL : (POST) https://zuaritwochemicals.ewr.com/cost | |
Body : { | |
"amount": "43", | |
"internal_cost": "40", | |
"currency": "GBP", | |
"source": "Company website", | |
"invoice_date": "2017-02-02 08:45:00", | |
"referrer_name" : "refereerName", | |
"agency_name" : "Agencty name", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(data.file_id) { | |
self.postProcessFile(data.file_id, candidateRec.id) | |
.then(function() { | |
fulfill(true); | |
}) | |
.catch(function(e) { | |
reject(e); | |
}); | |
} else { | |
fulfill(true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
applicationModel.prototype.moveBbliteToAws = function(entity_type, paramLimit, paramChunk, company_id, cronFlag, start_date, end_date, timeFrame) { | |
var self = this; | |
return new Promise(function(fulfill, reject) { | |
var limit = paramLimit || 10, | |
chunk = paramChunk || 5, | |
whereCond = "", | |
selectParams = ""; | |
if (entity_type === 'applications') { | |
selectParams = ' uuid, bblite, outE("belongs_to")[type="Application_Company"].in.uuid as company_id'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context : "eyJyZXNvdXJjZV9pZCI6IjAyN2QzNDhmLWM4ZDYtNDk5OS04YWM0LThmODc3MjY1YWRmZCIsImVudmVsb3BlX2lkIjoiMDU5YTBmNmItMDk3Yi00ODhjLWI5NWMtMzMxZDJhMjQxNjYwIiwiZGF0YSI6eyJjb250YWN0QmxvY2siOiIiLCJwcmVmZXJyZWRfbnVtYmVyIjoiIiwiYWx0ZXJuYXRlX251bWJlciI6IiIsImhvbWVfdGVsZXBob25lIjoiIiwicGVyc29uYWxfbW9iaWxlIjoiIiwid29ya19tb2JpbGUiOiIiLCJhZGRyZXNzSF8iOiIiLCJhZGRyZXNzMSI6IiIsImFkZHJlc3MyIjoiIiwiY2l0eSI6IiIsImNvdW50eSI6IiIsImNvdW50cnkiOiIiLCJwb3N0Y29kZSI6IiIsImF0dGFjaERvY3NIIjoiIiwiQ1YiOiIiLCJjb3Zlcl9sZXR0ZXIiOiIiLCJwcm9mZXNzaW9uYWxIXyI6IiIsImlzRW1wbG95ZWQiOiIiLCJjdXJyZW50Sm9iVGl0bGUiOiIiLCJjdXJyZW50RW1wbG95ZXIiOiIiLCJjdXJyZW50U2FsYXJ5IjoiIiwiYXZhaWxhYmlsaXR5IjoiIiwiZXhwZWN0ZWRTYWxhcnkiOiIiLCJyaWdodFRvV29ya0giOiIiLCJyaWdodFRvV29ya0dyb3VwIjoiIiwicmlnaHRUb1dvcmtPdGhlclN0YXR1cyI6IiIsIm5vdGVzRm9yUmlnaHRUb1dvcmsiOiIiLCJkaXNhYmxlZEFwcGxpY2FudHNIIjoiIiwiaXNEaXNhYmxlZCI6IiIsInNwZWNpYWxBcnJhbmdlbWVudHMiOiIiLCJzcGVjaWFsQXJyYW5nZW1lbnREZXRhaWxzIjoiIiwiZGl2ZXJzaXR5SW5mb0giOiIiLCJlcXVhbE9wcG9ydHVuaXR5IjoiIiwibmF0aW9uYWxpdHkiOiIiLCJOYXRpb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update admin_settings set black_box = {"@type":"d","form":[[{"type":"contactBlock","markdown_text":"Contact block","map_to":"","label":"<p>Contact block</p>","name":"-116111594152709","colSize":2,"value":"","hasError":false,"error":[],"isTrigger":false,"isDependent":false,"activeDependent":false,"@type":"d","@version":0,"legacyName":"contactBlock","innerFields":[{"type":"choice","markdown_text":"Preferred contact number","label":"<p>Preferred contact number</p>","name":"-116111594152781","colSize":1,"options":[{"id":"-116111594152764","label":"Home number","@type":"d","@version":0},{"id":"-116111594152781","label":"Mobile number","@type":"d","@version":0},{"id":"-116111594152781","label":"Work number","@type":"d","@version":0}],"value":"","hasError":false,"error":[],"required":true,"isTrigger":false,"isDependent":false,"activeDependent":true,"@type":"d","@version":0},{"type":"choice","markdown_text":"Alternate contact number","label":"<p>Alternate contact number</p>","name":"-116111594152781","colSize":1,"opt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@type": "d", | |
"@version": 0, | |
"caefd4ce-0464-4a41-b8fe-438396e1bf77": { | |
"formName": "form1", | |
"values": [ | |
{ | |
"innerFields": [ | |
{ | |
"name": "-1161017143451737", |