This file contains 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
views: | |
- title: HVAC | |
path: hvac | |
type: sections | |
sections: | |
- type: grid | |
cards: | |
- type: heading | |
heading: HVAC | |
heading_style: title |
This file contains 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
<?php | |
namespace AppBundle\Controller; | |
use AppBundle\Model\Queue\QueuedCommand; | |
use AppBundle\Service\Queue\QueuedCommandHandler; | |
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Symfony\Component\HttpFoundation\Response; |
This file contains 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
services: | |
AppBundle\Service\Queue\QueuedCommandHandler: | |
arguments: | |
$env: "%kernel.environment%" | |
AppBundle\Service\Queue\Processor\RunCommandProcessor: | |
arguments: | |
- "%kernel.project_dir%" | |
tags: | |
- { name: 'enqueue.client.processor', topicName: 'run_command' } |
This file contains 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
<?php | |
namespace AppBundle\Service\Queue\Processor; | |
use Enqueue\Client\CommandSubscriberInterface; | |
use Enqueue\Consumption\Result; | |
use Interop\Queue\PsrContext; | |
use Interop\Queue\PsrMessage; | |
use Interop\Queue\PsrProcessor; | |
use Symfony\Component\Process\Exception\ProcessFailedException; |
This file contains 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
<?php | |
namespace AppBundle\Service\Queue; | |
use AppBundle\Model\Queue\QueuedCommand; | |
use Enqueue\Client\ProducerInterface; | |
class QueuedCommandHandler | |
{ | |
/** |
This file contains 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
<?php | |
namespace AppBundle\Model\Queue; | |
class QueuedCommand | |
{ | |
/** | |
* @var string | |
*/ | |
private $name; |
This file contains 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
parameters: | |
persistent_cache_dir: /tmp | |
app_name: ProjectX | |
enqueue: | |
transport: | |
default: 'fs' | |
fs: | |
dsn: "file://%persistent_cache_dir%/" | |
path: "./enqueue" // The directory where all queue\topic files remain. |
This file contains 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
<?php | |
namespace AppBundle\Model\Queue; | |
class QueuedCommand | |
{ | |
/** | |
* @var string | |
*/ | |
private $name; |
This file contains 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
root = true | |
[*] | |
end_of_line = LF | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
charset = utf-8 | |
[*.{php,yml,sh,feature}] | |
indent_style = space |
This file contains 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 alias and function | |
# ------------------------------------ | |
# Get latest container ID | |
alias dl="docker ps -l -q" | |
# Get container process | |
alias dps="docker ps" |
NewerOlder