Commit Graph

167 Commits (8ece8af4f9e6a0f48adc2d3c28f5f4dc0541a8d2)
 

Author SHA1 Message Date
Hammy 7813421597 Delete useless test 4 years ago
Hammy 32068c4c55 Refactor deserialize & deserializeToList() methods
Making methods more readable through type signatures and how the method is being called within APIWrapper.java
4 years ago
Hammy 69c0ea55f3 Remove HttpClient from MyWaifuClient.java
MyWaifuClient should not have to pass in HttpClient into the APIWrapper, the httpClient is now managed by the APIWrapper
4 years ago
Hammy d931330750 Update pom.xml
Getting pom.xml ready for possible deployment to MavenCentral()
4 years ago
Hamothy d0db82ea24
Merge pull request #8 from sgoudham/release
Update Version Number
4 years ago
Hammy ad3a52713e Update version number 4 years ago
Hamothy 6466a40b30
Merge pull request #7 from sgoudham/main
Add support for retriving current airing anime
4 years ago
Hammy dfa05022e7 Add support for retrieving the current airing anime 4 years ago
Hammy 092d43172a Create APIMapper class 4 years ago
Hammy a10ac06fb2 Update documentation 4 years ago
Hammy 1f3ea2fc0c Rename MyWaifuWrapper.java to APIWrapper.java 4 years ago
Hammy 5d2658f495 Update Jenkinsfile
Trying to experiment if I can get rid of classifier "core" being needed to pull in MyWaifuWrapper
4 years ago
Hammy d5c4a21632 Increment release version 4 years ago
Hamothy 5fd85b6ce8
Merge pull request #6 from sgoudham/main
Add New Endpoint for Getting Series by ID
4 years ago
Hammy 256341a88d Add support for retrieving series by ID 4 years ago
Hammy 2aaba3527f Add new exception class 4 years ago
Hammy 501233ddb3 Allow default no-args constructor
Jackson will be able to resolve errors if Studio has a name or whole Studio object is passed in. Please see this following post https://stackoverflow.com/questions/53191468/no-creators-like-default-construct-exist-cannot-deserialize-from-object-valu
4 years ago
Hammy 0b4afb2280 Update documentation & add new fields
The API was returning fields that were not specified in the API reference, Series.java has been updated to reflect the actual API response
4 years ago
Hammy 27868ca1e6 Update documentation & add new fields
The API was returning fields that were not specified in the API reference, the classes have been updated to reflect the actual API response
4 years ago
Hammy 7530afa182 Remove Appearance.java
This was a duplicate of the class FilteredSeries.java
4 years ago
Hammy 8ea997c3ad Update jenkinsfile
Test if Jar files are saved after build in jenkins
4 years ago
Hammy 87360899f3 Update documentation 4 years ago
Hammy 18efcd679a Update documentation 4 years ago
Hamothy 346433368f
Merge pull request #5 from sgoudham/main
Implement Basic Functionality for Get Waifu Endpoint
4 years ago
Hammy b8a1fec7f6 Update version 4 years ago
Hammy e3d187d142 Implement basic functionality for Waifu endpoint 4 years ago
Hammy fc9bf53620 Add POJO for Result
A Result object is what the sendRequest() method will return to the helper methods within MyWaifuWrapper.java
4 years ago
Hammy 8471d7a5e3 Add POJO for Response
A Response<> object is what users will receive when interacting with MyWaifuClient.java
4 years ago
Hammy e6baaef299 Add new constructor with @JsonCreator annotation
As the API is inconsistent, the Studio object within the Waifu endpoint was returning a String, this implementation allows Jackson to instantiate the Studio class even if a String was returned
4 years ago
Hammy 6192b34204 Update documentation 4 years ago
Hammy 4fa583201e Update documentation 4 years ago
Hammy 6717c2cd8c Add CustomException Class APIResponseException.java
Throwing one single exception when catching many different ones within the sendRequest() method of MyWaifuWrapper.java
4 years ago
Hammy f075da7409 Update README.md 4 years ago
Hamothy 75e35656b9
Merge pull request #4 from sgoudham/release
Merge changes from Release to Main cause I'm an idiot
4 years ago
Hammy d734e76db8 (Unfinished) Testing API Retrieval 4 years ago
Hammy 696115535b Remove equivalent print() statements 4 years ago
Hammy 69f4dab38e Update POJO's to better reflect API
The getWaifu endpoint disappointingly diverts from the API reference. Therefore changes to field names have been applied
4 years ago
Hammy 65689a7ee5 Add another POJO for JSON Entity
The getWaifu endpoint has a creator {} block that wasn't documented in the API Reference
4 years ago
Hamothy bf9a012635
Merge pull request #3 from sgoudham/release
Release Jenkins changes to Main
4 years ago
Hammy 3c8a6d5660 Update Jenkinsfile
Add new classifier 'core' back in because it was not working without a classifier
4 years ago
Hammy f58ba047a3 Update Jenkinsfile
Make sure that the main jar does not have an additional classifier to mention within pom.xml's
4 years ago
Hammy 303083ff4b Make MyWaifuWrapper.java constructor private
Ensures that users/clients are not able to instantiate an instance of MyWaifuWrapper.java
4 years ago
Hammy 42e9ce4439 Make MyWaifuWrapper.java package private
To ensure that the downstream client/user cannot instantiate an instance of MyWaifuWrapper, it has been moved into the same package as MyWaifuClient
4 years ago
Hammy f81fb2b931 Make MyWaifuClient.java public 4 years ago
Hammy fb73bd1b7e Update Jenkinsfile
Remove when()
4 years ago
Hammy 6faf748377 Update Jenkinsfile
Revert to simple if condition check
4 years ago
Hammy 8e51c55300 Update Jenkinsfile
Try to fix compilation errors
4 years ago
Hammy d4782842cb Update Jenkinsfile
Try to fix compilation errors
4 years ago
Hammy a8503a2641 Update Jenkinsfile
Try to upload 3 jar files and pom.xml
4 years ago
Hammy add17d8a75 Update Jenkinsfile
Try to experiment with trying to get javadocs jar and sources jar uploaded
4 years ago