Skip to content
khanmuqeetkhan edited this page Jun 27, 2016 · 2 revisions

Welcome to the sll-rtjp.codeserveradapter wiki!

Source:

Source for codeserver data is fetched from http://codeserver.sll.se/

FTP job:

Via a FTP job files are fetched every night both in Test server and Production server

Following files are fetched:

  • MEK.xml
  • AVD-REL
  • SAMVERKS.xml
  • UPPDRAGSTYP.xml
  • FORETAG.xml
  • Vardservice.xml
  • VardserviceTyp.xml

Filtering of in-data:

Codeserver in-data files are read and data (elements) in the xml files that have valid dates greater than or equals to today are saved in the cache and rest is ignored (valid to attribute on the xml elements).

Schemas

Schemas are placed under /codeserveradapter-schemas . Anychanges in the contract must be discussed with the consumers, authorized and communicated through proper channel.

SOAPUI project

SOAP UI tests are placed just beside the code, https://github.com/SLL-RTP/sll-rtjp.codeserveradapter

Web application

Module /codeserveradapter-web-app wraps the application as a web-application.

Handle code changes, How to?

Currently two branches are maintained developand master. Make any feature branch if needed.

Understanding code? Start with /codeserveradapter-core module. Start with test-code to understand the flow.

Core classes (parsing/filtering of xml data) are found under: codeserveradapter/codeserveradapter-core/src/main/java/se/sll/codeserveradapter/parser

Mule App

Application can be run on a normal web-server like the tomcat or there is a specific module to run the application on a Mule server. See /codeserveradapter-mule-app