Skip to content

feat: add Invokable scripts API #48

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

Merged
merged 22 commits into from
Apr 28, 2022
Merged

feat: add Invokable scripts API #48

merged 22 commits into from
Apr 28, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Apr 1, 2022

Proposed Changes

  1. Added API for InvokableScripts.
  2. Changed supported InfluxDB version from InfluxDB 2.0 to InfluxDB 2.x

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • swift test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2022

Codecov Report

Merging #48 (5f50cff) into master (2d4ce6e) will decrease coverage by 14.42%.
The diff coverage is 22.72%.

@@             Coverage Diff             @@
##           master      #48       +/-   ##
===========================================
- Coverage   80.54%   66.11%   -14.43%     
===========================================
  Files          10       16        +6     
  Lines        1033     1278      +245     
===========================================
+ Hits          832      845       +13     
- Misses        201      433      +232     
Impacted Files Coverage Δ
...ources/InfluxDBSwift/Generated/Models/Script.swift 0.00% <0.00%> (ø)
...DBSwift/Generated/Models/ScriptCreateRequest.swift 0.00% <0.00%> (ø)
...wift/Generated/Models/ScriptInvocationParams.swift 0.00% <0.00%> (ø)
...DBSwift/Generated/Models/ScriptUpdateRequest.swift 0.00% <0.00%> (ø)
...urces/InfluxDBSwift/Generated/Models/Scripts.swift 0.00% <0.00%> (ø)
Sources/InfluxDBSwift/InvokableScriptsAPI.swift 0.00% <0.00%> (ø)
Sources/InfluxDBSwift/QueryAPI.swift 64.42% <64.70%> (-5.98%) ⬇️
Sources/InfluxDBSwift/InfluxDBClient.swift 82.75% <82.60%> (-1.19%) ⬇️
Sources/InfluxDBSwift/FluxCSVParser.swift 94.85% <89.47%> (-1.34%) ⬇️
Sources/InfluxDBSwift/DeleteAPI.swift 79.72% <100.00%> (+0.27%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d4ce6e...5f50cff. Read the comment docs.

@bednar bednar force-pushed the invocable_scripts branch from d710a70 to 33853b5 Compare April 25, 2022 07:10
@bednar
Copy link
Contributor Author

bednar commented Apr 25, 2022

@rhajek this PR depends on #49

@bednar bednar marked this pull request as ready for review April 26, 2022 05:56
@bednar bednar requested a review from rhajek April 26, 2022 05:56
@bednar bednar changed the title feat: add Invocable scripts API feat: add Invokable scripts API Apr 27, 2022
@bednar bednar force-pushed the invocable_scripts branch from 308f828 to 5f50cff Compare April 28, 2022 08:24
@bednar bednar added this to the 1.2.0 milestone Apr 28, 2022
@bednar bednar merged commit f8eac5e into master Apr 28, 2022
@bednar bednar deleted the invocable_scripts branch April 28, 2022 08:30
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.

3 participants