STP Policy Framework

Policy Creation

PolicyEditor

XEF Policy Editor

For schema based policy creation

WTP based Policy Editor

For ws-policyattachment

Policy Reference

r

Reference to existing policy from policy registry

Policy Associate

Policy View On Service Component

Policy Artifact Processor

This is runtime specified. Used to transfer policy to runtime artificats.

Processor Trigger

During service creation

Before Packaing

Other timing

Policy Artifact

WS-PolicyAttachment

Such as Apache CXF

@Policy annotation

WebLogic

Configuration file

IONA Artix

Processor Extension Point

SCA Policy Framework

r

Since SCA policy association framework allows policies and policy subhects specified using WS-Policy and WS-PolicyAttachement, to be associated with SCA components.

Policy Registry

Policy Database

Load/Store XML file

Embedded Apache Derby

Policy Registry Service

Policy I/F

List Policies

Add policy

Delete policy

Remove policy

Get Policy

Schema I/F

Add Policy Schema

Remove Policy Schema

List Policy Schemas

Get Policy Schema

Registry Client

r

Client libray for user to use the policy registry.The return will be policy data model, instead of plain policy xml file

PolicySet Extension Point

r

Policy extension points allow user to register predefined policy and schema to the registry. Policy Registry plugin will add those policy set to the database if not exists during startup.

PolicySet extension

Policy Schema Set extension

Policy Validation

r

Define validation rules when apply policies to service component.

Dependency

such as Policy A depends on Policy B

conflicts

such as if Policy A exists, then can't add Policy B

subject constraints

subjects {endpoint|message|resource|interation}

More validations

Build on top of the current rule based xml validation plugin

eclipse.emf.validation

Validation Rule

Policy Data model

Policy

name

Description

namespace or category

version

Policy metadata

policy.xml

or PolicyID in Registry

Policy URL

Policy Set

Add policy model to STP Intermedia Model