I am using Tuleap 10.7 and LabVIEW 2017 sp1. Using the HTTP communication in LabVIEW, I was able to authenticate and retrieve project informations but I could not retrieve any document information using the method "docman_items" as detailed https://tuleap.net/api/explorer/#/.
docman_items description
I tried to either query the trackers or the project first(they worked fine), and then verify the ID of the document/file that I wanted to retrieve. The error returned is always "404 Not Found ".
The project in question is a public project of which I am a member.
The problem I think is not with LabVIEW but the function docman_items in general. Has anyone tried this function?
Thanks!
Ok, so the answer might be the docman function is integrated in the version Tuleap 10.7.99.45.... so it will be available in Tuleap 10.8. That is why we can't use it in Tuleap 10.7
Related
I am trying to learn Spring Boot and as part of this I need to send http requests to test the functionality of the API I have created.
When following along with this video, the teacher had an 'actions for URL' selection which I do not see in my own editor. Note that the point in the video I linked shows this.
After updating (to IDEA 2021.1) and restarting I still could not see this option.
I tried to create my own .http file, but am not able to work with this type of file.
After more research I found that I should have a plugin called 'http client' installed by default. I cannot find this in my installed plugins or by searching through the marketplace.
When downloading and installing manually (from here), I now get this error which I cannot resolve.
Please can someone give me a pointer to get this plugin working.
I assume you're using the Community Edition, so it probably doesn't have it since according to the JetBrains blog, HTTP Client is built-in on the Ultimate Edition.
You can also check the zip file for the plugin here.
I have a pentaho community server 8.1 already running and i would like to know if this version has a API avaliable? Im using the following code to and getting a 200 but there is no basic so i can authenticate correctly.
import requests
data = {"j_username": "admin","j_password":"password"}
r = requests.post('http://(serverip):8080/pentaho/j_spring_security_check', data = data)
Is the authentication for this api configurable?
The whole idea is that i can use the scheduler since the spoon for the community version doest has access to it BUT i tried using the enterprice client and i was able to schedule so the module is there you just cant reach it.
Thanks!
Yes, and the full API is documented here:
https://help.pentaho.com/Documentation/8.1/Developer_Center/REST_API
Note: If you want to enable username/password authentication on the URL you have to edit security.properties and reboot . (an older insecure approach, but for the purposes of development possibly simpler to get you going)
You're absolutely right - the CORE platform does have the functionality, just not the UI so you're more than welcome to use the API to use the scheduler engine.
After several hours of searching it appears that there is no way to query a local LDAP directory (Microsoft Active Directory or otherwise) from a UWP app.
This seems like a rather bizarre hole in the UWP offering, and so I'm hopeful that I'm just missing the obvious.
What (if anything) is the functional equivalent of System.DirectoryServices in the Universal Windows Platform world?
This thread is a little older, but you have 3 options today:
Use the Windows Compatibility Pack for .NetCore.
Use the Desktop Bridge to create a .Net component that does your LDAP queries. See this for more information.
If you can, move to the Microsoft Graph - link to samples.
Hope this helps.
System.DirectoryServices is not available in the UWP, but if you are using sideloading for your app then you can use Brokered windows component to get or create the details required through a endpoint in it.
You can get it here.
We're looking to read some QR codes in a Windows 8 Metro app. .NET libraries we've used in the past can't be referenced in WinRT/Metro and porting them won't be easy because they depend on System.Drawing which isn't in the .NET for Metro style apps. We looked at this by Benjamin Soulier but it didn't seem to work. Any other suggestions or something easy we're missing?
Thanks
You can use ZXing.Net:
http://zxingnet.codeplex.com/
For Metro apps based upon HTML5/Javascript I'm currently working on a port of zxing.net for Windows Runtime Components WinMD. You can get the source from here
https://zxingnet.svn.codeplex.com/svn/branches/WINMD
(btw. I'm the creator of ZXing.Net (a port of the java based ZXing))
Based on feedback from MS resources, there is nothing built in and no frameworks they were aware of yet.
Quick way to try is by using Esponce web service. Make a simple HTTP POST request to http://www.esponce.com/api/v3/decode?format=png and send image data in body. Response should contain something like that:
{"content":"here goes content decoded from QR Code"}
Web services are platform-independent (easy to port) and lightweight on client side.
More details in Esponce API documentation
I have a Adobe Flash Builder GUI application that connects to Red5 to communicate.
can i use the red5 to call facebook API calls? can anyone provide an example? all the examples that i can find are with tomcat.
thanks!
Unfortunately they can't.
facebook-java-api cannot work with red5 because it requires the session data that does not pass into red5 and uses variables that i received only by a java Servlet.
there is also a facebook java api called TinyFbClient (www.socialjava.com).
this client is small, very easy to understand with very nice examples.
here i didn't have to use sessions, but i do need to get the uid of the user i want to query on. the client side can forward that information when needed.
TinyFbClient depends on jersey (http://download.java.net/maven/2/com/sun/jersey/) but unfortunately jersy does not compile on red5 properly. if you'll try to use the binary version you'll just get the error
java.lang.ClassNotFoundException: com.sun.ws.rs.ext.RuntimeDelegateImpl
and that is because the compiled binary cannot operate properly.
I resolved the issue by installing tomcat and allowing the user to connect to tomcat first, with tomcat i fetch the session and the relevant facebook data, stores it in a database and then with red5 i manipulate the data as needed.
hopefully this information will be found useful.
update
i had the previous error message because i did not copy the relevant jars (jersey and jsr311) to the red5 directory. unfortunately it did not solve the problem.
i tried different versions of jersey (1.0.x,1.1.x,1.2). the code did compile but any calls to a facebook api would just stop the application.
i decided to do the facebook information fetching part in tomcat and then to deliver it to red5.
Yes, it can work in Red5. Especially if you had it working in Tomcat, since we provide an embedded Tomcat server.