V1_0.java [src/java/m/example/py] Revision: 8619948192a367567dc988cdbc535281973b1f25  Date: Fri Dec 30 12:14:41 MST 2022
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package m.example.py;

import javax.ws.rs.Path;
import static csip.annotations.State.*;
import static csip.annotations.ResourceType.*;
import csip.annotations.*;

@Name("py service")
@Description("Example of an simple python conversion service")
@Documentation("https://alm.engr.colostate.edu/csip")
@State(PROTOTYPE)
@License(License.GPL3)
@VersionInfo("$Id$")
@Author(name = "od", email = "<odavid@colostate.edu>", org = "CSU")
@Category("Examples")
@Category("Python")

// execute it only once, install 
@Resource(file = "/m/example/py/install.sh", type = INSTALL)

// explicit python mapping to service
//@Resource(file = "/m/example/py/V1_0.py", type = PYTHON3)
// python mapping by naming convention
@Resource(type = PYTHON3)

@Path("m/py/1.0")
public class V1_0 extends csip.ModelDataService {

  @Override
  protected void doProcess() throws Exception {
  }
  
}