// Path: smart-item/src/main/java/com/metalabs/cephei/smartitem/interfaces/SmartItemRequest.java
// public interface SmartItemRequest {
//     String execute();
// }
// 
// Path: smart-item/src/main/java/com/metalabs/cephei/smartitem/interfaces/SmartItemRequestFactory.java
// public interface SmartItemRequestFactory {
//     SmartItemRequest makeSmartItemRequest(String url, String smartItemDescription);
// }


import com.metalabs.cephei.smartitem.interfaces.SmartItemRequest;
import com.metalabs.cephei.smartitem.interfaces.SmartItemRequestFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
package com.metalabs.cephei.web.controllers;


@RestController
@RequestMapping("/smart-item")
public class SmartItemController {

    @Autowired
    private SmartItemRequestFactory smartItemRequestFactory;

    @RequestMapping("/test")
    public void test(String str1, String str2) {
        System.out.println("str1=" + str1);
// Path: smart-item/src/main/java/com/metalabs/cephei/smartitem/interfaces/SmartItemRequest.java
// public interface SmartItemRequest {
//     String execute();
// }
// 
// Path: smart-item/src/main/java/com/metalabs/cephei/smartitem/interfaces/SmartItemRequestFactory.java
// public interface SmartItemRequestFactory {
//     SmartItemRequest makeSmartItemRequest(String url, String smartItemDescription);
// }


// Path: web/src/main/java/com/metalabs/cephei/web/controllers/SmartItemController.java
import com.metalabs.cephei.smartitem.interfaces.SmartItemRequest;
import com.metalabs.cephei.smartitem.interfaces.SmartItemRequestFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

package com.metalabs.cephei.web.controllers;


@RestController
@RequestMapping("/smart-item")
public class SmartItemController {

    @Autowired
    private SmartItemRequestFactory smartItemRequestFactory;

    @RequestMapping("/test")
    public void test(String str1, String str2) {
        System.out.println("str1=" + str1);
        System.out.println("str1=" + str2);