Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate emta to xroad v6 & jvis service name fix #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client-service/esis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.nortal.jroad</groupId>
<artifactId>xtee-client-service</artifactId>
<version>4.1-SNAPSHOT</version>
<version>4.2.0</version>
</parent>

<properties>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.nortal.jroad.client.esis;

import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSCreateAlertForXteeDocument.NSCreateAlertForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSCreateAlertForXteeResponseDocument.NSCreateAlertForXteeResponse;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSExecuteStandardQueryForXteeDocument.NSExecuteStandardQueryForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSExecuteStandardQueryForXteeResponseDocument.NSExecuteStandardQueryForXteeResponse;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.SSGetStatusForXteeDocument.SSGetStatusForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.SSGetStatusForXteeResponseDocument.SSGetStatusForXteeResponse;
import com.nortal.jroad.client.exception.XRoadServiceConsumptionException;

public interface EsisXRoadService {

NSExecuteStandardQueryForXteeResponse nsExecuteStandardQueryForXteeV1(NSExecuteStandardQueryForXtee nsExecuteStandardQueryForXtee)
throws XRoadServiceConsumptionException;

SSGetStatusForXteeResponse sSGetStatusForXteeResponse(SSGetStatusForXtee getStatusForXtee)
throws XRoadServiceConsumptionException;

NSCreateAlertForXteeResponse nSCreateAlertForXteeResponse(NSCreateAlertForXtee createAlertForXtee)
throws XRoadServiceConsumptionException;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package com.nortal.jroad.client.esis;

import javax.annotation.Resource;

import com.nortal.jroad.client.esis.database.EsisXRoadDatabase;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSCreateAlertForXteeDocument.NSCreateAlertForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSCreateAlertForXteeResponseDocument.NSCreateAlertForXteeResponse;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.SSGetStatusForXteeDocument.SSGetStatusForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.SSGetStatusForXteeResponseDocument.SSGetStatusForXteeResponse;
import org.springframework.stereotype.Service;

import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSExecuteStandardQueryForXteeDocument.NSExecuteStandardQueryForXtee;
import com.nortal.jroad.client.esis.types.eu.europa.schengen.sis.xsd.v1.nsmessages.NSExecuteStandardQueryForXteeResponseDocument.NSExecuteStandardQueryForXteeResponse;
import com.nortal.jroad.client.exception.XRoadServiceConsumptionException;
import com.nortal.jroad.client.service.XRoadDatabaseService;

@Service("esisXRoadService")
public class EsisXRoadServiceImpl extends XRoadDatabaseService implements EsisXRoadService {

@Resource
private EsisXRoadDatabase esisXRoadDatabase;

@Override
public NSExecuteStandardQueryForXteeResponse nsExecuteStandardQueryForXteeV1(NSExecuteStandardQueryForXtee nsExecuteStandardQueryForXtee)
throws XRoadServiceConsumptionException {
return esisXRoadDatabase.nsExecuteStandardQueryForXteeV1(nsExecuteStandardQueryForXtee);
}

@Override
public SSGetStatusForXteeResponse sSGetStatusForXteeResponse(SSGetStatusForXtee getStatusForXtee)
throws XRoadServiceConsumptionException {
return esisXRoadDatabase.ssGetStatusForXteeV1(getStatusForXtee);
}

@Override
public NSCreateAlertForXteeResponse nSCreateAlertForXteeResponse(NSCreateAlertForXtee createAlertForXtee)
throws XRoadServiceConsumptionException {
return esisXRoadDatabase.nsCreateAlertForXteeV1(createAlertForXtee);
}

}

This file was deleted.

This file was deleted.

Loading