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
openapi: "3.0.0" | |
info: | |
version: 1.0.3 | |
title: Sentifi API Authentication and Authorization | |
description: | | |
Sentifi API Authentication and Authorization | |
servers: | |
- url: https://apis.sentifi.com/v1/oauth | |
description: OAuth Url to retrieve the token | |
tags: |
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
{ | |
"openapi": "3.0.0", | |
"info": { | |
"version": "1.0.3", | |
"title": "Sentifi Intelligence", | |
"description": "Sentifi Intelligence API\n" | |
}, | |
"servers": [ | |
{ | |
"url": "https://apis.sentifi.com/v1.1/intelligence/markets" |
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
openapi: "3.0.0" | |
info: | |
version: 1.0.3 | |
title: Sentifi Intelligence | |
description: | | |
Sentifi Intelligence API | |
servers: | |
- url: https://apis.sentifi.com/v1.1/intelligence/markets | |
- url: https://apis.sentifi.com/v1/oauth |
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
Identify the classes their properties and methods in the following problem description | |
I want to model a basic cellphone for an outgoing call. The phone should be able to dial a number, | |
initiate a call, ability to talk after successfulconnection to the dialed cell phone and then | |
disconnect. The cellphone should be enough battery to initiate a call and if the battery is dead | |
it should end the call gracefully. The phone should have ability to be switched on switched off. | |
For obvious reasons the user of the phone can make a call only if the phone is switched on. Also | |
For simplicity assume on 1 call is allowed at any given time (no hold and conference capabilities | |
are required). |
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
Quick way to check Service status | |
----------------------------------------------------------------------------------------------------- | |
prompt$ echo ruok | nc <hostname> <port> | |
** Example on a linux machine(for windows install http://sourceforge.net/projects/nmap-ncat/) | |
prompt$ echo ruok | nc localhost 8080 | |