Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Add component model code separation #13641

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions modules/distribution/control-plane/identity_config_change.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<processor>
<!-- Remove the scope validator from the identity.xml if it exists. Otherwise running the build several times
causes several scope validator elements to be added-->
<remove>
<name>//s:Server/s:OAuth/s:OAuthScopeValidator</name>
</remove>
<remove>
<name>//s:Server/s:OAuth/s:SupportedGrantTypes/s:SupportedGrantType[s:GrantTypeName='urn:ietf:params:oauth:grant-type:uma-ticket']</name>
</remove>

<add>
<after>//s:Server/s:OAuth/s:EnableAssertions</after>
<value>
<![CDATA[<BuildSubjectIdentifierFromSPConfig>false</BuildSubjectIdentifierFromSPConfig>]]></value>
</add>

<remove>
<name>//s:Server/s:OAuth/s:ScopeValidators</name>
</remove>


</processor>
1,032 changes: 1,032 additions & 0 deletions modules/distribution/control-plane/pom.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.
*
*/
app.dependencies = ['publisher-common'];
app.server = function(ctx) {
return {
configs: {
landingPage: '/assets/api/list',
disabledAssets: ['gadget','schema','site','uri','ebook', 'wsdl', 'service','policy','proxy','servicex','sequence','wadl',
'document', 'provider']
}
}
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.
*
*/
app.dependencies = ['default'];
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.wr-main-content {
padding: 40px;
}
#resource_url_pattern_refix {
font-weight: bold;
font-size: 11px;
}
.multiselect-container{
top:35px;
background:#ddd;
}
.multiselect-container>li>a{
padding:4px 30px;
border-bottom:1px solid #fff;
}
.multiselect-container>li>a> .checkbox{
padding-top:5px;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.
*
*/

var resources = function(){
return {
css:['common.css']
}
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- header -->
<header>
<div class="row wr-global-header">
<div class="col-sm-8 app-logo">
<a href='{{url ""}}{{meta.landingPage}}'>
<img src="{{url "/themes/default/img/logo.png"}}" />
<h2 class="app-title">API Publisher</h2>
</a>
</div>
<div class="col-sm-4 wr-auth-container">
<div class="wr-auth pull-right">
<a href="#" data-toggle="dropdown" class="">
<div class="auth-img">
<span>{{cuser.username}}</span>&nbsp;&nbsp;<i class="fa fa-user fa-lg"></i>
</div>
</a>
<div class="dropdown-menu">
<div class="cu-arrow"></div>
<div class="dropdown-menu-content">
<a class="filter-item" onclick="window.location.href='{{url "/logout"}}'" href="#">{{t "Sign out"}}</a>
</div>
</div>
</div>
</div>
</div>
</header>
<!-- /header -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you 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.
*
*/
app.dependencies = ['default'];
app.server = function(ctx) {
return {
configs: {
landingPage: '/assets/api/list',
disabledAssets: ['gadget', 'schema', 'site', 'uri', 'ebook', 'wsdl', 'service', 'policy', 'proxy', 'servicex', 'sequence', 'wadl']
}
}
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!--
~ Copyright (c) 2014, WSO2 Inc. (http://wso2.com) All Rights Reserved.
~
~ 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.
-->
<!-- header -->
<header>
<div class="row wr-global-header">
<div class="col-xs-7 col-sm-7 col-lg-8 app-logo">
<a href="{{tenantedUrl ""}}{{meta.landingPage}}">
<img src="{{url ""}}
/extensions/app/am-store-defaults/themes/store/imgs/logo.png" style='height:35px;'/>
</a>
</div>
<div class="col-xs-5 col-sm-5 col-lg-4 top-menu-right-custom">
<ul class="nav navbar-nav navbar-right">
{{#if cuser.username}}
<li>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i
class="icon-user"></i> {{cuser.username}} <b class="caret"></b></a>
<ul class="dropdown-menu dropdown-account" role="menu" aria-labelledby="dLabel">
<li>
{{signout .}}
</li>
</ul>

</li>
{{else}}
{{authentication .}}
{{/if}}

</ul>
</div>
</div>
</header>
<!-- /header -->


{{>login login}}

{{>register}}
Loading
Loading