| |
---|
| | String datasetGraph = "${baseURI}/graph/${datasetPath}" |
---|
| | String metadataGraph = "${datasetGraph}/metadata" |
---|
| | drafter.deleteGraph(PMD, credentials, newJobDraft.id, metadataGraph) |
---|
| | drafter.deleteGraph(PMD, credentials, newJobDraft.id, datasetGraph) |
---|
| | if (oldLabel) { |
---|
| | String oldDatasetPath = oldLabel |
---|
| | if (oldLabel != null) { |
---|
| | String oldDatasetPath = oldLabel.toLowerCase() |
---|
| | .replaceAll('[^\\w/]', '-') |
---|
| | .replaceAll('-+', '-') |
---|
| | .replaceAll('-\$', '') |
---|
| | String oldDatasetGraph = "${baseURI}/graph/${oldDatasetPath}" |
---|
| |
---|
| | |
|