Skip to content

Commit ad3fd53

Browse files
authored
Merge pull request #532 from delageniere/531.esrf-fix-lib-ws
change librairies
2 parents b62002c + ac1e5b0 commit ad3fd53

7 files changed

Lines changed: 85 additions & 4 deletions

File tree

-49.2 KB
Binary file not shown.
71.4 KB
Binary file not shown.

dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<configuration>
4242
<groupId>ispyb</groupId>
4343
<artifactId>ispyb-userportal-gen</artifactId>
44-
<version>1.7</version>
44+
<version>1.8</version>
4545
<packaging>jar</packaging>
46-
<file>${basedir}/../dependencies/ispyb-userportal-gen-1.7.jar</file>
46+
<file>${basedir}/../dependencies/ispyb-userportal-gen-1.8.jar</file>
4747
</configuration>
4848
</execution>
4949
<execution>
71.4 KB
Binary file not shown.

ispyb-ejb/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
<dependency>
181181
<groupId>ispyb</groupId>
182182
<artifactId>ispyb-userportal-gen</artifactId>
183-
<version>1.7</version>
183+
<version>1.8</version>
184184
</dependency>
185185

186186
<dependency>
@@ -202,6 +202,12 @@
202202
<scope>runtime</scope>
203203
</dependency>
204204

205+
<dependency>
206+
<groupId>org.codehaus.mojo</groupId>
207+
<artifactId>jaxws-maven-plugin</artifactId>
208+
<version>1.12</version>
209+
</dependency>
210+
205211
</dependencies>
206212

207213
<!-- profiles to separate environment properties -->

ispyb-ejb/src/main/java/ispyb/server/smis/UpdateFromSMIS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public static void updateThisProposalFromSMISPk(Long pk) throws Exception {
320320
}
321321

322322
mainProposers_ = sws.findMainProposersForProposal(pk);
323-
smisSamples_ = sws.findSamplesheetInfoLightForProposalPk(pk);
323+
smisSamples_ = sws.findSamplesheetInfoLightForProposalPk(pk, true /* only with OpMode(checked by Safety) */);
324324
labContacts_ = sws.findParticipantsForProposal(pk);
325325

326326
updateThisProposalFromLists(smisSessions_,mainProposers_,smisSamples_,labContacts_,pk);

ispyb-ejb/src/main/java/ispyb/server/webservice/smis/util/MAXIVWebService.java

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,18 @@
3636
import org.json.JSONArray;
3737
import org.json.JSONObject;
3838

39+
import generated.ws.smis.BeamlineScientistsVO;
3940
import generated.ws.smis.Exception_Exception;
4041
import generated.ws.smis.ExpSessionInfoLightVO;
4142
import generated.ws.smis.FinderException_Exception;
4243
import generated.ws.smis.InnerScientistVO;
44+
import generated.ws.smis.ProposalInfoLightVO;
4345
import generated.ws.smis.ProposalParticipantInfoLightVO;
4446
import generated.ws.smis.SMISWebService;
4547
import generated.ws.smis.SampleSheetInfoLightVO;
48+
import generated.ws.smis.Training;
49+
import generated.ws.smis.UserDataAccessLightVO;
50+
import generated.ws.smis.UserLightVO;
4651
import ispyb.common.util.Constants;
4752
import ispyb.server.smis.UpdateFromSMIS;
4853

@@ -796,4 +801,74 @@ private CloseableHttpClient getHttpClient(){
796801
return httpclient;
797802
}
798803

804+
@Override
805+
public ProposalParticipantInfoLightVO findLatestProposalParticipantByScientistPk(Long arg0)
806+
throws Exception_Exception {
807+
// TODO Auto-generated method stub
808+
return null;
809+
}
810+
811+
@Override
812+
public ProposalInfoLightVO findProposalInfoLightByProposalPk(Long arg0) throws Exception_Exception {
813+
// TODO Auto-generated method stub
814+
return null;
815+
}
816+
817+
@Override
818+
public List<SampleSheetInfoLightVO> findSamplesheetInfoLightForProposalPk(Long arg0, boolean arg1)
819+
throws Exception_Exception {
820+
// TODO Auto-generated method stub
821+
return null;
822+
}
823+
824+
@Override
825+
public List<SampleSheetInfoLightVO> findSamplesheetInfoLightForSessionPk(Long arg0) throws Exception_Exception {
826+
// TODO Auto-generated method stub
827+
return null;
828+
}
829+
830+
@Override
831+
public List<ExpSessionInfoLightVO> findSessionsInfoLightInRange(Calendar arg0, Calendar arg1)
832+
throws FinderException_Exception {
833+
// TODO Auto-generated method stub
834+
return null;
835+
}
836+
837+
@Override
838+
public UserLightVO findUserByScientistPk(Long arg0) throws Exception_Exception {
839+
// TODO Auto-generated method stub
840+
return null;
841+
}
842+
843+
@Override
844+
public List<UserDataAccessLightVO> getAcls() {
845+
// TODO Auto-generated method stub
846+
return null;
847+
}
848+
849+
@Override
850+
public List<UserDataAccessLightVO> getAclsWithAllDelays(double arg0, double arg1, double arg2, double arg3) {
851+
// TODO Auto-generated method stub
852+
return null;
853+
}
854+
855+
@Override
856+
public List<UserDataAccessLightVO> getAclsWithEndDelay(double arg0) {
857+
// TODO Auto-generated method stub
858+
return null;
859+
}
860+
861+
@Override
862+
public List<BeamlineScientistsVO> getScientistsWithDataAccessForAllBeamlines() {
863+
// TODO Auto-generated method stub
864+
return null;
865+
}
866+
867+
@Override
868+
public boolean isTrainingValidForDate(String arg0, Training arg1, Calendar arg2) throws Exception_Exception {
869+
// TODO Auto-generated method stub
870+
// added for MAXIV (but not used) because this method should be overridden.
871+
return false;
872+
}
873+
799874
}

0 commit comments

Comments
 (0)