Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Current »

JOSIF Main Page | JOSIF Platform | Prototype CTK RI Project | RI Requirements

Introduction

This page describes the JOSIF RI prototype which is generated with interface specifications as a starting point for implementing full Reference Implementations (RI)

RI Framework Phase 1 (16/8/11)

Online hosted RI

The Prototype RAM RI is presently hosted at

http://88.96.72.51:9090/RI/services/

Build and configuration

The JOSIF RI framework is packaged as a simple war which can run in jetty. To run the framework from maven,

1. Build the entire project from the base project to make sure that you have all the required dependencies. Note you will need to uncomment the
following java projects in the <modules> section of the base project's pom.xml

    <module>../TIP_RAM_JvtSpecPackage</module>        <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->
    <module>../TIP_RAM_EjbImplGenSrcPackage</module>  <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->

    <!-- These projects are very experimental and may not build correctly -->
    <module>../TIP_RAM_SoapImplGenSrcPackage</module> <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->
    <module>../TIP_RAM_EjbImplProject</module>        <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->
    <module>../TIP_RAM_WSImplProject</module>         <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->
    <module>../TIP_RAM_CTKProject</module>            <!-- THIS MODULE IS PRESENTLY EXPERIMENTAL -->

2. open a terminal in the RI project
The generated version of the RI is called TIP_RAM_WSImplProject and will provide an interface without notifications.
A separate version with Pierre's notification code added is in an independent project called
TIP_RAM_WSNotificationProject which you can use instead. it needs to be built (mvn clean install) after building
the main project. This is found at at <RAM Repository>tip/Features/ResourceAlarmManagement/IA/Interface/branches/NotificationTests/TIP_RAM_WSNotificationProject)

3. Type mvn jetty:run-war

4. The RI will host the interfaces visible through a web browser at http//localhost:9090/RI/services

The address configuration of the RI is set by the file src/main/resources/tipinterface.properties

 
  1. This file is used to set the instance specific URL for the service
  1. http://<hostAddress>:<hostPort>/<systemName>/<serviceContext>/<InterfaceName>
  1. <InterfaceName> is standardised in the build for the particular interface
  1. org.openoss.tip.interface.hostAddress=localhost

org.openoss.tip.interface.hostAddress=88.96.72.51
org.openoss.tip.interface.hostPort=9090
org.openoss.tip.interface.systemName=RI
org.openoss.tip.interface.serviceContext=services

 

You can run an RI and CTK on the same machine as they use different ports.

  • No labels