Comments (8)
The new lib is using executor, static services, completion callback, request builder, everything is different.
from developer-platform.
Indeed. A long time ago, I already sent Bobby code samples for all the new clients, including Java.
He should be able to update the codegen templates based on these.
from developer-platform.
Found 2 issues thus far.
filter.setOrderBy(MediaEntryOrderBy.CREATED_AT_ASC);
Should be:
filter.setOrderBy(MediaEntryOrderBy.CREATED_AT_DESC.getValue());
Since in src/main/java/com/kaltura/client/enums/MediaEntryOrderBy.java:
public enum MediaEntryOrderBy implements EnumAsString
...
...
MediaEntryOrderBy(String value)
int partnerId = "2141171";
Should be:
int partnerId = 2141171;
Since partnerId is of type int. Of course, 2141171
is just for illustration purposes. Happens to be the partner ID I was logged in with...
from developer-platform.
The partnerId issue is true to the other code generators as well. For languages that are not strictly typed/statically typed, the code will still work as is but it's still not right and should be fixed. For Java and C#, it will fail to compile.
from developer-platform.
Re: enums in Java, roger.
For the partnerId, I'm not seeing this issue - I always get ints. Is it possible that it's unique to the particular account you're logged in with (2141171)?
from developer-platform.
Hi @bobby-brennan, RE partnerId: It happened with multiple partners and in various contexts but looks like is has been resolved somewhere along the way because I no longer see it. So that only leaves us with the Java enums issue.
from developer-platform.
Fixed in 9a60721
from developer-platform.
Confirmed.
from developer-platform.
Related Issues (20)
- Add code generation support for Kaltura's Swift SDK HOT 14
- Add codegen support for PHP Namespaces client library HOT 19
- Enums selectboxes should be displayed with the actual value in brackets HOT 1
- Prompt user before session expiry HOT 12
- Add codegen for the new Angular Client Library HOT 17
- Remove Categories from the Console menu HOT 2
- Please add margin-bottom: 15px; to tables in docs
- Please add word-break: break-word; to code blocks
- Ability to annotate services and actions as beta was added to the client generator HOT 3
- NodeJS codegen only - checking "Show setup" in the "Authentication" workflow behaves incorrectly HOT 2
- workflows/Ingest_and_Upload_Media - not all langs are available HOT 2
- workflows/Ingest_and_Upload_Media;step=2 fails when using Firefox HOT 3
- Create a codegen for the TypeScript Client Library HOT 4
- workflows/Ingest_and_Upload_Media;step=2 - wrong params passed to uploadToken->upload() HOT 2
- workflows/Generate_API_Sessions/App_Token_Authentication - "Show setup" is missing HOT 2
- Console issues with data entry and fileAsset HOT 6
- OTT - action thrown errors don't show their description HOT 8
- Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64) HOT 5
- On lucyBot build get the workflows directory from config HOT 6
- issue with edit / create workflows HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer-platform.