mirror of
https://gitee.com/BDWare/agent-backend
synced 2025-01-10 01:44:14 +00:00
update doip-sdk irp-sdk
This commit is contained in:
parent
0d4f0243a2
commit
3f4d154d2b
@ -41,7 +41,7 @@ dependencies {
|
|||||||
implementation 'org.apache.velocity:velocity-engine-core:2.3'
|
implementation 'org.apache.velocity:velocity-engine-core:2.3'
|
||||||
implementation 'com.nimbusds:nimbus-jose-jwt:9.10'
|
implementation 'com.nimbusds:nimbus-jose-jwt:9.10'
|
||||||
implementation 'org.bdware.doip:doip-sdk:1.3.9'
|
implementation 'org.bdware.doip:doip-sdk:1.3.9'
|
||||||
implementation 'org.bdware.doip:doip-audit-tool:1.2.1'
|
implementation 'org.bdware.doip:doip-audit-tool:1.2.2'
|
||||||
implementation 'org.bdware.doip:bdosclient:0.0.2'
|
implementation 'org.bdware.doip:bdosclient:0.0.2'
|
||||||
implementation fileTree(dir: 'lib', include: '*.jar')
|
implementation fileTree(dir: 'lib', include: '*.jar')
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.2'
|
||||||
|
@ -103,6 +103,9 @@ public class ContractRepositoryHandler extends RepositoryHandlerBase implements
|
|||||||
if (digitalObject.attributes.has("contractExecType"))
|
if (digitalObject.attributes.has("contractExecType"))
|
||||||
c.setType(ContractExecType.valueOf(digitalObject.attributes.get("contractExecType").getAsString()));
|
c.setType(ContractExecType.valueOf(digitalObject.attributes.get("contractExecType").getAsString()));
|
||||||
else c.setType(ContractExecType.Sole);
|
else c.setType(ContractExecType.Sole);
|
||||||
|
if (digitalObject.attributes.has("shardingId"))
|
||||||
|
c.setType(ContractExecType.valueOf(digitalObject.attributes.get("shardingId").getAsString()));
|
||||||
|
else c.setShardingId(-1);
|
||||||
c.setScript(path);
|
c.setScript(path);
|
||||||
c.setOwner(doipMessage.credential.getSigner());
|
c.setOwner(doipMessage.credential.getSigner());
|
||||||
if (digitalObject.attributes.has("createParam")) {
|
if (digitalObject.attributes.has("createParam")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user