pldm: Add numeric effecter configuration to the effecter_pdr.json

Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Change-Id: Ic8ecd052001e52b855872c27e7e11f21679ddb7c
Signed-off-by: George Liu <liuxiwei@inspur.com>
diff --git a/libpldmresponder/examples/pdr/effecter_pdr.json b/libpldmresponder/examples/pdr/effecter_pdr.json
index 7e7a421..316af73 100644
--- a/libpldmresponder/examples/pdr/effecter_pdr.json
+++ b/libpldmresponder/examples/pdr/effecter_pdr.json
@@ -98,6 +98,24 @@
           ]
         }
       ]
+    },
+    {
+      "pdrType": 9,
+      "entries": [
+        {
+          "base_unit": 21,
+          "rate_unit": 3,
+          "effecter_resolution_init": 1,
+          "effecter_data_size": 4,
+          "range_field_format": 4,
+          "dbus": {
+            "path": "/foo/bar",
+            "interface": "xyz.openbmc_project.Foo.Bar",
+            "property_name": "propertyName",
+            "property_type": "uint64_t"
+          }
+        }
+      ]
     }
   ]
-}
+}
\ No newline at end of file
diff --git a/test/pdr_jsons/state_effecter/good/effecter_pdr.json b/test/pdr_jsons/state_effecter/good/effecter_pdr.json
index e4c7311..e5230c6 100644
--- a/test/pdr_jsons/state_effecter/good/effecter_pdr.json
+++ b/test/pdr_jsons/state_effecter/good/effecter_pdr.json
@@ -98,6 +98,24 @@
                     ]
                 }
             ]
+        },
+        {
+            "pdrType": 9,
+            "entries": [
+                {
+                    "base_unit": 21,
+                    "rate_unit": 3,
+                    "effecter_resolution_init": 1,
+                    "effecter_data_size": 4,
+                    "range_field_format": 4,
+                    "dbus": {
+                        "path": "/foo/bar",
+                        "interface": "xyz.openbmc_project.Foo.Bar",
+                        "property_name": "propertyName",
+                        "property_type": "uint64_t"
+                    }
+                }
+            ]
         }
     ]
-}
+}
\ No newline at end of file
diff --git a/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json b/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
index bcbc37d..afa9987 100644
--- a/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
+++ b/test/pdr_jsons/state_effecter/malformed/effecter_pdr.json
@@ -98,6 +98,24 @@
                     ]
                 }
             ]
+        },
+        {
+            "pdrType": 9,
+            "entries": [
+                {
+                    "base_unit": 21,
+                    "rate_unit": 3,
+                    "effecter_resolution_init": 1,
+                    "effecter_data_size": 4,
+                    "range_field_format": 4,
+                    "dbus": {
+                        "path": "/foo/bar",
+                        "interface": "xyz.openbmc_project.Foo.Bar",
+                        "property_name": "propertyName",
+                        "property_type": "uint64_t"
+                    }
+                }
+            ]
         }
     ]
-}
+}
\ No newline at end of file