Skip to content

Conversation

@aanchalakto
Copy link
Contributor

…fixed and capability added

}

public static boolean useHostCondition(String hostName, HttpResponseParams.Source source) {
public static boolean useHostCondition(String hostName, HttpResponseParams.Source source, boolean isRecon) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HttpResponseParams is already available everywhere. Instead of passing a new variable in all the places.

We can simply create a new source HttpResponseParams.Source.MCP_RECON

Your detection mechanism can set the source and here you can check for it.

This can in future be used by others or for fitlering( I think we do store the source somewhere )

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HttpResopnse param is a very widely used class, please do regression testing explicitly before deploying

Pipeline
Traffic Collector(daemonset) -> kafka -> Mini runtime -> Dashboard UI

  1. Make sure traffic ingestion is happening
  2. Make sure changes are backwards compatible.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nayanakto @aanchalakto I have not checked the rest of the code. Please review.

I just checked the hostCondition thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants