This file contains 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
"LinterCustomRules": { | |
"rules": { | |
"email-rule": { | |
"description": "Contact email address should belong to GOGO domain.", | |
"given": "$", | |
"severity": "error", | |
"then": { | |
"field": "info.contact.email", | |
"function": "pattern", | |
"functionOptions": { |
This file contains 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
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "Passenger API", | |
"version": "1.0.0", | |
"description": "API for managing passenger information" | |
}, | |
"servers": [ | |
{ | |
"url": "http://localhost:8080/train-operations/v1", |
This file contains 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
openapi: 3.0.1 | |
info: | |
title: UserFull | |
version: 1.0.0 | |
description: A simple API with a single resource | |
servers: | |
- url: https://api.example.com/v1 | |
description: Production server | |
paths: | |
/users: |
This file contains 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
{ | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"age": { |
This file contains 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
{ | |
"type": "object", | |
"properties": { | |
"street": { | |
"type": "string" | |
}, | |
"city": { | |
"type": "string" | |
}, | |
"state": { |
This file contains 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
{ | |
"type": "object", | |
"properties": { | |
"meal_preference": { | |
"type": "string" | |
}, | |
"seat_preference": { | |
"type": "string" | |
} | |
} |
This file contains 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
{ | |
"type": "object", | |
"properties": { | |
"airline": { | |
"type": "string" | |
}, | |
"number": { | |
"type": "string" | |
}, | |
"status": { |
This file contains 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
DROP DATABASE IF EXISTS WSO2AM_DB; | |
CREATE DATABASE WSO2AM_DB; | |
-- CREATE USER 'wso2carbon'@'%' IDENTIFIED BY 'wso2carbon'; | |
GRANT ALL ON WSO2AM_DB.* TO 'wso2carbon'@'%'; | |
FLUSH PRIVILEGES; | |
USE WSO2AM_DB; | |
-- Start of IDENTITY Tables-- | |
CREATE TABLE IF NOT EXISTS IDN_BASE_TABLE ( | |
PRODUCT_NAME VARCHAR(20), |
This file contains 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
#!/bin/bash | |
wget https://gist.githubusercontent.com/chamilaadhi/e4d0ebd01e17ae262cc001e1dcdfc436/raw/6d892dafaf7f84327c7d3def1d83e02f7b9bc03a/newman-analytics-results.xml | |
wget https://gist.githubusercontent.com/chamilaadhi/96b08f537fd34342d0b0b50673298894/raw/57badf94703326082e1b8a3f14e8ed79b81d188f/newman-profiles-results.xml |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<testsuites name="Profile_Setup_Tests" tests="64" time="24.878"> | |
<testsuite name="Authentication for the Super Admin / Register DCR Application for Super Admin" id="9a3fe176-4df5-4f6d-b609-ac65f961280f" timestamp="2023-08-02T05:26:43.884Z" tests="1" failures="0" errors="0" time="0.796"> | |
<testcase name="DCR application creation for super admin user" time="0.796" classname="ProfileSetupTests"/> | |
</testsuite> | |
<testsuite name="Authentication for the Super Admin / GET Access Token for Super Admin" id="3c37f3e0-7ec6-4059-bcc1-cbe4cb54a78f" timestamp="2023-08-02T05:26:43.884Z" tests="1" failures="0" errors="0" time="0.261"> | |
<testcase name="DCR application token generation for super admin user" time="0.261" classname="ProfileSetupTests"/> | |
</testsuite> | |
<testsuite name="JSON Schema Validation Testcase / Create API with Schema Validation Enabled" id="979bcef7-661e-4ce4-bd05-1c0c7373f009" timestamp="2023-08-02T05:26:43.884Z" tests="1" failures="0" errors="0" time="0 |
NewerOlder