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

Search for messages with a given metric in REST DataMessages #2849

Merged

Conversation

lorthirk
Copy link

@lorthirk lorthirk commented Feb 6, 2020

With this PR, data/messages can be queried with just metricName query parameter to retrieve only the messages with the given metric, no matter the value.

Related Issue
No related issues

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
@lorthirk lorthirk added the REST API We hope to REST everyday label Feb 6, 2020
@lorthirk lorthirk requested a review from Coduz February 6, 2020 14:05
@codecov
Copy link

codecov bot commented Feb 10, 2020

Codecov Report

Merging #2849 into develop will decrease coverage by 11.84%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##             develop    #2849       +/-   ##
==============================================
- Coverage      55.31%   43.46%   -11.85%     
+ Complexity      2354     1832      -522     
==============================================
  Files           1008     1008               
  Lines          21777    21777               
  Branches        1973     1973               
==============================================
- Hits           12045     9466     -2579     
- Misses          8821    11556     +2735     
+ Partials         911      755      -156     
Impacted Files Coverage Δ Complexity Δ
...c/main/java/org/eclipse/kapua/KapuaErrorCodes.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
.../java/org/eclipse/kapua/message/KapuaPosition.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
...java/org/eclipse/kapua/MissingKapuaErrorCodes.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...clipse/kapua/commons/setting/SimpleSettingKey.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
...rg/eclipse/kapua/message/xml/XmlAdaptedMetric.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
...g/eclipse/kapua/message/xml/XmlAdaptedMetrics.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
...ipse/kapua/kura/simulator/generator/Generator.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
...pse/kapua/transport/mqtt/MqttClientErrorCodes.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...lipse/kapua/service/tag/internal/TagQueryImpl.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (-1.00%)
...mons/configuration/metatype/ObjectFactoryImpl.java 0.00% <0.00%> (-100.00%) 0.00% <0.00%> (ø%)
... and 215 more

@Coduz Coduz merged commit 862702a into eclipse-kapua:develop Feb 10, 2020
@lorthirk lorthirk deleted the feature-restMessagesMetricsExist branch March 4, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
REST API We hope to REST everyday
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants