Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-31 Thread Sameera Medagammaddegedara
Hi Shazni,

We have created the following JIRA to track the issue:
https://wso2.org/jira/browse/STORE-481

Thank You,
Sameera


On Wed, Jul 23, 2014 at 12:03 PM, Shazni Nazeer sha...@wso2.com wrote:

 It was unable to access the login page nor sign into the store within the
 GREG 5.0.0 pack that we built with ES features for publisher and store.
 This issue was identified and the solution involved few steps as below.

 repository/deployment/server/jaggeryapps/store/config/store.json files'
 and
 repository/deployment/server/jaggeryapps/publisher/config/publisher.json
 files' identityProviderURL is changed as below

 identityProviderURL: %https.carbon.local.ip%*/admin/samlsso*,
 --- identityProviderURL: %https.carbon.local.ip%*/samlsso*,

 changed repository/deployment/server/jaggeryapps/sso/views/login.jag
 files' following line

 form id=loginForm action=*/admin/commonauth* method=POST 
 form id=loginForm action=*/commonauth* method=POST 

 copied sso-idp-config.xml to repository/conf/security/ directory

 Above changes has to be made in ES features.

 After doing above changes it was able to navigate into the sign in page of
 the publisher and store, but still couldn't login as it threw an error in
 browser and the following warning message in the console.

 [2014-07-23 10:42:14,170]  WARN
 {org.wso2.carbon.identity.sso.saml.processors.SPInitSSOAuthnRequestProcessor}
 -  A Service Provider with the Issuer 'publisher' is not registered.
 Service Provider should be registered in advance.

 This was due to sso_redirect.html missing in the
 repository/resources/security   (Thanks Dulanja for finding this out by
 looking into the code). This file has to be get copied from the saml
 features (correct me if this is wrong?)

 After doing above changes we are able to login to the publisher though
 clicking the sign in button in the store redirects the page to same initial
 store page. We are at this point now. What could be the reason for this??


 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Jul 18, 2014 at 2:40 PM, Shazni Nazeer sha...@wso2.com wrote:

 Adding to this,

 When we had the GReg 5.0.0 pack built with 1.2.0 branch, we couldn't
 access the publisher or get into the sign in page of store. When clicked on
 the publisher HTTP Status 405 - HTTP method POST is not supported by
 this URL is shown.

 @SameeraM : Further in a fresh ES 1.2.0-SNAPSHOT pack I could add a
 service from the management console. But after that I can't add a service
 from the publisher service UI. When I clicked the Add Service button, the
 add service view is not displayed and following error is shown.

 HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property
 overview_pr overview_provider from undefined (asset#15)
 (/publisher/controllers/ref_assets_router.jag#54)

 Am I missing out something here?





-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-31 Thread Subash Chaturanga
Hi Ruchira et al,
Do you have a rough ETA for this to finish ? This is a blocker for us,
cause once installed ES feature we can't login to the store/pub. Hence
currently we are working on ES product itself. We have to start working on
G-Reg itself.


On Thu, Jul 31, 2014 at 11:37 PM, Sameera Medagammaddegedara 
samee...@wso2.com wrote:

 Hi Shazni,

 We have created the following JIRA to track the issue:
 https://wso2.org/jira/browse/STORE-481

 Thank You,
 Sameera


 On Wed, Jul 23, 2014 at 12:03 PM, Shazni Nazeer sha...@wso2.com wrote:

 It was unable to access the login page nor sign into the store within the
 GREG 5.0.0 pack that we built with ES features for publisher and store.
 This issue was identified and the solution involved few steps as below.

 repository/deployment/server/jaggeryapps/store/config/store.json files'
 and
 repository/deployment/server/jaggeryapps/publisher/config/publisher.json
 files' identityProviderURL is changed as below

 identityProviderURL: %https.carbon.local.ip%*/admin/samlsso*,
 --- identityProviderURL: %https.carbon.local.ip%*/samlsso*,

 changed repository/deployment/server/jaggeryapps/sso/views/login.jag
 files' following line

 form id=loginForm action=*/admin/commonauth* method=POST 
 form id=loginForm action=*/commonauth* method=POST 

 copied sso-idp-config.xml to repository/conf/security/ directory

 Above changes has to be made in ES features.

 After doing above changes it was able to navigate into the sign in page
 of the publisher and store, but still couldn't login as it threw an error
 in browser and the following warning message in the console.

 [2014-07-23 10:42:14,170]  WARN
 {org.wso2.carbon.identity.sso.saml.processors.SPInitSSOAuthnRequestProcessor}
 -  A Service Provider with the Issuer 'publisher' is not registered.
 Service Provider should be registered in advance.

 This was due to sso_redirect.html missing in the
 repository/resources/security   (Thanks Dulanja for finding this out by
 looking into the code). This file has to be get copied from the saml
 features (correct me if this is wrong?)

 After doing above changes we are able to login to the publisher though
 clicking the sign in button in the store redirects the page to same initial
 store page. We are at this point now. What could be the reason for this??


 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Jul 18, 2014 at 2:40 PM, Shazni Nazeer sha...@wso2.com wrote:

 Adding to this,

 When we had the GReg 5.0.0 pack built with 1.2.0 branch, we couldn't
 access the publisher or get into the sign in page of store. When clicked on
 the publisher HTTP Status 405 - HTTP method POST is not supported by
 this URL is shown.

 @SameeraM : Further in a fresh ES 1.2.0-SNAPSHOT pack I could add a
 service from the management console. But after that I can't add a service
 from the publisher service UI. When I clicked the Add Service button, the
 add service view is not displayed and following error is shown.

 HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property
 overview_pr overview_provider from undefined (asset#15)
 (/publisher/controllers/ref_assets_router.jag#54)

 Am I missing out something here?





 --
 Sameera Medagammaddegedara
 Software Engineer

 Contact:
 Email: samee...@wso2.com
 Mobile: + 94 077 255 3005




-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer  Lead WSO2 Governance Registry
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-19 Thread Sameera Medagammaddegedara
Hi Everyone,

@SameeraM : Further in a fresh ES 1.2.0-SNAPSHOT pack I could add a service
 from the management console. But after that I can't add a service from the
 publisher service UI. When I clicked the Add Service button, the add
 service view is not displayed and following error is shown.

 HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.EcmaError: TypeError: Cannot read property
 overview_pr overview_provider from undefined (asset#15)
 (/publisher/controllers/ref_assets_router.jag#54)


Issue has been fixed. You can view the add asset form (which has table
seperation changes) , however I have disabled the client side creation
logic till I move everything to the new model. Please get a new pull to
view the changes.

Thank You,
Sameera



On Fri, Jul 18, 2014 at 3:20 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Done


 On Fri, Jul 18, 2014 at 3:11 PM, Ayesha Dissanayaka aye...@wso2.com
 wrote:

 Hi,

 Merge pull request from [01] to greg-changes-master. It will resolve
 the build failure.

 [01] https://github.com/wso2/enterprise-store/pull/116



 On Fri, Jul 18, 2014 at 2:23 PM, Pulasthi Supun pulas...@wso2.com
 wrote:

 Hi ,

 We cannot build the Greg pack when we use the greg-changes-master
 branch of ES. The product can be built without any errors with the 1.2.0
 branch. But we cannot use the 1.2.0 branch currently because  the fixes to
 stop the ES feature from overriding the RXT files are not merged to this
 branch. Can you please fix the greg-changes-master branch or update the
 1.2.0 branch with the fixes. This is blocking the progress of the GReg
 5.0.0 since we are still unable to properly install and use the store
 features.

 Regards,
 Pulasthi

 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




-- 
Sameera Medagammaddegedara
Software Engineer

Contact:
Email: samee...@wso2.com
Mobile: + 94 077 255 3005
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-18 Thread Pulasthi Supun
Hi ,

We cannot build the Greg pack when we use the greg-changes-master branch
of ES. The product can be built without any errors with the 1.2.0 branch.
But we cannot use the 1.2.0 branch currently because  the fixes to stop the
ES feature from overriding the RXT files are not merged to this branch. Can
you please fix the greg-changes-master branch or update the 1.2.0 branch
with the fixes. This is blocking the progress of the GReg 5.0.0 since we
are still unable to properly install and use the store features.

Regards,
Pulasthi

-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-18 Thread Shazni Nazeer
Adding to this,

When we had the GReg 5.0.0 pack built with 1.2.0 branch, we couldn't access
the publisher or get into the sign in page of store. When clicked on the
publisher HTTP Status 405 - HTTP method POST is not supported by this URL
is shown.

@SameeraM : Further in a fresh ES 1.2.0-SNAPSHOT pack I could add a service
from the management console. But after that I can't add a service from the
publisher service UI. When I clicked the Add Service button, the add
service view is not displayed and following error is shown.

HTTP Status 500 - org.mozilla.javascript.WrappedException: Wrapped
org.jaggeryjs.scriptengine.exceptions.ScriptException:
org.mozilla.javascript.EcmaError: TypeError: Cannot read property
overview_pr overview_provider from undefined (asset#15)
(/publisher/controllers/ref_assets_router.jag#54)

Am I missing out something here?
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot Install ES feature when building with greg-changes-master branch in ES

2014-07-18 Thread Ruchira Wageesha
Done


On Fri, Jul 18, 2014 at 3:11 PM, Ayesha Dissanayaka aye...@wso2.com wrote:

 Hi,

 Merge pull request from [01] to greg-changes-master. It will resolve the
 build failure.

 [01] https://github.com/wso2/enterprise-store/pull/116



 On Fri, Jul 18, 2014 at 2:23 PM, Pulasthi Supun pulas...@wso2.com wrote:

 Hi ,

 We cannot build the Greg pack when we use the greg-changes-master
 branch of ES. The product can be built without any errors with the 1.2.0
 branch. But we cannot use the 1.2.0 branch currently because  the fixes to
 stop the ES feature from overriding the RXT files are not merged to this
 branch. Can you please fix the greg-changes-master branch or update the
 1.2.0 branch with the fixes. This is blocking the progress of the GReg
 5.0.0 since we are still unable to properly install and use the store
 features.

 Regards,
 Pulasthi

 --
 --
 Pulasthi Supun
 Software Engineer; WSO2 Inc.; http://wso2.com,
 Email: pulas...@wso2.com
 Mobile: +94 (71) 9258281
 Blog : http://pulasthisupun.blogspot.com/
 Git hub profile: https://github.com/pulasthi

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Ayesha Dissanayaka*
 Software Engineer,
 WSO2, Inc : http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 20, Palmgrove Avenue, Colombo 3
 E-Mail: aye...@wso2.com ayshsa...@gmail.com




-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

*email: ruch...@wso2.com ruch...@wso2.com,   blog:
ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev