Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REACH2-704:Reach new dashboard in admin console #8805

Merged
merged 12 commits into from Oct 17, 2019

Conversation

@ravitshalem
Copy link
Contributor

ravitshalem commented Oct 13, 2019

No description provided.

@@ -500,6 +500,14 @@ public static function addEntryVendorTask(entry $entry, ReachProfile $reachProfi
$entryVendorTask->setAccessKeyExpiry($accessKeyExpiry);
$entryVendorTask->setAccessKey(kReachUtils::generateReachVendorKs($entryVendorTask->getEntryId(), $shouldModerateOutput, $accessKeyExpiry));
$entryVendorTask->setPrice(kReachUtils::calculateTaskPrice($entry, $vendorCatalogItem));
$turnAroundTime = $vendorCatalogItem->getTurnAroundTime();
if ($turnAroundTime == -1)

This comment has been minimized.

Copy link
@ravitshalem

ravitshalem Oct 16, 2019

Author Contributor

consult product manager

{
$turnAroundTime = 0;
}
$entryVendorTask->setExpectedFinishTime($turnAroundTime);

This comment has been minimized.

Copy link
@ravitshalem

ravitshalem Oct 16, 2019

Author Contributor

remove , until it is not queue - value should be zero

$this->setQueueTime(time());
$time = time();
$this->setQueueTime($time);
$this->setExpectedFinishTime($this->getExpectedFinishTime() + $time);

This comment has been minimized.

Copy link
@ravitshalem

ravitshalem Oct 16, 2019

Author Contributor

Get the expected time from the profile

protected function applyFiltersAccordingToPartner($filter)
{
if (kCurrentContext::$ks_partner_id == -2)

This comment has been minimized.

Copy link
@ravitshalem

ravitshalem Oct 16, 2019

Author Contributor

use existing const from Partner::

rt_attr_timestamp=expected_finish_time

### Deployment scripts ###
- php deployment/updates/scripts/add_permissions/2019_03_05_add_reach_extendAccessKey_action.php

This comment has been minimized.

Copy link
@ravitshalem

ravitshalem Oct 16, 2019

Author Contributor

add new script

@ravitshalem ravitshalem merged commit 1ac72db into Orion-15.9.0 Oct 17, 2019
2 checks passed
2 checks passed
Datree Smart Policy Best Practices Verification
Details
Datree insights datreeio insights events
Details
@ravitshalem ravitshalem deleted the Orion-15.8.0-REACH2-704 branch Oct 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.