فهرست منبع

UseOneDefaultInterface en VlanID y TrafficProfile

Luciano Andrade 7 سال پیش
والد
کامیت
6869e442e9

+ 0 - 9
app/config/bundles/ik/device-bundle/parameters.yml.docker

@@ -1,9 +0,0 @@
-parameters:
-    device_check_url: 'http://%env(HOST_BASE)%/api/devices/check.json'
-    device_post_url: 'http://%env(HOST_BASE)%/api/devices.json'
-    device_delete_post_url: 'http://%env(HOST_BASE)%/api/devices/'
-    device_put_url: 'http://%env(HOST_BASE)%/api/devices/'
-    api_device_check_url: 'http://%env(HOST_BASE)%/api/devices/check.json'
-    api_device_post_url: 'http://%env(HOST_BASE)%/api/devices.json'
-    api_device_delete_post_url: 'http://%env(HOST_BASE)%/api/devices/'
-    api_device_put_url: 'http://%env(HOST_BASE)%/api/devices/'

+ 0 - 10
app/config/bundles/ik/device-bundle/parameters.yml.drone

@@ -1,10 +0,0 @@
-parameters:
-    device_check_url: 'http://device.check.url/base/app_dev.php/api/devices/check.json'
-    device_post_url: 'http://device.post.url/base/app_dev.php/api/devices.json'
-    device_delete_post_url: 'http://device.delete.post.url/base/app_dev.php/api/devices/'
-    device_put_url: 'http://device.put.url/base/app_dev.php/api/devices/'
-    api_device_check_url: 'http://base:80/api/devices/check.json'
-    api_device_post_url: 'http://base:80/api/devices.json'
-    api_device_delete_post_url: 'http://base:80/api/devices/'
-    api_device_put_url: 'http://base:80/api/devices/'
- 

+ 1 - 1
src/FTTHBundle/Entity/TrafficProfile.php

@@ -17,7 +17,7 @@ use Symfony\Component\Validator\Constraints as Assert;
  * @ORM\Entity
  * @ORM\Entity
  * @HasLifecycleCallbacks
  * @HasLifecycleCallbacks
  */
  */
-class TrafficProfile implements TenancyIdTraitInterface {
+class TrafficProfile implements TenancyIdTraitInterface, UseOneDefaultInterface{
     use ONUTrait;
     use ONUTrait;
     use TenancyIdTrait;
     use TenancyIdTrait;
 
 

+ 1 - 1
src/FTTHBundle/Entity/VLanID.php

@@ -17,7 +17,7 @@ use Symfony\Component\Validator\Constraints as Assert;
  * @ORM\Entity
  * @ORM\Entity
  * @HasLifecycleCallbacks
  * @HasLifecycleCallbacks
  */
  */
-class VLanID implements TenancyIdTraitInterface
+class VLanID implements TenancyIdTraitInterface, UseOneDefaultInterface
 {
 {
     use ONUTrait;
     use ONUTrait;
     use TenancyIdTrait;
     use TenancyIdTrait;