lilien1010 commented on a change in pull request #65: enhance: can choose chash 
keys from drop down list
URL: 
https://github.com/apache/incubator-apisix-dashboard/pull/65#discussion_r342437634
 
 

 ##########
 File path: src/views/schema/upstream/edit.vue
 ##########
 @@ -155,6 +167,49 @@ export default class extends Vue {
 
   private types = ['roundrobin', 'chash']
 
+  private defaultHashKeys = [
+    {
+      value: 'remote_addr',
+      label: 'remote_addr'
+    },
+    {
+      value: 'host',
+      label: 'host'
+    },
+    {
+      value: 'uri',
+      label: 'uri'
+    },
+    {
+      value: 'server_name',
+      label: 'server_name'
+    },
+    {
+      value: 'server_addr',
+      label: 'server_addr'
+    },
+    {
+      value: 'request_uri',
+      label: 'request_uri'
+    },
+    {
+      value: 'query_string',
+      label: 'query_string'
+    },
+    {
+      value: 'remote_port',
+      label: 'remote_port'
+    },
+    {
+      value: 'hostname',
+      label: 'hostname'
+    },
+    {
+      value: 'arg_id',
 
 Review comment:
   I put the arg_id here just reminder  that arg_*** is able to input here

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to