Renaming partition group to NetworkPartition in rest endpoint