biacode / jcronofy Goto Github PK
View Code? Open in Web Editor NEWJava implementation of Cronofy API
License: Apache License 2.0
Java implementation of Cronofy API
License: Apache License 2.0
These fields are critical to me, and seem to be missing from the Create/Update.
Attendees is on read, but URL seems missing all together.
I'm happy to have a bash at it if you'd prefer.
https://docs.cronofy.com/developers/api/events/upsert-event/
JCronofy client fails when I try to revoke or get an access token by a code.
Need to expand the supportable types of a scope:
create_calendar
event_reminders
read_free_busy
change_participation_status
Like a workaround, I reconfigure a client for ignoring this one.
private CronofyClientImpl createCronofyClient() { return new CronofyClientImpl( ClientBuilder.newClient( new ClientConfig( new JacksonJsonProvider() .configure(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL, true) ) ) ); }
Can we expand the CronofyClientImpl class to be able to use a different Cronofy target endpoint? Our company has registered with api-de.cronofy.com so we would like to be able to choose this option when instantiating the CronofyClient.
Add tzid
to the CreateOrUpdateEventRequest
Add icloud_app_specific_password_required
: boolean
property to the ProfileModel
See #19 PR
the following fields are missing from the request model:
url
transparency
color
reminders
reminders_create_only
attendees
event_private
conferencing
include_userinfo
See #22 PR
There is a lot of new features in new cronofy API
FreeBusyDateModel is returning null. Need to add Cloanable.
public class FreeBusyDateModel implements Serializable, Cloneable {
@JsonProperty("time")
private String time;
@JsonProperty("tzid")
private String tzid;
private FreeBusyDateModel(String time, String tzid) {
this.time = time;
this.tzid = tzid;
}
public static FreeBusyDateModel of(String time) {
return new FreeBusyDateModel(time, null);
}
public static FreeBusyDateModel of(String time, String tzid) {
return new FreeBusyDateModel(time, tzid);
}
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
}
See #20 PR
Add include_userinfo
field to the delete event
request model;
Add userinfo
to the delete event response model;
Our software needs the ability of people to change their linked calendar, and hence do a batch delete and a batch create (which we are currently doing in our custom built google API stuff).
Seems it'll provide good reuse (same data body per batched request).
I am invoking the freeBusy
method on the CronofyClient
. The rest api call comes back with a 200 but a ResponseProcessingException is thrown:
javax.ws.rs.client.ResponseProcessingException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.Date` out of START_OBJECT token
at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 5862] (through reference chain: org.biacode.jcronofy.api.model.response.FreeBusyResponse["free_busy"]->java.util.ArrayList[0]->org.biacode.jcronofy.api.model.FreeBusyModel["start"])
After some playing around we discovered that keeping localizedTimes
set to the default value (not setting it) and not 'true' in the request fixed the issue.
Is there a workaround to remedy this or will the bug be added to a backlog?
Mark
There is not this implementation.
Previously @gshutler reported issue with sonar.
The following properties are missing from the read events response:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.