Skip to content

Commit

Permalink
Merge pull request #10 from ConductionNL/dev-barry
Browse files Browse the repository at this point in the history
Updated with pc and DESIGN.md deleted
  • Loading branch information
rubenvdlinde authored Jan 7, 2020
2 parents af8b7c7 + b1c2d09 commit fa1a05a
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 711 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ ORGANIZATION_UNIT_NAME=Common-Ground
##################################################

APP_DOMAIN=conduction.nl
# he domains on wich you want to provide this component, the first wil be used as primary (or common in cert-manger terms)
# The domains on wich you want to provide this component, the first wil be used as primary (or common in cert-manger terms)
APP_DOMAINS=["conduction.nl","zaakonline.nl","huwelijksplanner.online","common-ground.dev"]
APP_DEMO=vtc.zaakonline.nl
APP_REPRO=https://github.com/ConductionNL/verzoektypecatalogus
Expand Down
375 changes: 0 additions & 375 deletions .idea/workspace.xml

This file was deleted.

330 changes: 0 additions & 330 deletions DESIGN.md

This file was deleted.

4 changes: 4 additions & 0 deletions api/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ settings:


php:
repository: docker.io/conduction/protocomponent-php
repository: docker.io/conduction/vtc-php
tag: latest
mercure:
jwtSecret: ""
Expand All @@ -64,7 +64,7 @@ nginx:
varnish:
enabled: true
#url: https://example.com
repository: docker.io/conduction/protocomponent-varnish
repository: docker.io/conduction/vtc-varnish
tag: latest
pullPolicy: Always
replicaCount: 1
Expand Down
2 changes: 1 addition & 1 deletion api/src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,6 @@ public function load(ObjectManager $manager)
$trouwenUtrecht->setId($id);
$manager->persist($trouwenUtrecht);

$manager->flush();
$manager->flush();
}
}
2 changes: 2 additions & 0 deletions api/src/Entity/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class Property
*/
private $title;


/**
* @var string $name The name of the property as used in api calls, extracted from title on snake_case basis
* @example my_property
Expand Down Expand Up @@ -464,6 +465,7 @@ class Property
*/
private $maxDate;


/**
* @ORM\ManyToOne(targetEntity="App\Entity\Property", inversedBy="previous")
*/
Expand Down
5 changes: 3 additions & 2 deletions api/src/Entity/RequestType.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class RequestType
* @var \Ramsey\Uuid\UuidInterface $id The UUID identifier of this object
* @example e2984465-190a-4562-829e-a8cca81aa35d
*
* @Groups({"read"})
* @Groups({"read"})
* @Assert\Uuid
* @ORM\Id
* @ORM\Column(type="uuid", unique=true)
Expand Down Expand Up @@ -104,6 +104,7 @@ class RequestType
* @Assert\Valid
*/
private $properties;


/**
* @Groups({"read"})
Expand Down Expand Up @@ -172,6 +173,7 @@ public function getName(): ?string
return $this->name;
}


public function setName(string $name): self
{
$this->name = $name;
Expand Down Expand Up @@ -338,5 +340,4 @@ public function getFirstStage()

return $this->getProperties()->matching($criteria)->first();
}

}
1 change: 1 addition & 0 deletions api/src/Repository/RequestTypeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
class RequestTypeRepository extends ServiceEntityRepository
{

public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, RequestType::class);
Expand Down

0 comments on commit fa1a05a

Please sign in to comment.