Code Monkey home page Code Monkey logo

sched-java-client's People

Stargazers

 avatar

Watchers

 avatar  avatar

sched-java-client's Issues

Missing videostream-url-parameter for session

I found out that the session/add & session/mod endpoint has a new parameter, that is not in the docs.

To modify the Livestream-URL, a link can be sent via parameter video_stream.

this should be added accordingly

ClassCastException when Sched returns Error-Response

When the Sched-API throws an error, it returns 200:OK with a String message containing the detailed error "e.g. ERR: wrong email".
The Sched-Client cannot handle this and returns the following error:

class java.lang.String cannot be cast to class software.xdev.sched.model.UserAdded (java.lang.String is in module java.base of loader 'bootstrap'; software.xdev.sched.model.UserAdded is in unnamed module of loader com.amazonaws.services.lambda.runtime.api.client.CustomerClassLoader @1ddc4ec2): java.lang.ClassCastException
java.lang.ClassCastException: class java.lang.String cannot be cast to class software.xdev.sched.model.UserAdded (java.lang.String is in module java.base of loader 'bootstrap'; software.xdev.sched.model.UserAdded is in unnamed module of loader com.amazonaws.services.lambda.runtime.api.client.CustomerClassLoader @1ddc4ec2)
	at software.xdev.sched.api.UserApi.addUser(UserApi.java:158)
	at software.xdev.sched.api.UserApi.addUser(UserApi.java:81)
	...

This should be handled differently, so that i can find out the error from Sched, without having to work around a class-cast exception.

NOTE: When the Sched API returns an error, if it return 200, the String-Message in the body always starts with "ERR:"

Add User/Mod Endpoint

It would be nice to add the user/mod endpoint to the client.
The configuration is identical to the user/add endpoint with the only difference being that the parameters are overriding already existing ones

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.