| admin wrote
Web Services it is. It is up to you how you would like to proceed. I can make some time to create methods that you need or if its easier for you to do it and submit patches or I can give you write access to the repository. There is a webservice class already created in the project where all the methods can be added.
I agree with you about the authentication, BugNET currently assumes you are only using one application id with the authentication so work is needed here to make it more flexible. This is probably best done anyways for the future of the project. Your ideas of using a sproc or function to get the current application good. I believe someone logged this issue before, probably doing similiar integration work.
Again if you think you can make these changes faster than I can your welcome to. I can handle the final installation or change script if you want as I have the sql redgate tools which makes it easy to do so.
|
Hi Davin,
I'm hesitating about the write access as my C# is probably not up to scratch (hard core VB coder, me). I have by now installed Tortoise to be able to retrieve the latest build from SourceForge. Lets start this way: I leave some addition requests here and you add them to the codebase. These additions will probably not be too complex for now so it shouldn't be that much work.
First request: Bug manipulation. What you'd need to do in the service is add the basic Bug manipulation methods:
AddBug(Bug) as Integer, UpdateBug(Bug), DeleteBug(BugId)
This will expose the Bug object as well in my code so I can work with that. If you want to go 100% web service then you'll need to add all kinds of data reading methods. Do you want to go that way? I mean methods like GetAllProjects, GetStatuses, GetComponents, etc etc. In my interface I need just tables of data that fill dropdowns and so on. So I'm not sure what the best is right now. In the long run you might want to implement all these methods, but maybe you find it too much work right now. Let me know what you think.
There is one data retrieval method which might be good to expose already: the GetBugByCriteria. IMO we can return a datatable. It's up to you.
Peter