| | |
| | | [PSCustomObject]@{ Name = 'jnpf-eln'; Jar = "jnpf-eln/jnpf-eln-server/target/jnpf-eln-$($Script:Version).jar"; Port = 30013 } |
| | | [PSCustomObject]@{ Name = 'jnpf-lims'; Jar = "jnpf-lims/jnpf-lims-server/target/jnpf-lims-$($Script:Version).jar"; Port = 30019 } |
| | | [PSCustomObject]@{ Name = 'jnpf-dms'; Jar = "jnpf-dms/jnpf-dms-server/target/jnpf-dms-$($Script:Version).jar"; Port = 30016 } |
| | | [PSCustomObject]@{ Name = 'jnpf-tms'; Jar = "jnpf-tms/jnpf-tms-server/target/jnpf-tms-$($Script:Version).jar"; Port = 30017 } |
| | | ) |
| | | |
| | | $Script:TargetServices = @() |
| | |
| | | switch ($Name) { |
| | | 'jnpf-platform' { return 1 } |
| | | 'jnpf-biz-common' { return 2 } |
| | | { $_ -in 'jnpf-lims', 'jnpf-dms' } { return 3 } |
| | | { $_ -in 'jnpf-lims', 'jnpf-dms', 'jnpf-tms' } { return 3 } |
| | | default { return 4 } |
| | | } |
| | | } |
| | |
| | | --build, -b 启动前先编译项目 |
| | | |
| | | 服务名(可选,省略 = 全部): |
| | | jnpf-gateway jnpf-platform jnpf-biz-common jnpf-eln jnpf-lims jnpf-dms |
| | | jnpf-gateway jnpf-platform jnpf-biz-common jnpf-eln jnpf-lims jnpf-dms jnpf-tms |
| | | |
| | | 注:jnpf-biz-common(30015) 含审计能力。 |
| | | 只起 jnpf-lims 而不起它,审计事件会投递失败并落 spool。 |