| 302 | } |
| 303 | |
| 304 | std::map<std::string, Property> ConfigurableComponent::getProperties() const { |
| 305 | std::lock_guard<std::mutex> lock(configuration_mutex_); |
| 306 | |
| 307 | std::map<std::string, Property> result; |
| 308 | |
| 309 | for (const auto &pair : properties_) { |
| 310 | result.insert({ pair.first, pair.second }); |
| 311 | } |
| 312 | |
| 313 | for (const auto &pair : dynamic_properties_) { |
| 314 | result.insert({ pair.first, pair.second }); |
| 315 | } |
| 316 | |
| 317 | return result; |
| 318 | } |
| 319 | |
| 320 | } /* namespace core */ |
| 321 | } /* namespace minifi */ |
no test coverage detected