StatusDependencies
This commit is contained in:
1 parent
ffda7e08f5
commit
513316c293
6 files changed
+8
-13
No files matched your search
Binary file not shown.
@@ -67,7 +67,7 @@
|
||||
const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log');
|
||||
const STATUS_REPORT = require(ROOT_DIR + 'Status Report');
|
||||
const POLONIEX_CLIENT_MODULE = require(ROOT_DIR + 'Poloniex API Client');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Dependencies');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies');
|
||||
|
||||
/* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
dependencies = DEPENDENCIES.newDependencies(bot, DEBUG_MODULE, STATUS_REPORT, BLOB_STORAGE, UTILITIES);
|
||||
|
||||
dependencies.initialize(processConfig.dependencies, pMonth, pYear, onInizialized);
|
||||
dependencies.initialize(processConfig.statusDependencies, pMonth, pYear, onInizialized);
|
||||
|
||||
function onInizialized(err) {
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
const FILE_STORAGE = require(ROOT_DIR + 'File Storage');
|
||||
const DEBUG_MODULE = require(ROOT_DIR + 'Debug Log');
|
||||
const STATUS_REPORT = require(ROOT_DIR + 'Status Report');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Dependencies');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies');
|
||||
|
||||
/* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
dependencies = DEPENDENCIES.newDependencies(bot, DEBUG_MODULE, STATUS_REPORT, BLOB_STORAGE, UTILITIES);
|
||||
|
||||
dependencies.initialize(processConfig.dependencies, pMonth, pYear, onInizialized);
|
||||
dependencies.initialize(processConfig.statusDependencies, pMonth, pYear, onInizialized);
|
||||
|
||||
function onInizialized(err) {
|
||||
|
||||
|
||||
+2
-1
@@ -26,7 +26,7 @@
|
||||
<Compile Include="Blob Storage.js">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Dependencies.js">
|
||||
<Compile Include="Status Dependencies.js">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Extraction Bot Main Loop.js">
|
||||
@@ -58,6 +58,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include=".gitignore" />
|
||||
<Content Include="this.config.json" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<!--Do not delete the following Import Project. While this appears to do nothing it is a marker for setting TypeScript properties before our import that depends on them.-->
|
||||
|
||||
@@ -11,12 +11,6 @@
|
||||
keys: []
|
||||
};
|
||||
|
||||
/*
|
||||
During the process we will create a new History Record. This will go to the Context History file which essentially mantains an
|
||||
index of all the bots executions. This file will later be plotted by the bot s plotter on the timeline, allowing end users to
|
||||
know where there is information related to the actions taken by the bot.
|
||||
*/
|
||||
|
||||
let bot = BOT;
|
||||
let ownerBot; // This is the bot owner of the Status Report. Only owners can save the report and override the existing content.
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
const DATASOURCE = require(ROOT_DIR + 'Datasource');
|
||||
const ASSISTANT = require(ROOT_DIR + 'Assistant');
|
||||
const STATUS_REPORT = require(ROOT_DIR + 'Status Report');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Dependencies');
|
||||
const DEPENDENCIES = require(ROOT_DIR + 'Status Dependencies');
|
||||
|
||||
/* We define the datetime for the process that we are running now. This will be the official processing time for both the infraestructure and the bot. */
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
|
||||
dependencies = DEPENDENCIES.newDependencies(bot, DEBUG_MODULE, STATUS_REPORT, BLOB_STORAGE, UTILITIES);
|
||||
|
||||
dependencies.initialize(processConfig.dependencies, undefined, undefined, onInizialized);
|
||||
dependencies.initialize(processConfig.statusDependencies, undefined, undefined, onInizialized);
|
||||
|
||||
function onInizialized(err) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user