* avatar overrides added

* cli commands framework added
* labinfo service for lab temp monitoring
* kanban entry label support
This commit is contained in:
Dávid Danyi
2017-08-18 15:49:19 +02:00
parent f6e918ed86
commit 1ab6691827
23 changed files with 727 additions and 59 deletions

View File

@@ -3,7 +3,7 @@
namespace App\Action;
use App\Response\JsonCorsResponse;
use App\Service\DataCollectorService;
use App\Service\JiraCollectorService;
use Interop\Http\ServerMiddleware\DelegateInterface;
use Interop\Http\ServerMiddleware\MiddlewareInterface as ServerMiddlewareInterface;
use Psr\Http\Message\ServerRequestInterface;
@@ -12,7 +12,7 @@ class KanbanAction implements ServerMiddlewareInterface
{
private $dataCollector;
public function __construct(DataCollectorService $dataCollectorService)
public function __construct(JiraCollectorService $dataCollectorService)
{
$this->dataCollector = $dataCollectorService;
}

View File

@@ -2,14 +2,14 @@
namespace App\Action;
use App\Service\DataCollectorService;
use App\Service\JiraCollectorService;
use Interop\Container\ContainerInterface;
class KanbanFactory
{
public function __invoke(ContainerInterface $container)
{
$dataCollectorService = $container->get(DataCollectorService::class);
$dataCollectorService = $container->get(JiraCollectorService::class);
return new KanbanAction($dataCollectorService);
}
}