Associate Two Partitions

post

/management/lifecycle/{version}/environments/{environment}/associatePartitions

The POST method associates two environment partitions with each other.

Roles

Admin

Request

Supported Media Types
Path Parameters
Body ()
The request body must include a fully populated associate partitions model.
Root Schema : Associate Partitions
Type: object
Includes the names of two partitions to associate with each other and arbitrary properties.
Show Source
Nested Schema : properties
Type: array
Arbitrary properties. May include jdbcSystemResource and jdbcSystemResourceOverride properties.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : Property
Type: object
Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Show Source
Nested Schema : properties
Type: array
Property Properties value.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Nested Schema : values
Type: array
Property String values.
Show Source
  • Property
    Holds a named property, where the value can be a String, a confidential String, or a list of Properties.
Security
Back to Top

Response

200 Response

Back to Top

Examples

Associating a WLS Partition with a PDB Partition

This example uses the POST method to associate two partitions with each other.

Example Request
curl -v \
--user username:password \
-H X-Requested-By:MyClient \
-H Accept:application/json \
-d '{
 "partition1Name": "SpritePartition",
 "partition1RuntimeName": "WLSRuntime",
 "partition2Name": "SpritePDB",
 "partition2RuntimeName": "DBRuntime",
 "properties":[
    {"name": "jdbcSystemResource", "properties" : [
      {"name": "resourceGroups", "properties": [
        {"name": "g1", "value": "SpritePDB"}]}]},
    {"name": "jdbcSystemResourceOverride", "value": "SpritePDB" }]}' \
-X POST http://localhost:7001/management/lifecycle/latest/environments/sprite/associatePartitions
Example Response
HTTP/1.1 200 OK
Response Body:
{}
Back to Top