examples/microservices/hello.cpp
irods::ms_table_entry*  plugin_factory() {
        // =-=-=-=-=-=-=-
        // 3. allocate a microservice plugin which takes the number of function
        //    params as a parameter to the constructor
        irods::ms_table_entry* msvc = new irods::ms_table_entry( 1 );

        // =-=-=-=-=-=-=-
        // 4. add the microservice function as an operation to the plugin
        //    the first param is the name / key of the operation, the second
        //    is the name of the function which will be the microservice
        msvc->add_operation( "irods_hello", "irods_hello" );

        // =-=-=-=-=-=-=-
        // 5. return the newly created microservice plugin
        return msvc;
    }
// =-=-=-=-=-=-=-
// 2.  Create the plugin factory function which will return a microservice
//     table entry
2.  Create the plugin factory function which will return a microservice
table entry
2 . Create the plugin factory function which will return a microservice table entry
irods::ms_table_entry*  plugin_factory() {
        irods::ms_table_entry* msvc = new irods::ms_table_entry( 1 );
        msvc->add_operation( "irods_hello", "irods_hello" );
        return msvc;
    }
irods :: ms_table_entry * plugin_factory ( ) { irods :: ms_table_entry * msvc = new irods :: ms_table_entry ( 1 ) ; msvc -> add_operation ( " " , " " ) ; return msvc ; }
2
2 .
// =-=-=-=-=-=-=- // 3. allocate a microservice plugin which takes the number of function //    params as a parameter to the constructor // =-=-=-=-=-=-=- // 4. add the microservice function as an operation to the plugin //    the first param is the name / key of the operation, the second //    is the name of the function which will be the microservice // =-=-=-=-=-=-=- // 5. return the newly created microservice plugin