Skip to main content

Structuring SLEE RA sub-projects

12 replies [Last post]
ivelin
Offline
Joined: 2003-07-13

I would like to continue the discussion started earlier by Leon Do.

Let's flesh out the approach for setting up RAs and optionally integrating them with the SLEE at build time. There has to be some brainstorming about build system with such features - Maven or JBoss Build.

Ivelin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mranga
Offline
Joined: 2003-06-06

The test framework sends messages to the SIP RA and triggers sbbs on the other side. It has a "future result" type class which waits for a future result and triggers a listener on the driver side - in much the same way as the TCK RA does - except that this all happens through SIP. Its a pretty useful framework especially if you want to write small sip applications for demonstration purposes and also if you want to test sip sbbs. We built this prior to having the tck plumbing worked out.

Ranga

mranga
Offline
Joined: 2003-06-06

Lets leave the couple of classes in there for now. It was part of the old SIP test framework which was replaced using the tck framework. We still need the sip framework for extended test cases that go beyond the tck. Its only a few classes anyway

Ranga

ivelin
Offline
Joined: 2003-07-13

Can you expand on the difference between SIP code for the test framework and the SIP RA code itself?

Why is a SIP framework necessary to add new SLEE tests?

Ivelin

leondo
Offline
Joined: 2005-01-18

The TCK run was at 100% passed.

The RAs are still in the mobicents project tree but they are not part of the mobicents src no longer so do libraries. The only cutback is that it still needs Mobicents build classes to compile due to the missing functionalities of ActivityContextInterface interface. I don't use the sipra sub-project at this point.

The build are the very much the same way but much cleaner.

On the SIP code for testing SIP in the slee.test package, I wasn't sure what to do but they cann't stay where they are now without breaking the compiling so I removed them. May be find a place in the resource adaptor itself? or do they need at all?

Leon Do

mranga
Offline
Joined: 2003-06-06

Till we find where to put it, please tar it up and add it ( dont forget -kb when you add it ) as a binary in the archive directory. Incidentally, there's ivelin's old project code there which I think can be deleted entirely unless Ivelin feels otherwise.

Ranga

ivelin
Offline
Joined: 2003-07-13

Go ahead and delete my old code. I can restore it if needed, but I doubt that.

I think the SIP testing code belongs in the SIP RA. It will be useful for keeping the SIP RA sane as we add functionality to it.

Ivelin

leondo
Offline
Joined: 2005-01-18

I have started working on it. Does anybody know that we use org.mobicents.slee.test (e.g. TestResult) for anything? Many of the classes use the the sip ra classes directly therefore I want to know a little bit before I can safely remove those dependencies

thanks

Leon Do

ivelin
Offline
Joined: 2003-07-13

I think the org.mobicents.slee.test package is obsolete. It used to host the JUnit wrappers for the TCK tests. In the future it will be likely used for the new test framework.

Ivelin

ivelin
Offline
Joined: 2003-07-13

I will create a new sub-project for the SIP RA and assign Leon Do as lead. Any objections?

Ivelin

ivelin
Offline
Joined: 2003-07-13

Leon Do,

Congratulations! You are now the owner of the sip-ra project:
https://sip-ra.dev.java.net/

Please feel free to start using CVS as soon as we conclude the design discussion.

Ivelin

leondo
Offline
Joined: 2005-01-18

I have removed sip and asterisk resource adaptors out of the mobicents/src directory, and cleaned out and added necessary the build stuffs. I have created the new mobicents/ra directory with appropriate files.

The resource adaptors still require the mobicents build classes to build. Once we standardize RA then they will not need anymore.

Please let me know if you have any questions

Leon Do

ivelin
Offline
Joined: 2003-07-13

Excelent. My questions:

1) Does the TCK still pass?
2) Did you move the code in a different directory or did you move it to the new SIP-RA sub-project?
3) What is the plan for a build script that will be able to optionally include in the release RAs from other repositories?

Ivelin