- if(schema_print_xpath(framework_arguments.print_structure_xpath) != NTS_ERR_OK) {
- return_code = EXIT_FAILURE;
- goto non_container_init_cleanup;
- }
- }
-
- if(framework_arguments.populate_all) {
- // populate all
- if(schema_populate() != NTS_ERR_OK) {
- return_code = EXIT_FAILURE;
- goto non_container_init_cleanup;
- }
- }
-
- if(framework_arguments.enable_features) {
- // check if PNF registration is enabled and send PNF registration message if so
- rc = ves_pnf_registration_feature_start(session_running);
- if(rc != 0) {
- log_error("ves_pnf_registration_feature_start() failed");
- return_code = EXIT_FAILURE;
- goto non_container_init_cleanup;
- }
-
- // start feature for handling the heartbeat VES message
- rc = ves_heartbeat_feature_start(session_running);
- if(rc != 0) {
- log_error("ves_heartbeat_feature_start() failed");
- return_code = EXIT_FAILURE;
- goto non_container_init_cleanup;
- }
-
- // start feature for handling the fileReady VES message
- rc = ves_file_ready_feature_start(session_running);
- if(rc != 0) {
- log_error("ves_file_ready_feature_start() failed");
- return_code = EXIT_FAILURE;
- goto non_container_init_cleanup;
- }
-
- // start feature for manual notification
- rc = manual_notification_feature_start(session_running);
- if(rc != 0) {
- log_error("manual_notification_feature_start() failed");