<commit_before># Welcome to Serverless!
#
# This file is the main config file for your service.
# It's very minimal at this point and uses default values.
# You can always add more config options for more control.
# We've included some commented out config examples here.
# Just uncomment any of them to get that config option.
#
# For full config options, check the docs:
#    v1.docs.serverless.com
#
# Happy Coding!

service: interns-portal # NOTE: update this with your service name

provider:
  name: aws
  runtime: nodejs4.3

# you can overwrite defaults here
#defaults:
#  stage: dev
#  region: us-east-1

# you can add packaging information here
#package:
#  include:
#    - include-me.js
#  exclude:
#    - exclude-me.js
#  artifact: my-service-code.zip

functions:
  Users:
    handler: users/usersHandler.users
    events:
      - http:
          path: users/getUsers
          method: get
      - http:
          path: users/createUser
          method: post
      - http:
          path: users/updateUser
          method: post
      - http:
          path: users/getUser
          method: post

  Tasks:
    handler: tasks/tasksHandler.tasks
    events:
      - http:
          path: tasks/getAllActiveTask
          method: get
      - http:
          path: tasks/getUserTask
          method: post
      - http:
          path: tasks/updateTaskAdmin
          method: post
      - http:
          path: tasks/createTaskAdmin
          method: post
      - http:
          path: tasks/updateTaskUser
          method: post




# you can add CloudFormation resource templates here
#resources:
#  Resources:
#    newResource:
#      Type: AWS::S3::Bucket
#      Properties:
#        BucketName: newBucket<commit_msg>update task endpoints<commit_after># Welcome to Serverless!
#
# This file is the main config file for your service.
# It's very minimal at this point and uses default values.
# You can always add more config options for more control.
# We've included some commented out config examples here.
# Just uncomment any of them to get that config option.
#
# For full config options, check the docs:
#    v1.docs.serverless.com
#
# Happy Coding!

service: interns-portal # NOTE: update this with your service name

provider:
  name: aws
  runtime: nodejs4.3

# you can overwrite defaults here
#defaults:
#  stage: dev
#  region: us-east-1

# you can add packaging information here
#package:
#  include:
#    - include-me.js
#  exclude:
#    - exclude-me.js
#  artifact: my-service-code.zip

functions:
  Users:
    handler: users/usersHandler.users
    events:
      - http:
          path: users/getUsers
          method: get
      - http:
          path: users/createUser
          method: post
      - http:
          path: users/updateUser
          method: post
      - http:
          path: users/getUser
          method: post

  Tasks:
    handler: tasks/tasksHandler.tasks
    events:
      - http:
          path: tasks/allTask
          method: get
      - http:
          path: tasks/insertNewTask
          method: post
      - http:
          path: tasks/getUserTask
          method: post
      - http:
          path: tasks/updateUserTask
          method: post
      - http:
          path: tasks/disableTask
          method: post




# you can add CloudFormation resource templates here
#resources:
#  Resources:
#    newResource:
#      Type: AWS::S3::Bucket
#      Properties:
#        BucketName: newBucket
{'fraction_non_alphanumeric': 0.08055636047522458, 'fraction_numerical': 0.0028977108084613156, 'mean_word_length': 2.1239819004524887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6842131', 'n_tokens_mistral': 1003, 'n_tokens_neox': 983, 'n_words': 337}