Giter Site home page Giter Site logo

jcronofy's People

Contributors

biacode avatar chrispeel-qudini avatar dependabot[bot] avatar donholly avatar gshutler avatar syuziko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jcronofy's Issues

JCronofy doesn't support all possible values for a scope

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) ) ) ); }

Use of European datacenter

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.

Update create/update event request models.

the following fields are missing from the request model:
url
transparency
color
reminders
reminders_create_only
attendees
event_private
conferencing
include_userinfo

issue- cloanable not added in model class - FreeBusyDateModel

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();
}

}

Jersey Marshaling Error

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

Add missing properties to the Read events response

The following properties are missing from the read events response:

  1. events.location.lat
  2. events.location.long
  3. events.organizer.email
  4. events.organizer.display_name
  5. events.options.change_participation_status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.