Skip to Content.
Sympa Menu

perfsonar-dev - [GEANT/SA2/ps-java-services] r5488 - in branches/new-structure-with-base2/ps-mdm-ls/src: main/java/org/perfsonar/service/lookupservice/registerService test/java/org/perfsonar/tests/actions

Subject: perfsonar development work

List archive

[GEANT/SA2/ps-java-services] r5488 - in branches/new-structure-with-base2/ps-mdm-ls/src: main/java/org/perfsonar/service/lookupservice/registerService test/java/org/perfsonar/tests/actions


Chronological Thread 
  • From:
  • To:
  • Subject: [GEANT/SA2/ps-java-services] r5488 - in branches/new-structure-with-base2/ps-mdm-ls/src: main/java/org/perfsonar/service/lookupservice/registerService test/java/org/perfsonar/tests/actions
  • Date: Wed, 17 Feb 2010 13:58:24 GMT

Author: psnc.trzaszczka
Date: 2010-02-17 13:58:24 +0000 (Wed, 17 Feb 2010)
New Revision: 5488

Modified:

branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java

branches/new-structure-with-base2/ps-mdm-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
Log:
bug PSSERVICES-442 fixed

Modified:
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
2010-02-17 13:14:14 UTC (rev 5487)
+++
branches/new-structure-with-base2/ps-mdm-ls/src/main/java/org/perfsonar/service/lookupservice/registerService/LSRegisterServiceHelper.java
2010-02-17 13:58:24 UTC (rev 5488)
@@ -344,7 +344,8 @@
Key key = new Key();
Parameters parameters = new Parameters();
Parameter parameter = new Parameter();
- parameter.setParameter(LS_KEY, keyValue);
+ parameter.setParameter("name", LS_KEY);
+ parameter.setParameter("value", keyValue);
parameters.addParameter(parameter);
key.setParameters(parameters);


Modified:
branches/new-structure-with-base2/ps-mdm-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
===================================================================
---
branches/new-structure-with-base2/ps-mdm-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
2010-02-17 13:14:14 UTC (rev 5487)
+++
branches/new-structure-with-base2/ps-mdm-ls/src/test/java/org/perfsonar/tests/actions/QueryActionTests.java
2010-02-17 13:58:24 UTC (rev 5488)
@@ -58,7 +58,8 @@
engine.takeAction(serviceRequest, serviceResponse);
fail();
} catch (PerfSONARException ex) {
-
if(!ex.getResultCode().equals("http://perfsonar.net/result/error/ls/query";)){
+ //TODO: url event types
+ if(!ex.getResultCode().equals("error.ls.query")){
fail();
}
}



  • [GEANT/SA2/ps-java-services] r5488 - in branches/new-structure-with-base2/ps-mdm-ls/src: main/java/org/perfsonar/service/lookupservice/registerService test/java/org/perfsonar/tests/actions, svn-noreply, 02/17/2010

Archive powered by MHonArc 2.6.16.

Top of Page