Skip to content

Conversation

@Pamir
Copy link

@Pamir Pamir commented Feb 8, 2020

Client should send Batch sample data to entire context path

Purpose

*. Sample data is in batch format. For meaningful response sending request to /timeseries/entire/detect context generates correct response.

Does this introduce a breaking change?

[ ] Yes
[x ] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

  • Get the code

  • Run Main.java

  • Test the code

{"period":7,"expectedValues":[32894418.9615615,29707932.244719882,22651867.032410353,24943247.989138011,34098022.110827051,33893733.15343374,33668289.17375017,32807561.144138098,29618567.705954053,22584659.813523095,24383099.07,34092130.348607078,33930369.335444734,33771835.547849737,32979718.237272907,29873907.686442,22898518.640143186,25266675.592631694,34507880.720261112,34392110.769727185,34264840.807082534,33381054.952848945,30169003.690043379,23087373.931769907,25351908.536010381,34479836.305212229,34250788.996250749,33423011.962283727,32615075.763498921,29478874.156142138,22473094.05331745,24813478.313006707,34017255.737657338,33864058.084144637,33577519.658487104,32851940.511712912,29199901.5,22918033.675673913,25384135.757495031,34746812.760001436,34752514.684344508,34634850.418293975,33883602.629261605,30764952.726340119,23773788.078124832,26128787.792423487,35344244.421857625],"upperMargins":[328944.189615615,297079.32244719879,226518.67032410353,249432.47989138012,340980.22110827052,338937.33153433743,336682.89173750172,328075.611441381,296185.67705954053,225846.59813523095,243830.9907,340921.30348607077,339303.69335444731,337718.3554784974,329797.18237272906,298739.07686441997,228985.18640143186,252666.75592631695,345078.80720261112,343921.10769727186,342648.40807082533,333810.54952848947,301690.03690043377,230873.73931769907,253519.08536010381,344798.36305212229,342507.88996250747,334230.11962283729,326150.75763498922,294788.74156142137,224730.94053317449,248134.78313006705,340172.55737657339,338640.58084144635,335775.19658487104,328519.40511712915,291999.015,229180.33675673913,253841.35757495032,347468.12760001438,347525.14684344508,346348.50418293977,338836.02629261604,307649.52726340119,237737.88078124833,261287.87792423487,353442.44421857625],"lowerMargins":[328944.189615615,297079.32244719879,226518.67032410353,249432.47989138012,340980.22110827052,338937.33153433743,336682.89173750172,328075.611441381,296185.67705954053,225846.59813523095,243830.9907,340921.30348607077,339303.69335444731,337718.3554784974,329797.18237272906,298739.07686441997,228985.18640143186,252666.75592631695,345078.80720261112,343921.10769727186,342648.40807082533,333810.54952848947,301690.03690043377,230873.73931769907,253519.08536010381,344798.36305212229,342507.88996250747,334230.11962283729,326150.75763498922,294788.74156142137,224730.94053317449,248134.78313006705,340172.55737657339,338640.58084144635,335775.19658487104,328519.40511712915,291999.015,229180.33675673913,253841.35757495032,347468.12760001438,347525.14684344508,346348.50418293977,338836.02629261604,307649.52726340119,237737.88078124833,261287.87792423487,353442.44421857625],"isAnomaly":[false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,true,true,true,true,true,false,false,true,true,true,true,true,false,false,true,false,false,false,false,false,false,false,false,true,false,false],"isNegativeAnomaly":[false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,false,false,false,false,false,false,false,false,false,true,true,true,true,true,false,false,true,false,false,false,false,false,false,false,false,true,false,false],"isPositiveAnomaly":[false,false,false,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,true,true,true,true,true,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false,false]}

What to Check

Verify that the following are valid

  • threre should be true in the response

Other Information

@msftclas
Copy link

msftclas commented Feb 8, 2020

CLA assistant check
All CLA requirements met.

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.

2 participants