Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFM-10366 - Delete events throwing ApiException exception #179

Merged
merged 1 commit into from
Jan 5, 2024

Commits on Jan 5, 2024

  1. FFM-10366 - Delete events throwing ApiException exception

    What
    Delete events don't need to call out to the server since they're only a notification to remove a flag/segment from local cache.
    
    Why
    When deleting a flag or target segment the following exception is seen:
    
    io.harness.cf.ApiException:
    	at io.harness.cf.ApiClient.handleResponse(ApiClient.java:1079)
    	at io.harness.cf.ApiClient.execute(ApiClient.java:992)
    	at io.harness.cf.api.ClientApi.getSegmentByIdentifierWithHttpInfo(ClientApi.java:1087)
    	at io.harness.cf.api.ClientApi.getSegmentByIdentifier(ClientApi.java:1062)
    	at io.harness.cf.client.connector.HarnessConnector.getSegment(HarnessConnector.java:334)
    	at io.harness.cf.client.api.UpdateProcessor.lambda$processSegment$1(UpdateProcessor.java:124)
    	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    	at java.base/java.lang.Thread.run(Thread.java:833)
    
    It is caused by a 404 being returned by the server
    
    Testing
    Manual + testgrid
    andybharness committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    f1beacc View commit details
    Browse the repository at this point in the history