I am developing a java web application to manage Alfresco users and tasks (create and assign tasks to users ..) using rest api , i couldn't add tasks with POST method as shown in this picture :
Can anyone please suggest how to handle this.
Thanks.
You're not calling the right method, this url only accepts GET.
You can use all theses methods : https://api-explorer.alfresco.com/api-explorer/#/tasks, but I don't see one permitting to create a task.
I think this is because creating a task is not logic.
Maybe what you want to do is to create a process : https://api-explorer.alfresco.com/api-explorer/#!/processes/createProcess
If you don't find what you need, you still have the option to create your own webscript https://docs.alfresco.com/5.2/tasks/ws-tutorials.html.
As #Akah said, it's not the right service, also, you can find all deployed services in your Alfresco instance with there descriptions on http://localhost:8081/alfresco/service/index/all
Related
I'm here to ask for a help. I want to create a custom controller for my custom resource and literally I have no idea how and from where to start, like from where golang script will run for controller and how my custom resource will be useful.
So, I need some help with how I can start and from where I should start.
Thanks in advance
Deepak
When using Go, the kubebuilder is a good start for creating Kubernetes controller and custom resource. The Kubebuilder online book is a good tutorial to follow, to learn the components of the controller and the kubebuilder SDK.
As Jonas suggested you can go for Kubebuilder or Operator SDK is also a good option.
i won't suggest writing the custom controller until it's not required as you have now to manage the code, versions etc.
Instead you checkout the existing controller or application like the Kubewatch, which also do the same job for you.
Kubewatch check the K8s events and based on that send the slack message.
Checkout my article : https://medium.com/#harsh.manvar111/kubernetes-event-notifications-1b2fb12a30ce
If you have a requirement to write custom code you can simple make own Deployment with client library, which will look for the event of K8s
Check out my Github repo : https://github.com/harsh4870/Slack-Post-On-POD-Ready-State
Which checks for the POD ready statement and sends the slack notification, you can re-write that python code to Go as per need.
Lately I've been asked to deal with a specific usecase using the API management tool "WSO2 API-M"
The goal of the use case is the following:
For example : We need to create a user, to do so our backend requires us to use a group of endpoints (creating id then the user then his relationship with a group..."
the solution : we need to group all these endpoints into a flow that gets called whenever we use call a defined resource
That way the front end devs need to only define a single path for that whole process.
Now my Question is; I'm an absolute beginner when it comes to WSO2 and I'm still not familiar with a lot of terms, but can someone tell me if this can be done with WSO2 ?
and if so give me a suggestion on how it can be done, I'm not requesting code, even a simple suggestion is enough
Thank you
I am creating a React Portlet in Liferay 7.0. Part of the requirement is to read the data from a Dynamic Data List.
At first, it looks as though Liferay have provided the method as a Web Service to make my life simple but it seems that isn't the case.
Does anyone know how to return the records from a DDL recordset ideally in a JSON array?
Liferay Portal provides remote JSON-WS services for almost all OOTB services. If you start your instance and go to http://localhost:8080/api/jsonws?contextName=ddl you should see all the DDL related JSON-WS services.
Have a look at "Invoking Remote Services" and related documentation for details.
UPDATE:
In 7.0 there is indeed no method to get the records of a record set. It was added in 7.1 :(
So your best bet is to create custom REST service to return those.
Is it possible to link a bluemix website with some kind of content mangement?
I'm trying to build a formular for an event registration website with bluemix.
It must be possible for the promoter of the events to decide which data the participants have to fill out. As an example for a business dinner there is no need to ask if he needs a flight or not and for another event it would be necessary to know it. So the content must be "adaptable" by the promoter because I don't want to write a new website for each event.
Does somebody know a solution for this problem?
Thank you very much for your help!
Deploy your site on IBM Containers and utilize the ssh capability to scp your content into the web app/site.
There are several possibilities:
create an application with a Cloudant backend. The data stored inside is free form. You then "just" need to define the valid form. I used angular.js and angular-formly (with the form definition stored in Cloudant, so you can edit it)
Use PencilBlue a Node.js CMS using a Mongo backend. Eventually it does all you need
Use a container with a common engine (e.g. Wordpress)
So you can act depending on how custom you want the solution to be. Let us know what works for you
We are using RTC for version control and build system.
RTC's web interface allow user to create custom queries for work items - good.
How about creating custom queries to the builds (or other RTC items maybe)?
Let's say I want to know in what builds this particular file was modified or in what builds this particular team member contributed something.
Definitely there is no web interface to do this.
Maybe some other tool? .. Something...
BTW, I didn't find it in scm.exe tool provided with eclipse.
Thanks
While there is no web GUI for building such a query, there is a REST API for querying Build Results:
See "Report REST API" (you need a -- free -- jazz.net account to access it), for com.ibm.team.build.BuildResult, that you can access as in this thread, for instance:
https://<host>:<port>/jazz/resource/itemOid/com.ibm.team.build.BuildResult/_uKcncTTuEeOy2d_WN7u_Bg