java17/step-func-maven/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java17/step-func-maven/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java17/step-func-gradle/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java17/step-func-gradle/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java8.al2/step-func-maven/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of selling a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java8.al2/step-func-maven/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java8.al2/step-func-gradle/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java8.al2/step-func-gradle/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java11/step-func-maven/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java11/step-func-maven/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java11/step-func-gradle/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java11/step-func-gradle/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java21/step-func-maven/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java21/step-func-maven/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java21/step-func-gradle/{{cookiecutter.project_name}}/functions/StockSeller/src/main/java/stockSeller/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String, String> handleRequest(Map<String, Integer> event, Context context) {
    // Sample Lambda function which mocks the operation of selling a random number
    // of shares for a stock.

    // For demonstration purposes, this Lambda function does not actually perform any
    // actual transactions. It simply returns a mocked result.

    // Parameters
    // ----------
    // event: Map<String, String>, required
    //     Input event to the Lambda function

    // context: Context, required
    //     Lambda Context runtime methods and attributes

    // Returns
    // ------
    //     Map<String, String>: Object containing details of the stock selling transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Sell");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



java21/step-func-gradle/{{cookiecutter.project_name}}/functions/StockBuyer/src/main/java/stockBuyer/App.java [16:43]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public Map<String,String> handleRequest(Map<String, Integer> event, Context context) {
        // Sample Lambda function which mocks the operation of buying a random number
        // of shares for a stock.

        // For demonstration purposes, this Lambda function does not actually perform any
        // actual transactions. It simply returns a mocked result.

        // Parameters
        // ----------
        // event: Map<String, String>, required
        //     Input event to the Lambda function

        // context: Context, required
        //     Lambda Context runtime methods and attributes

        // Returns
        // ------
        //     Map<String, String>: Object containing details of the stock buying transaction

        Map<String, String> response = new HashMap<>();
        response.put("id", UUID.randomUUID().toString());
        response.put("price", String.valueOf(event.get("stockPrice")));
        response.put("type", "Buy");
        response.put("qty", String.valueOf(rand.nextInt(10) + 1));
        response.put("timestamp", java.time.LocalDateTime.now().toString());

        return response;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



