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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>com.yookos.utils</groupId> | |
| <artifactId>yookos-utils</artifactId> | |
| <packaging>jar</packaging> | |
| <version>1.0-SNAPSHOT</version> | |
| <name>yookos-utils</name> | |
| <url>http://maven.apache.org</url> | |
| <properties> |
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
| [www] | |
| ping.path = /ping |
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
| #!/bin/sh -x | |
| ## REST API JIRA KEY check | |
| #List of projects that do not require strict JIRA KEY commits | |
| #list in space and case-insensitive | |
| #NON_STRICT="" | |
| # Authentication credentials | |
| username=kayode |
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
| I, [2015-09-15T13:43:32.832986 #2184] INFO -- : Started PUT "/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee?accepts_incomplete=true" for 10.0.2.15 at 2015-09-15 13:43:32 +0000 | |
| I, [2015-09-15T13:43:32.834906 #2184] INFO -- : Processing by V2::ServiceInstancesController#update as JSON | |
| I, [2015-09-15T13:43:32.835009 #2184] INFO -- : Parameters: {"service_id"=>"e72113ed-fde7-45fd-8758-aff41e6c5507", "plan_id"=>"5218782d-7fab-4534-92b8-434204d88c7b", "organization_guid"=>"6c3b720c-24b3-484b-9714-968243dabea5", "space_guid"=>"8ffcb1a1-fbdd-4dc9-b160-fb90c15866ed", "accepts_incomplete"=>"true", "id"=>"98b708fa-957a-49ed-bff3-c58c7c463cee"} | |
| I, [2015-09-15T13:43:32.846327 #2184] INFO -- : Request: {"headers":{"REMOTE_ADDR":"10.0.2.15","REQUEST_METHOD":"PUT","REQUEST_PATH":"/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee","PATH_INFO":"/v2/service_instances/98b708fa-957a-49ed-bff3-c58c7c463cee","QUERY_STRING":"accepts_incomplete=true","REQUEST_URI":"/v2/service_instances/98b708fa-957a-49ed |
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
| var express = require('express') | |
| var app = express() | |
| var cors = require('cors') | |
| // start http server | |
| var server = app.listen(process.env.VCAP_APP_PORT, function () { | |
| var host = server.address().address | |
| var port = server.address().port |
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
| # All credit: http://stackoverflow.com/questions/4006324/how-to-atomically-delete-keys-matching-a-pattern-with-redis | |
| redis-cli [options] KEYS "prefix:*" | xargs redis-cli [options] DEL |
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
| [ | |
| {name: 'Afghanistan', code: 'AF'}, | |
| {name: 'Åland Islands', code: 'AX'}, | |
| {name: 'Albania', code: 'AL'}, | |
| {name: 'Algeria', code: 'DZ'}, | |
| {name: 'American Samoa', code: 'AS'}, | |
| {name: 'AndorrA', code: 'AD'}, | |
| {name: 'Angola', code: 'AO'}, | |
| {name: 'Anguilla', code: 'AI'}, | |
| {name: 'Antarctica', code: 'AQ'}, |
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
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api [-] Error calling get_filesystem_stats | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api Traceback (most recent call last): | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/trove/guestagent/api.py", line 63, in _call | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api result = cctxt.call(self.context, method_name, **kwargs) | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api retry=self.retry) | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api timeout=timeout, retry=retry) | |
| 2017-01-23 20:00:44.065 29710 ERROR trove.guestagent.api File "/usr/lib/python2.7/site-packages/oslo_messaging/ |
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
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "net/http" | |
| "os" | |
| ) | |
| func init() { |
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
| import React from 'react'; | |
| import asyncPoll from 'react-async-poll'; | |
| import * as actions from '../../actions/user'; | |
| class KeepCloudAlive extends React.Component { | |
| render() { | |
| return( | |
| <div></div> | |
| ) |