sandeepsundaram commented on issue #11521:
URL: https://github.com/apache/apisix/issues/11521#issuecomment-2304800817

   Update, i tried changing the service id to unique ones with plugins - 
   
           ```
   {
               "key": "/apisix/services/anythingGET",
               "modifiedIndex": 948,
               "createdIndex": 939,
               "value": {
                   "plugins": {
                       "key-auth": {
                           "query": "apikey",
                           "key": "my-key1",
                           "header": "apikey",
                           "hide_credentials": false
                       }
                   },
                   "create_time": 1724335693,
                   "update_time": 1724335849,
                   "id": "anythingGET"
               }
           },
           {
               "key": "/apisix/services/anythingPOST",
               "modifiedIndex": 947,
               "createdIndex": 943,
               "value": {
                   "plugins": {
                       "key-auth": {
                           "query": "apikey",
                           "key": "my-key2",
                           "header": "apikey",
                           "hide_credentials": false
                       }
                   },
                   "create_time": 1724335693,
                   "update_time": 1724335837,
                   "id": "anythingPOST"
               }
           }
   ```
   
   Consumers - 
   
   ```
   {
       "total": 2,
       "list": [
           {
               "key": "/apisix/consumers/anythingGET",
               "modifiedIndex": 940,
               "createdIndex": 684,
               "value": {
                   "plugins": {
                       "key-auth": {
                           "key": "my-key1"
                       }
                   },
                   "username": "anythingGET",
                   "update_time": 1724335693,
                   "create_time": 1724240495
               }
           },
           {
               "key": "/apisix/consumers/anythingPOST",
               "modifiedIndex": 944,
               "createdIndex": 687,
               "value": {
                   "plugins": {
                       "key-auth": {
                           "key": "my-key2"
                       }
                   },
                   "username": "anythingPOST",
                   "update_time": 1724335693,
                   "create_time": 1724240495
               }
           }
       ]
   }
   ```
   
   Routes - 
   
   ```
   {
       "total": 2,
       "list": [
           {
               "key": "/apisix/routes/anythingGET",
               "modifiedIndex": 942,
               "createdIndex": 918,
               "value": {
                   "methods": [
                       "GET"
                   ],
                   "update_time": 1724335693,
                   "id": "anythingGET",
                   "plugins": {
                       "key-auth": {
                           "query": "apikey",
                           "key": "my-key1",
                           "header": "apikey",
                           "hide_credentials": false
                       }
                   },
                   "status": 1,
                   "service_id": "anythingGET",
                   "create_time": 1724332383,
                   "priority": 0,
                   "upstream_id": "anythingGET",
                   "uri": "/anything/*"
               }
           },
           {
               "key": "/apisix/routes/anythingPOST",
               "modifiedIndex": 946,
               "createdIndex": 922,
               "value": {
                   "methods": [
                       "POST"
                   ],
                   "update_time": 1724335694,
                   "id": "anythingPOST",
                   "plugins": {
                       "key-auth": {
                           "query": "apikey",
                           "key": "my-key2",
                           "header": "apikey",
                           "hide_credentials": false
                       }
                   },
                   "status": 1,
                   "service_id": "anythingPOST",
                   "create_time": 1724332383,
                   "priority": 0,
                   "upstream_id": "anythingPOST",
                   "uri": "/anything/*"
               }
           }
       ]
   }
   ```
   
   Still the bug is seen


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to