Gang Yan created GEODE-7423:
-------------------------------

             Summary: Ability: can run "configure PDX" [phase1]
                 Key: GEODE-7423
                 URL: https://issues.apache.org/jira/browse/GEODE-7423
             Project: Geode
          Issue Type: New Feature
          Components: management, rest (admin)
            Reporter: Gang Yan


### Why
phase0 and phase1 for PCC
phase2 to level up usability of GemFire PDX

phase0: support configure pdx, "--read-serialized" and "--disk-store"
**phase1: support "ignore-unread-fields" , "auto-serializable-classes" and 
"portable-auto-serializable-classes"**
phase2: can run "GFSH configure PDX" when data members are running without 
restart




**Notes:**

[1]url
 "geode-management/v2/configurations/pdx"

[2]result
```
diskStore:  (the specified diskstore)
readSerialized: true
ignoreUnreadFields: false
serializer: 
{
"name":"autoSerializer",   --> on the future, the customer can specify his own 
class
"portable": true|false,
"patterns":""
}
```

[3] request body 1:
```
{
diskStore:  (the specified diskstore),
readSerialized: true,
ignoreUnreadFields: false,
serializer: 
{
"name":"autoSerializer",   --> on the future, the customer can specify his own 
class
"portable": true|false,
"patterns":""
}
}
```

[3] request body 2:
```
{
persistent: true,      -->  diskstore:“DEFAULT” is used
readSerialized: true,
ignoreUnreadFields: false,
serializer: 
{
"name":"autoSerializer",
"portable": true|false,
"patterns":""
}
}
```





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to