Skip to content

Commit

Permalink
Added account management feature -- lots of changes required
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklholub committed Dec 29, 2023
1 parent ffd1101 commit 4e03775
Show file tree
Hide file tree
Showing 19 changed files with 1,575 additions and 165 deletions.
65 changes: 65 additions & 0 deletions AWS/apigateway/ssopsb_portal-auth-swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"swagger" : "2.0",
"info" : {
"version" : "2023-10-10T22:31:54Z",
"title" : "ssopsb_portal"
},
"host" : "j8ji8aizsd.execute-api.us-east-1.amazonaws.com",
"basePath" : "/auth",
"schemes" : [ "https" ],
"paths" : {
"/" : {
"get" : {
"operationId" : "auto",
"produces" : [ "text/html" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
},
"post" : {
"produces" : [ "text/html", "application/json" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
}
}
},
"definitions" : {
"Empty" : {
"type" : "object",
"title" : "Empty Schema"
}
}
}
65 changes: 65 additions & 0 deletions AWS/apigateway/ssopsb_portal-beta-swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"swagger" : "2.0",
"info" : {
"version" : "2023-10-10T22:31:54Z",
"title" : "ssopsb_portal"
},
"host" : "j8ji8aizsd.execute-api.us-east-1.amazonaws.com",
"basePath" : "/beta",
"schemes" : [ "https" ],
"paths" : {
"/" : {
"get" : {
"operationId" : "auto",
"produces" : [ "text/html" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
},
"post" : {
"produces" : [ "text/html", "application/json" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
}
}
},
"definitions" : {
"Empty" : {
"type" : "object",
"title" : "Empty Schema"
}
}
}
65 changes: 65 additions & 0 deletions AWS/apigateway/ssopsb_portal-prod-swagger.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"swagger" : "2.0",
"info" : {
"version" : "2023-10-27T21:35:21Z",
"title" : "ssopsb_portal"
},
"host" : "j8ji8aizsd.execute-api.us-east-1.amazonaws.com",
"basePath" : "/prod",
"schemes" : [ "https" ],
"paths" : {
"/" : {
"get" : {
"operationId" : "auto",
"produces" : [ "text/html" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
},
"post" : {
"produces" : [ "application/json" ],
"parameters" : [ {
"name" : "Bearer",
"in" : "header",
"required" : false,
"type" : "string"
} ],
"responses" : {
"200" : {
"description" : "200 response",
"schema" : {
"$ref" : "#/definitions/Empty"
},
"headers" : {
"Content-Type" : {
"type" : "string"
}
}
}
}
}
}
},
"definitions" : {
"Empty" : {
"type" : "object",
"title" : "Empty Schema"
}
}
}
8 changes: 8 additions & 0 deletions AWS/lambda/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export const handler = async (event) => {
// TODO implement
const response = {
statusCode: 200,
body: JSON.stringify('Hello from Lambda!'),
};
return response;
};
Loading

0 comments on commit 4e03775

Please sign in to comment.