This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Kaynak kodun adresi | |
String githubUrl = "https://github.com/ahmetkucukoglu/aspnetcore-ci-sample" | |
//Kaynak kodun içerisindeki projenin ismi | |
String projectName = "CISample/CISample.App" | |
//Kaynak kodun publish edileceği dizin | |
String publishedPath = "CISample\\CISample.App\\bin\\Release\\netcoreapp2.2\\publish" | |
//Hedef makinesindeki IIS'de tanımlı olan sitenizin ismi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: ads-api | |
provider: | |
name: aws | |
runtime: nodejs10.x | |
region: eu-central-1 | |
profile: serverlessuser | |
apiKeys: | |
- AdsAPIKey |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "CreateRequestModel", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"description": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"title": "UpdateRequestModel", | |
"type": "object", | |
"properties": { | |
"name": { | |
"type": "string" | |
}, | |
"description": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: ads-api | |
custom: | |
tableName: AdsTable | |
provider: | |
name: aws | |
runtime: nodejs10.x | |
region: eu-central-1 | |
profile: serverlessuser |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.create = async event => { | |
var json = JSON.parse(event.body); | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.update = async event => { | |
var json = JSON.parse(event.body); | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ | |
method: 'Update', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.delete = async event => { | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ | |
method: 'Delete', | |
id: event.pathParameters.id, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.getAll = async event => { | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ | |
method: 'Get All' | |
}, | |
null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
module.exports.getById = async event => { | |
return { | |
statusCode: 200, | |
body: JSON.stringify( | |
{ | |
method: 'Get By Id', | |
id: event.pathParameters.id | |
}, |
OlderNewer