content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
package org.apereo.cas.pm;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import lombok.With;
import lombok.experimental.SuperBuilder;
import org.springframework.util.... | __label__POS | 0.990101 |
package org.apereo.cas.pm.impl;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.pm.PasswordChangeRequest;
import org.apereo.cas.pm.PasswordHistoryService;
import org.apereo.cas.pm.PasswordManagementQuery;
import org.apereo.cas.util.... | __label__POS | 0.644399 |
package org.apereo.cas.pm.impl;
import org.apereo.cas.authentication.Credential;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.pm.PasswordChangeRequest;
import org.apereo.cas.pm.PasswordHistoryService;
import org.apereo.cas.pm.PasswordManagementQuery;
import org.apereo.cas.util.... | __label__POS | 0.919037 |
require 'set'
require 'cgi'
module Ronn
# Miscellaneous utilities.
module Utils
# All HTML 4 elements and some that are in common use.
HTML = %w[
a abbr acronym address applet area b base basefont bdo big blockquote body
br button caption center cite code col colgroup dd del dfn dir div dl dt
... | __label__POS | 0.66997 |
package org.apereo.cas.pm.impl;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.pm.PasswordChangeRequest;
import org.apereo.cas.pm.impl.history.InMemoryPasswordHistoryService;
import org.apereo.cas.util.crypto.CipherExecutor;
import lombok.extern.slf4j.Slf4j;
import java.io.Seria... | __label__POS | 0.984875 |
package org.apereo.cas.pm.impl;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.pm.PasswordChangeRequest;
import org.apereo.cas.pm.PasswordHistoryService;
import org.apereo.cas.pm.PasswordValidationService;
import org.apereo.cas.util.RegexUtils;
import lombok.RequiredArgsConstruc... | __label__POS | 0.923873 |
package org.apereo.cas.pm.impl.history;
import org.apereo.cas.pm.PasswordChangeRequest;
import lombok.val;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;
/**
* This is {@link InMemoryPasswordHistoryService}.
*
* @author Misagh Moayyed
* @since... | __label__POS | 0.981781 |
package org.apereo.cas.pm.impl.history;
import org.apereo.cas.pm.PasswordChangeRequest;
import org.apereo.cas.util.scripting.ExecutableCompiledScript;
import org.apereo.cas.util.scripting.ExecutableCompiledScriptFactory;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import org.springframework.core.io.Resource;
... | __label__POS | 0.961926 |
// Copyright 2020-2021 Patrizio Amella. All rights reserved. See License file in the project root for more information.
module Mazes.Render.Tests.SVG
open System
open System.Text
open FsUnit
open Xunit
open Mazes.Core.Canvas.Array2D
open Mazes.Core.Canvas.ArrayOfA
open Mazes.Core.Structure
open Mazes.Core.Maze.Gener... | __label__POS | 0.670482 |
package org.apereo.cas.web;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.services.DefaultRegisteredServiceProperty;
import org.apereo.cas.services.RegisteredServiceProperty;
import org.apereo.cas.servi... | __label__POS | 0.622055 |
package org.apereo.cas.web;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.util.MockWebServer;
import org.apereo.cas.util.serialization.JacksonObjectMapperFactory;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.junit.jupiter... | __label__POS | 0.749657 |
<li>
<a ng-class="{ active: $state.includes('service.traces') }" class="subnav-action"
ng-href="services/{{ submenu.service._id }}/traces"><i class="icon icon-eye-open"></i> Traces</a>
</li>
<li>
<a ng-class="{ active: $state.includes('service.middleware') }" class="subnav-action"
ng-href='servi... | __label__POS | 0.90547 |
package org.apereo.cas.web;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.util.MockWebServer;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.http.HttpStatus;
import org.springframework.mock.... | __label__POS | 0.914055 |
// Copyright 2020-2021 Patrizio Amella. All rights reserved. See License file in the project root for more information.
module Mazes.Core.Tests.Grid.ArrayOfA.Polar.Grid
open FsUnit
open Xunit
open Mazes.Core
open Mazes.Core.Canvas.ArrayOfA
open Mazes.Core.Structure
open Mazes.Core.Structure.Grid2D
open Mazes.Core.St... | __label__POS | 0.986394 |
// Copyright 2020-2021 Patrizio Amella. All rights reserved. See License file in the project root for more information.
module Mazes.Core.Tests.Grid.Array2D.Ortho.Grid
open FsUnit
open Xunit
open Mazes.Core
open Mazes.Core.Canvas.Array2D
open Mazes.Core.Structure
open Mazes.Core.Structure.Grid2D.Type.Ortho
[<Fact>]
... | __label__POS | 0.999646 |
package org.apereo.cas.web;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.function.FunctionUtils;
import org.apereo.cas.util.http.HttpExecutionRequest;
import org.apereo.cas.util.http.HttpUtils;
import lombok.... | __label__POS | 0.842419 |
package org.apereo.cas.web;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import jakarta.servlet.http.HttpServletRequest;
/**
* This is {@link CaptchaValidator}.
*
* @author Misagh Moayyed
* @since 6.4.0
*/
public interface CaptchaValidator {
/**
* Gets instance.
... | __label__POS | 0.944664 |
package org.apereo.cas.web;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.util.CollectionUtils;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.http.HttpExecutionRequest;
import org.apereo.cas.util.http.HttpUtils;
import com.fasterxml.jac... | __label__POS | 0.722829 |
package com.example.apijsondemo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ApplicationContext;
import org.springframework.co... | __label__POS | 0.686924 |
package org.apereo.cas.web.flow;
import org.apereo.cas.configuration.model.support.captcha.GoogleRecaptchaProperties;
import org.apereo.cas.web.CaptchaActivationStrategy;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.support.WebUtils;
import lombok.RequiredArgsConstructor;
imp... | __label__POS | 0.96366 |
package org.apereo.cas.web.flow;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.web.flow.configurer.AbstractCasWebflowConfigurer;
import lombok.val;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.webflow.definition.registry.FlowDefin... | __label__POS | 0.964904 |
package org.apereo.cas.web.flow;
import org.apereo.cas.web.CaptchaActivationStrategy;
import org.apereo.cas.web.CaptchaValidator;
import org.apereo.cas.web.flow.actions.BaseCasWebflowAction;
import org.apereo.cas.web.support.WebUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lom... | __label__POS | 0.701355 |
package com.example.apijsondemo.config;
import apijson.framework.APIJSONSQLConfig;
public class DemoSQLConfig extends APIJSONSQLConfig<Long> {
static {
DEFAULT_DATABASE = DATABASE_MYSQL; // 用的数据库软件
DEFAULT_SCHEMA = "sys"; // 数据库名
// 表名和数据库不一致的,需要配置映射关系。只使用 APIJSONORM 时才需要;
// 如果用... | __label__POS | 0.95666 |
package com.example.apijsondemo.model;
import java.util.List;
import com.alibaba.fastjson.annotation.JSONField;
import apijson.framework.BaseModel;
import apijson.orm.Visitor;
/**
* 用户隐私信息
*
* @author Lemon
*/
public class Privacy extends BaseModel implements Visitor<Long> {
private static final long serialV... | __label__POS | 0.795408 |
package apijson.demo;
import java.util.Properties;
import java.util.Arrays;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.common.serialization.StringDeserializer;
publi... | __label__POS | 0.968414 |
package org.apereo.cas.monitor;
import org.apereo.cas.util.LoggingUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.actuate.health.Health;
import org.springframework.jdbc.core.JdbcTemplate;
import javax.sql.DataSource;
import java.util.concurrent.ExecutorService;
/**
* Monitors a data source... | __label__POS | 0.93151 |
package apijson.demo;
import javax.servlet.http.HttpSession;
import com.alibaba.fastjson.JSONObject;
import apijson.NotNull;
import apijson.RequestMethod;
import apijson.StringUtil;
import apijson.framework.javax.APIJSONFunctionParser;
import apijson.framework.javax.APIJSONVerifier;
import lombok.extern.slf4j.Slf4j;... | __label__POS | 0.671592 |
package apijson.demo;
import java.util.Map;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
/**
* Spring Context 工具类
*
* @author
*/
@Component
publi... | __label__POS | 0.998733 |
package apijson.demo;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import lombok.extern.log4j.Log4j2;
@Log4j2
public class DataBaseUtil {
/**
* 根据url获取库名
* @param url
* @return
*/
public static String getDbName(String url) {
Pattern p = Pattern.compile("jdbc:(?... | __label__POS | 0.998056 |
-- Copyright (C) by Yichun Zhang (agentzh)
local sha512 = require "resty.sha512"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local C = ffi.C
local setmetatable = setmetatable
local error = error
local _M = { _VERSION = '0.09' }
local mt = { __index = _M }
ffi.cdef[[
int SHA384_I... | __label__POS | 0.817555 |
-- Copyright (C) by Yichun Zhang (agentzh)
local sha256 = require "resty.sha256"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local C = ffi.C
local setmetatable = setmetatable
local error = error
local _M = { _VERSION = '0.09' }
local mt = { __index = _M }
ffi.cdef[[
int SHA224_I... | __label__POS | 0.821638 |
package apijson.demo;
import java.util.Properties;
import java.util.concurrent.Future;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.clients.producer.RecordMetadata;
import lombok.extern.slf4j.Slf4j;
@Slf4j
public class Kafka... | __label__POS | 0.623828 |
-- Copyright (C) by Yichun Zhang (agentzh)
local sha = require "resty.sha"
local ffi = require "ffi"
local ffi_new = ffi.new
local ffi_str = ffi.string
local C = ffi.C
local setmetatable = setmetatable
local error = error
local _M = { _VERSION = '0.09' }
local mt = { __index = _M }
ffi.cdef[[
typedef struct SHA... | __label__POS | 0.607632 |
package org.apereo.cas.config;
import org.apereo.cas.configuration.features.CasFeatureModule;
import org.apereo.cas.configuration.model.support.jpa.AbstractJpaProperties;
import org.apereo.cas.configuration.support.JpaBeans;
import org.apereo.cas.util.LoggingUtils;
import org.apereo.cas.util.spring.boot.ConditionalOnF... | __label__POS | 0.833161 |
const generateCode = data => {
let filesToZip = {};
let keys = Object.keys(data);
let code = '';
for (let i = 0; i < keys.length; i++) {
let state = data[keys[i]][data[keys[i]].length - 1][0];
if (state === 'stateful') {
code += "import React, { Component } from 'react';\n"
if (data[keys[i]]... | __label__POS | 0.989448 |
const generateContainer = data => {
let filesToZip = {};
let keys = Object.keys(data);
let code = '';
for (let i = 0; i < keys.length; i++) {
if (keys[i] === 'action' || keys[i] === 'container/component' || keys[i] === 'reducer') {
continue;
}
let state = data[keys[i]][data[keys[i]].length - 1... | __label__POS | 0.987827 |
export default function generateComponents(data) {
let filesToZip = {};
let keys = Object.keys(data);
let code = '';
for (let i = 0; i < keys.length; i++) {
if (keys[i] === 'action' || keys[i] === 'container/component' || keys[i] === 'reducer') {
continue;
}
let state = data[keys[i]][data[keys... | __label__POS | 0.998154 |
export default function generatePresentationalComponent(data) {
let filesToZip = {};
let keys = Object.keys(data);
let code = '';
for (let i = 0; i < keys.length; i++) {
if (keys[i] === 'action' || keys[i] === 'container/component' || keys[i] === 'reducer') {
continue;
}
let state = data[key... | __label__POS | 0.992512 |
local m = require 'model_helpers'
local defaults = require 'models.default_middleware_specs'
-- local MiddlewareSpec = {}
-- local collection = 'middleware_specs'
local Model = require 'model'
local MiddlewareSpec = Model:new()
MiddlewareSpec.collection = 'middleware_specs'
MiddlewareSpec.excluded_fiels_to_in... | __label__POS | 0.810036 |
local m = require 'model_helpers'
local inspect = require 'inspect'
local System = {}
local Config = require 'models.config'
local MiddlewareSpec = require 'models.middleware_spec'
local shared_dict = require 'shared_dict'
local jor = require 'jor'
local crontab... | __label__POS | 0.838452 |
local Model = require 'model'
local Event = require 'models.event'
local sandbox = require 'sandbox'
local EventObserver = Model:new()
EventObserver.collection = 'event_observers'
EventObserver.excluded_fields_to_index = {}
-- EventObserver:
-- {
-- condition: <lua code>
-- action: ... | __label__POS | 0.892733 |
local Version = {}
Version.__index = Version
local function map(f, t)
local res = {}
for i,v in ipairs(t) do
res[i] = f(v)
end
return res
end
local function split(str, delimiter)
local result = {}
delimiter = delimiter or " "
for chunk in str:gmatch("[^".. delimiter .. "]+") do
result[#result + ... | __label__POS | 0.997764 |
-- http://serverfault.com/questions/230749/how-to-use-nginx-to-proxy-to-a-host-requiring-authentication
local m = require 'model_helpers'
local c = require 'consumer_helpers'
local inspect = require 'inspect'
local lock = require 'lock'
local fn = require 'functional'
local Confi... | __label__POS | 0.784693 |
local PATH = (...):match("(.+%.)[^%.]+$") or ""
local Parameter = require(PATH .. 'parameter')
local array = require(PATH .. 'lib.array')
local straux = require(PATH .. 'lib.straux')
local md5 = require(PATH .. 'lib.md5')
local WILDCARD = straux.WILDCARD
local Operation = {}
local Operationmt = ... | __label__POS | 0.887566 |
package org.apereo.cas.support.events.kafka;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.support.events.CasEventRepositoryFilter;
import org.apereo.cas.support.events.dao.AbstractCasEventRepository;
import org.apereo.cas.support.events.dao.CasEvent;
import org.apereo.cas.util.... | __label__POS | 0.957952 |
local PATH = (...):match("(.+%.)[^%.]+$") or ""
local Host = require(PATH .. 'host')
local array = require(PATH .. 'lib.array')
local Brain = {}
local Brainmt = {__index = Brain}
function Brain:new(threshold, unmergeable_tokens)
return setmetatable({
threshold = threshold or 1.0,
unm... | __label__POS | 0.727166 |
package apijson.demo;
import android.content.res.Configuration;
import android.view.KeyEvent;
import android.view.MotionEvent;
public class InputUtil {
public static String getActionName(int action) {
String s = StringUtil.getTrimedString(MotionEvent.actionToString(action));
return s.startsWith("... | __label__POS | 0.995817 |
local PATH = (...):match("(.+%.)[^%.]+$") or ""
local array = require(PATH .. 'lib.array')
local straux = require(PATH .. 'lib.straux')
local md5 = require(PATH .. 'lib.md5')
local API = require(PATH .. 'api')
local inspect = require 'inspect'
local EOL = straux.EOL
local WILDCARD = straux.WIL... | __label__POS | 0.981293 |
package apijson.demo.server;
public class MathUtil {
public static long plus(long a, long b) {
return a + b;
}
public static double plus(double a, double b) {
return a + b;
}
public static double plus(Number a, Number b) {
return plus(a.doubleValue(), b.doubleValue());
}
public static long minus(long a,... | __label__POS | 0.916271 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.975731 |
local _M = {}
local function contains(expected, actual)
if actual == expected then return true end
local t1,t2 = type(actual), type(expected)
if t1 ~= t2 then return false end
if t1 == 'table' then
for k,v in pairs(expected) do
if not contains(actual[k], v) then return false end
end
return t... | __label__POS | 0.984032 |
local _M = {}
local response = require 'http_ng.response'
local http = require 'resty.http'
local function async_response(client, req)
local response_read = false
local function load(table)
if response_read == false then
local res, err = client:read_response(req)
response_read = true
if not ... | __label__POS | 0.989059 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.632805 |
package org.apereo.cas.ticket.registry;
import org.apereo.cas.util.CollectionUtils;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.cloud.Timestamp;
import com.google.cloud.firestore.annotation.DocumentId;
import com.google.cloud.firestore.annotation.PropertyName;
import com.google.cloud.sprin... | __label__POS | 0.794786 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.709036 |
package apijson.demo.ui;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.widget.RelativeLayout;
import java.u... | __label__POS | 0.939503 |
-------------------------------------------------------------------------------
-- MD5 computation in Lua (5.1)
-------------------------------------------------------------------------------
-- bit lib implementions
local floor, abs, max = math.floor, math.abs, math.max
local char, byte, format, rep, sub =
string.c... | __label__POS | 0.995998 |
local PATH = (...):match("(.+%.)[^%.]+$") or ""
local straux = require(PATH .. 'straux')
local ROOT_PATH = '/'
local DELIMITER = ROOT_PATH
local array = {}
local map = function(arr, f)
local result, length = {}, 0
for i=1, #arr do
length = length + 1
result[length] = f(arr[i])
end
return result
end... | __label__POS | 0.999567 |
local PATH = (...):match("(.+%.)[^%.]+$") or ""
local EOL = "___EOL___"
local WILDCARD = "*"
local function split(str, delimiter)
local result = {}
for chunk in str:gmatch("[^".. delimiter .. "]+") do
result[#result + 1] = chunk
end
return result
end
local function begins_with(str, prefix)
return strin... | __label__POS | 0.974213 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.666175 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.906188 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.805872 |
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).... | __label__POS | 0.984496 |
require "spec_helper"
describe "Event" do
let(:host) { 'http://localhost:7071' }
let(:service_created_event) { {
"channel" => "syslog",
"level" => "info",
"msg" => "service created",
"_id" => 1
}
}
let(:service_deleted_event) { {
"channel" => "syslog",
"level" => ... | __label__POS | 0.732903 |
require 'spec_helper'
describe "Notifications" do
let(:host) { 'http://localhost:7071' }
# let(:host) { 'http://echo-code.yyy.brain.3scale.net:10002' }
let(:localhost) { 'http://localhost:10002' }
def get_response_key(key)
get_json("#{host}/echo", host: localhost)[key]
end
before(:each) do
... | __label__POS | 0.910526 |
/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | __label__POS | 0.909548 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents an item in the exchange rate timeseries.
*/
export interfa... | __label__POS | 0.886104 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents a listing item.
*/
export interface V1ListingItem {
/... | __label__POS | 0.728377 |
require 'httpclient'
class ServicePage
include Capybara::DSL
attr_reader :name
def initialize
@name = find('.service-name').text
end
def menu
find('.service-nav')
end
def pipeline_page
menu.click_on('Pipeline')
PipelinePage.new
end
def integration_page
menu.click_on('Integrat... | __label__POS | 0.998044 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1ChainNetworkAddress } from './v1ChainNetworkAddress';
/**
* Repre... | __label__POS | 0.905198 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.credential.UsernamePasswordCredential;
import org.apereo.cas.authentication.surrogate.BaseSurrogateAuthenticationServiceTests;
import org.apereo.cas.authentication.surrogate.SurrogateCredentialTrait;
import org.apereo.cas.services.RegisteredSe... | __label__POS | 0.60739 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents a timeseries item with price and volume information.
*/
ex... | __label__POS | 0.678274 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1Icon } from './v1Icon';
/**
* Represents an exchange.
*/
export ... | __label__POS | 0.819149 |
package org.apereo.cas.authentication;
import org.apereo.cas.authentication.attribute.AttributeRepositoryResolver;
import org.apereo.cas.authentication.credential.BasicIdentifiableCredential;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.authentication.principal.PrincipalFactoryUtils;... | __label__POS | 0.604215 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Represents a timeseries item with price and volume information.
*/
ex... | __label__POS | 0.746947 |
package org.apereo.cas.ticket.expiration;
import org.apereo.cas.authentication.surrogate.SurrogateAuthenticationService;
import org.apereo.cas.mock.MockTicketGrantingTicket;
import lombok.val;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.Map;
import st... | __label__POS | 0.984658 |
package org.apereo.cas.ticket.expiration;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.test.CasTestExtension;
import org.apereo.cas.ticket.ExpirationPolicy;
import org.apereo.cas.util.serialization.BaseJacksonSerializer;
import lombok.val;
import org.junit.jupiter.api.Tag;
impo... | __label__POS | 0.620666 |
/**
* CoinAPI Market Data REST API
*
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { V1LastTrade } from './v1LastTrade';
/**
* Represents a quote trade ... | __label__POS | 0.687967 |
package org.apereo.cas.authentication.rest;
import org.apereo.cas.authentication.SurrogateAuthenticationException;
import org.apereo.cas.authentication.surrogate.BaseSurrogateAuthenticationServiceTests;
import org.apereo.cas.authentication.surrogate.SimpleSurrogateAuthenticationService;
import org.apereo.cas.authentic... | __label__POS | 0.695417 |
/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law... | __label__POS | 0.979142 |
// tslint:disable
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | __label__POS | 0.64564 |
// tslint:disable
/**
* CoinAPI Market Data REST API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Contact: support@apibricks.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openap... | __label__POS | 0.636025 |
/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | __label__POS | 0.986562 |
/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | __label__POS | 0.970644 |
package org.apereo.cas.ticket.accesstoken;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.ticket.Ticket;
import org.apereo... | __label__POS | 0.658442 |
package org.apereo.cas.ticket.code;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.ticket.Ticket;
import org.apereo.cas.ti... | __label__POS | 0.972443 |
package org.apereo.cas.support.oauth;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.apache.commons.lang3.Strings;
import java.util.Arrays;
/**
* The OAuth client authentication methods.
*
* @author Misagh Moayyed
* @since 7.0.0
*/
@Getter
@RequiredArgsConstructor
public enum OAuth20Clie... | __label__POS | 0.974919 |
package org.apereo.cas.support.oauth;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* The OAuth grant types (on the access token request).
*
* @author Jerome Leleu
* @since 5.0.0
*/
@Getter
@RequiredArgsConstructor
public enum OAuth20GrantTypes {
/**
* Indicates the absence of invali... | __label__POS | 0.62783 |
package org.apereo.cas.support.oauth;
/**
* This class has the main constants for the OAuth implementation.
*
* @author Jerome Leleu
* @since 3.5.0
*/
public interface OAuth20Constants {
/**
* Internal attribute to indicate whether the incoming request is an access token request.
*/
String REQU... | __label__POS | 0.691566 |
package org.apereo.cas.support.oauth.authenticator;
/**
* This is {@link Authenticators}.
*
* @author Misagh Moayyed
* @since 5.1.0
*/
public interface Authenticators {
/**
* Generic oauth clients.
*/
String CAS_OAUTH_CLIENT = "CasOAuthClient";
/**
* OAuth authn for basic authn.
*/... | __label__POS | 0.893597 |
package org.apereo.cas.support.oauth.validator;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.cas.util.crypto.CipherExecutor;
import java.io.Serializable;
/**
* This is {@link OAuth20ClientSecretValidator}.
*
* @author Misagh Moayyed
* @since 6.6.0
*/
public interface OA... | __label__POS | 0.997631 |
package org.apereo.cas.support.oauth.web;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseModeTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.support.oauth.services.OAuthRe... | __label__POS | 0.68459 |
package org.apereo.cas.support.oauth.web.response.introspection;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Seria... | __label__POS | 0.949732 |
package org.apereo.cas.support.oauth.web.response.accesstoken;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.ticket.Ticket;
import lombok.Builder;
import lombok.Getter;
import lom... | __label__POS | 0.639877 |
package org.apereo.cas.support.oauth.web.response.callback;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.support.oauth.OAuth20ResponseModeTypes;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.c... | __label__POS | 0.802372 |
package org.apereo.cas.support.oauth.web.response.accesstoken.ext;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.pac4j.core.context.WebContext;
/**
* This is {@link AccessTokenGrantRequestExtractor}.
*
* @author Misagh Moayyed
* @since... | __label__POS | 0.873869 |
package org.apereo.cas.support.oauth.web.response.accesstoken.response;
import org.apereo.cas.audit.AuditableEntity;
import org.apereo.cas.authentication.principal.Principal;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.se... | __label__POS | 0.906892 |
package org.apereo.cas.consent;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.redis.core.CasRedisTemplate;
import org.apereo.cas.services.RegisteredService;
import org.apereo.cas.util.LoggingUtils;
import lombok.RequiredArgsConstruct... | __label__POS | 0.808697 |
package org.apereo.cas.pac4j.web;
import org.apereo.cas.authentication.CasSSLContext;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.support.pac4j.authentication.clients.ConfigurableDelegatedClient;
import org.apereo.cas.support.pac4j.authentication.clients.ConfigurableDelegatedC... | __label__POS | 0.699384 |
package org.apereo.cas.pac4j.web;
import org.apereo.cas.support.pac4j.authentication.clients.DelegatedClientsEndpointContributor;
import org.apereo.cas.util.CollectionUtils;
import lombok.val;
import org.pac4j.cas.client.CasClient;
import org.pac4j.cas.config.CasConfiguration;
import org.pac4j.core.client.BaseClient;
... | __label__POS | 0.950934 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.