Skip to content
Snippets Groups Projects
Commit 31bab0e6 authored by Masami  Suzuki's avatar Masami Suzuki Committed by Yas Naoi
Browse files

Issue #3039016 by Masami, yas, Xiaohua Guan, baldwinlouie: Refactor route...

Issue #3039016 by Masami, yas, Xiaohua Guan, baldwinlouie: Refactor route names changing to aws_cloud_*.list_update
parent 488f6aa1
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ entity.aws_cloud_instance.create_image_form: ...@@ -68,7 +68,7 @@ entity.aws_cloud_instance.create_image_form:
- entity.aws_cloud_instance.canonical - entity.aws_cloud_instance.canonical
entity.aws_cloud_instance.refresh: entity.aws_cloud_instance.refresh:
route_name: aws_cloud.updateInstanceList route_name: entity.aws_cloud_instance.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_instances.page_1 - view.aws_instances.page_1
...@@ -103,7 +103,7 @@ entity.aws_cloud_image.import: ...@@ -103,7 +103,7 @@ entity.aws_cloud_image.import:
- view.aws_images.page_1 - view.aws_images.page_1
entity.aws_cloud_image.refresh: entity.aws_cloud_image.refresh:
route_name: aws_cloud.updateImageList route_name: entity.aws_cloud_image.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_images.page_1 - view.aws_images.page_1
...@@ -147,7 +147,7 @@ entity.aws_cloud_network_interface.collection: ...@@ -147,7 +147,7 @@ entity.aws_cloud_network_interface.collection:
- entity.aws_cloud_network_interface.delete_form - entity.aws_cloud_network_interface.delete_form
entity.aws_cloud_network_interface.refresh: entity.aws_cloud_network_interface.refresh:
route_name: aws_cloud.updateNetworkInterfaceList route_name: entity.aws_cloud_network_interface.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_network_interfaces.page_1 - view.aws_network_interfaces.page_1
...@@ -205,7 +205,7 @@ entity.aws_cloud_elastic_ip.disassociate: ...@@ -205,7 +205,7 @@ entity.aws_cloud_elastic_ip.disassociate:
- entity.aws_cloud_elastic_ip.canonical - entity.aws_cloud_elastic_ip.canonical
entity.aws_cloud_elastic_ip.refresh: entity.aws_cloud_elastic_ip.refresh:
route_name: aws_cloud.updateElasticIpList route_name: entity.aws_cloud_elastic_ip.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_elastic_ip.page_1 - view.aws_elastic_ip.page_1
...@@ -241,7 +241,7 @@ entity.aws_cloud_key_pair.collection: ...@@ -241,7 +241,7 @@ entity.aws_cloud_key_pair.collection:
- entity.aws_cloud_key_pair.delete_form - entity.aws_cloud_key_pair.delete_form
entity.aws_cloud_key_pair.refresh: entity.aws_cloud_key_pair.refresh:
route_name: aws_cloud.updateKeyPairList route_name: entity.aws_cloud_key_pair.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_cloud_key_pairs.page_1 - view.aws_cloud_key_pairs.page_1
...@@ -277,7 +277,7 @@ entity.aws_cloud_security_group.collection: ...@@ -277,7 +277,7 @@ entity.aws_cloud_security_group.collection:
- entity.aws_cloud_security_group.delete_form - entity.aws_cloud_security_group.delete_form
entity.aws_cloud_security_group.refresh: entity.aws_cloud_security_group.refresh:
route_name: aws_cloud.updateSecurityGroupList route_name: entity.aws_cloud_security_group.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_security_group.page_1 - view.aws_security_group.page_1
...@@ -313,7 +313,7 @@ entity.aws_cloud_volume.collection: ...@@ -313,7 +313,7 @@ entity.aws_cloud_volume.collection:
- entity.aws_cloud_volume.delete_form - entity.aws_cloud_volume.delete_form
entity.aws_cloud_volume.refresh: entity.aws_cloud_volume.refresh:
route_name: aws_cloud.updateVolumeList route_name: entity.aws_cloud_volume.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_volume.page_1 - view.aws_volume.page_1
...@@ -366,7 +366,7 @@ entity.aws_cloud_snapshot.collection: ...@@ -366,7 +366,7 @@ entity.aws_cloud_snapshot.collection:
- entity.aws_cloud_snapshot.delete_form - entity.aws_cloud_snapshot.delete_form
entity.aws_cloud_snapshot.refresh: entity.aws_cloud_snapshot.refresh:
route_name: aws_cloud.updateSnapshotList route_name: entity.aws_cloud_snapshot.list_update
title: 'Refresh' title: 'Refresh'
appears_on: appears_on:
- view.aws_snapshot.page_1 - view.aws_snapshot.page_1
......
# AWS Cloud Routing Definition # AWS Cloud Routing Definition
# AWS SDK API Callback # AWS SDK API Callback
aws_cloud.updateInstanceList: entity.aws_cloud_instance.list_update:
path: '/clouds/aws_cloud/{cloud_context}/instance/update' path: '/clouds/aws_cloud/{cloud_context}/instance/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateInstanceList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateInstanceList'
...@@ -13,14 +13,14 @@ aws_cloud.updateInstanceList: ...@@ -13,14 +13,14 @@ aws_cloud.updateInstanceList:
perm: 'edit own aws cloud instance' perm: 'edit own aws cloud instance'
# Commented out. This operation takes too long to complete and returns everything # Commented out. This operation takes too long to complete and returns everything
aws_cloud.updateImageList: entity.aws_cloud_image.list_update:
path: '/clouds/aws_cloud/{cloud_context}/image/update' path: '/clouds/aws_cloud/{cloud_context}/image/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateImageList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateImageList'
requirements: requirements:
_permission: 'edit aws cloud image' _permission: 'edit aws cloud image'
aws_cloud.updateSecurityGroupList: entity.aws_cloud_security_group.list_update:
path: '/clouds/aws_cloud/{cloud_context}/security_group/update' path: '/clouds/aws_cloud/{cloud_context}/security_group/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateSecurityGroupList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateSecurityGroupList'
...@@ -31,7 +31,7 @@ aws_cloud.updateSecurityGroupList: ...@@ -31,7 +31,7 @@ aws_cloud.updateSecurityGroupList:
options: options:
perm: 'edit aws cloud security group' perm: 'edit aws cloud security group'
aws_cloud.updateNetworkInterfaceList: entity.aws_cloud_network_interface.list_update:
path: '/clouds/aws_cloud/{cloud_context}/network_interface/update' path: '/clouds/aws_cloud/{cloud_context}/network_interface/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateNetworkInterfaceList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateNetworkInterfaceList'
...@@ -42,7 +42,7 @@ aws_cloud.updateNetworkInterfaceList: ...@@ -42,7 +42,7 @@ aws_cloud.updateNetworkInterfaceList:
options: options:
perm: 'edit aws cloud network interface' perm: 'edit aws cloud network interface'
aws_cloud.updateElasticIpList: entity.aws_cloud_elastic_ip.list_update:
path: '/clouds/aws_cloud/{cloud_context}/elastic_ip/update' path: '/clouds/aws_cloud/{cloud_context}/elastic_ip/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateElasticIpList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateElasticIpList'
...@@ -53,7 +53,7 @@ aws_cloud.updateElasticIpList: ...@@ -53,7 +53,7 @@ aws_cloud.updateElasticIpList:
options: options:
perm: 'edit aws cloud elastic ip' perm: 'edit aws cloud elastic ip'
aws_cloud.updateKeyPairList: entity.aws_cloud_key_pair.list_update:
path: '/clouds/aws_cloud/{cloud_context}/key_pair/update' path: '/clouds/aws_cloud/{cloud_context}/key_pair/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateKeyPairList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateKeyPairList'
...@@ -64,7 +64,7 @@ aws_cloud.updateKeyPairList: ...@@ -64,7 +64,7 @@ aws_cloud.updateKeyPairList:
options: options:
perm: 'edit aws cloud key pair' perm: 'edit aws cloud key pair'
aws_cloud.updateVolumeList: entity.aws_cloud_volume.list_update:
path: '/clouds/aws_cloud/{cloud_context}/volume/update' path: '/clouds/aws_cloud/{cloud_context}/volume/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateVolumeList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateVolumeList'
...@@ -75,7 +75,7 @@ aws_cloud.updateVolumeList: ...@@ -75,7 +75,7 @@ aws_cloud.updateVolumeList:
options: options:
perm: 'edit aws cloud volume' perm: 'edit aws cloud volume'
aws_cloud.updateSnapshotList: entity.aws_cloud_snapshot.list_update:
path: '/clouds/aws_cloud/{cloud_context}/snapshot/update' path: '/clouds/aws_cloud/{cloud_context}/snapshot/update'
defaults: defaults:
_controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateSnapshotList' _controller: '\Drupal\aws_cloud\Controller\Ec2\ApiController::updateSnapshotList'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment