influxdata / influxdb-client-swift

InfluxDB (v2+) Client Library for Swift
https://influxdata.github.io/influxdb-client-swift/
MIT License
26 stars 8 forks source link

feat: add PingAPI to check status of OSS and Cloud instance #39

Closed bednar closed 2 years ago

bednar commented 2 years ago

Proposed Changes

  1. Added PingAPI to check status of OSS and Cloud instance
  2. Added an example how to use PingAPI
  3. Added swift 5.5 to CI

Checklist

codecov-commenter commented 2 years ago

Codecov Report

Merging #39 (211c347) into master (2d21cfd) will increase coverage by 35.24%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #39       +/-   ##
===========================================
+ Coverage   52.02%   87.27%   +35.24%     
===========================================
  Files         135       10      -125     
  Lines        6199      707     -5492     
===========================================
- Hits         3225      617     -2608     
+ Misses       2974       90     -2884     
Impacted Files Coverage Δ
Sources/InfluxDBSwiftApis/InfluxDB2API.swift 95.45% <0.00%> (-4.55%) :arrow_down:
Tests/InfluxDBSwiftApisTests/SecretsAPITests.swift
...rces/InfluxDBSwiftApis/Generated/Models/DBRP.swift
...rces/InfluxDBSwiftApis/Generated/Models/Task.swift
...ces/InfluxDBSwiftApis/Generated/Models/Ready.swift
...nfluxDBSwiftApis/Generated/Models/DBRPCreate.swift
.../Generated/Models/AuthorizationUpdateRequest.swift
...SwiftApis/Generated/Models/TaskCreateRequest.swift
...ces/InfluxDBSwiftApis/Generated/Models/Users.swift
...enerated/Models/AddResourceMemberRequestBody.swift
... and 116 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 2d21cfd...211c347. Read the comment docs.