All Downloads are FREE. Search and download functionalities are using the official Maven repository.

core_servicestore.executionPlan.executionPlan.pure Maven / Gradle / Ivy

The newest version!
// Copyright 2021 Goldman Sachs
//
// 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 agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

import meta::pure::executionPlan::*;
import meta::pure::functions::io::http::*;
import meta::pure::runtime::connection::authentication::*;

import meta::external::store::service::executionPlan::nodes::*;

import meta::external::store::service::metamodel::*;
import meta::external::store::service::metamodel::mapping::*;
import meta::external::store::service::metamodel::runtime::*;

Class meta::external::store::service::executionPlan::nodes::RestServiceExecutionNode extends ExecutionNode
{
   url                    : String[1];
   method                 : HTTPMethod[1];
   mimeType               : String[1];
   params                 : ServiceParameter[*];
   requestBodyDescription : RequestBodyDescription[0..1];
   authenticationSchemes  : AuthenticationSchemeRequirement[*];
}

Class meta::external::store::service::executionPlan::nodes::RequestBodyDescription
{
   mimeType  : String[1];
   resultKey : String[1];
}

Class meta::external::store::service::executionPlan::nodes::ServiceParametersResolutionExecutionNode extends ExecutionNode
{
   requestParametersBuildInfo : ServiceRequestParametersBuildInfo[1];
}

// Currently we are defining this node under service store but in future if we this is needed in broader scope we will move this up the hierarchy
Class meta::external::store::service::executionPlan::nodes::LimitExecutionNode extends ExecutionNode
{
   limit : Integer[1];
}

Class <> meta::external::store::service::executionPlan::nodes::AuthenticationSchemeRequirement
{
}

Class meta::external::store::service::executionPlan::nodes::SingleAuthenticationSchemeRequirement extends meta::external::store::service::executionPlan::nodes::AuthenticationSchemeRequirement
{
    securityScheme              : SecurityScheme[1];
    authenticationSpecification : AuthenticationSpecification[0..1];
}

Class meta::external::store::service::executionPlan::nodes::MultiAuthenticationSchemeRequirement extends meta::external::store::service::executionPlan::nodes::AuthenticationSchemeRequirement
{
    authenticationSchemes : SingleAuthenticationSchemeRequirement[*];
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy