You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/11/07 02:39:12 UTC

[GitHub] [incubator-apisix-dashboard] juzhiyuan commented on a change in pull request #65: enhance: can choose chash keys from drop down list

juzhiyuan 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_r343445283
 
 

 ##########
 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:
   It looks everything here is ok, I will approve soon.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services