damien-rivet / JamfKit

A Jamf Classic communication framework written in Swift
MIT License
41 stars 1 forks source link

Add basic support for generating requests #72

Closed damien-rivet closed 6 years ago

damien-rivet commented 6 years ago

Summary

Implement the functions that will return URLRequests for all requestable objects.

Implements #70 and #71.

Miscellaneous

Supports Objective-C meaning that each single object will implement the public version of each function but under the hood, the generic functions will be used. 😭

Supports CREATE, READ, UPDATE & DELETE methods.

codecov[bot] commented 6 years ago

Codecov Report

Merging #72 into develop will increase coverage by 0.2%. The diff coverage is 97.56%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #72     +/-   ##
==========================================
+ Coverage    97.97%   98.17%   +0.2%     
==========================================
  Files           36       45      +9     
  Lines         1087     1700    +613     
==========================================
+ Hits          1065     1669    +604     
- Misses          22       31      +9
Impacted Files Coverage Δ
JamfKit/Sources/Models/PreciseDate.swift 100% <ø> (ø) :arrow_up:
JamfKit/Sources/Session/SessionManager.swift 100% <ø> (+20.58%) :arrow_up:
...onfiguration/ComputerConfigurationManagement.swift 100% <ø> (ø) :arrow_up:
JamfKit/Sources/Models/DirectoryBinding.swift 100% <100%> (ø) :arrow_up:
JamfKit/Sources/Protocols/Endpoint.swift 100% <100%> (ø)
JamfKit/Sources/Models/SMTPServer.swift 100% <100%> (ø) :arrow_up:
...s/Models/MobileDeviceGroup/MobileDeviceGroup.swift 100% <100%> (ø) :arrow_up:
.../Models/Policy/PolicyOverrideDefaultSettings.swift 100% <100%> (ø) :arrow_up:
JamfKit/Sources/Protocols/Requests/Readable.swift 100% <100%> (ø)
.../ComputerConfiguration/ComputerConfiguration.swift 100% <100%> (ø) :arrow_up:
... and 45 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 f856463...9b2ed7b. Read the comment docs.