Skip to content

Commit 4a8f3a5

Browse files
document removing items from a list attribute (#929)
1 parent 17d85d8 commit 4a8f3a5

File tree

1 file changed

+14
-2
lines changed
  • documentation/1.9/content/concepts

1 file changed

+14
-2
lines changed

documentation/1.9/content/concepts/model.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ One of the primary goals of the WebLogic Deploy Tooling is to support a sparse m
227227

228228
### Declaring named MBeans to delete
229229

230-
With WebLogic Deploy Tooling release 1.3.0, you can specify named items in the model to be deleted using the Create Domain, Update Domain, and Deploy Applications Tools. Named items are those that have multiple instances that are distinguished by user-provided names, such as managed servers, data sources, and security realms. Items to be deleted are prepended with an exclamation point (!) in the model.
230+
With WebLogic Deploy Tooling, you can specify named items in the model to be deleted using the Create Domain, Update Domain, and Deploy Applications Tools. Named items are those that have multiple instances that are distinguished by user-provided names, such as managed servers, data sources, and security realms. Items to be deleted are prepended with an exclamation point (!) in the model.
231231

232232
In this example, the managed server ```obsoleteServer``` will be deleted, and ```newServer``` will be created:
233233

@@ -260,7 +260,19 @@ This feature can also remove items that were created by WebLogic Server template
260260

261261
This feature does not apply to named security providers within a realm. These items follow a special set of rules that are required to maintain their ordering. See [Modeling security providers]({{< relref "/samples/securityproviders-model.md" >}}) for detailed information.
262262

263-
This feature cannot be use to undeploy applications or remove libraries.
263+
This feature can be used to undeploy applications or remove libraries.
264+
265+
#### Declaring list items to delete
266+
267+
In addition to deleting named mbeans, you can remove items from a list. Most practically, this would be within a Target list.
268+
269+
```yaml
270+
JMSSystemResource:
271+
BPMJMSModule:
272+
Target: soa_cluster,!AdminServer
273+
274+
```
275+
In this example, the BPMJMSModule has the AdminServer target removed from the target list.
264276

265277
### Using multiple models
266278

0 commit comments

Comments
 (0)