How to make asset can be download in WSO2 ES - wso2

I visit the site https://store.wso2.com, when I choose one connector(for example: Jenkins), it show the detail page, and it has the Download connector Link button!! I think the site is build from WSO2 ES.
My question is how can make the asset can be downloaded? I try the WSO2 Enterprise Store 2.0 version, but I can't find anyway to achive it.

You can achive this using asset extensions in WSO2 ES-2.0.0 version.
In a default pack [HOME]/repository/deployment/jaggeryapps/store/themes/store/partials/asset.hbs files renders the asset details page. You can override it as well as sub partials used in that file by asset type.
Copy [HOME]/repository/deployment/jaggeryapps/store/themes/store/partials/assets.hbs to [HOME]/repository/deployment/jaggeryapps/store/extensions/assets//themes/store/partials/asset.hbs
In this file add change to UI elements to point to a downloadable URL.
ex: https://github.com/wso2/product-es/blob/1.0.1/modules/apps/store/extensions/assets/ebook/themes/store/partials/asset-utilization.hbs#L11
You can read more about WSO2 ES extension model here

Related

Uploading browser extension to Microsoft Partner Centre

I currently have continuous integration that updates an extension on Chrome Web Store and Mozilla Add On Market, however I am now trying to make a script that uploads to the Microsoft Partner Centre. Does anyone know how to upload via API to this Microsoft Partner Centre? (Specifically for Browser Extensions).
Microsoft just released the Microsoft Edge Add-Ons API which finally gives the ability to programmatically upload browser extensions to the web store via an API.
If you're using Node, can use the Edge Webstore Upload package to work with this API.
Do you want to upload Edge extension to Partner Center using some API? Partner Centre does not have such an API to provide to upload extensions. Correct me if I misunderstand what you want.
If you want to upload Edge extension, please refer to Publish your extension. If you want to update Edge extension, please refer to Update An Extension Listing.
So I found it particularly hard to write a script that would do this, so hard that I had to use Selenium due to all the JS loaded on the Microsoft Partner Centre sites. Never the less, I have written a script that will login, upload a new version and publish it (note that it won't work unless you've created and uploaded the first version of your extension yourself).
https://gist.github.com/8W9aG/d135f2780e2dc27baa682bae3a2a1cc7

change the UI of the WSO2 API Manager v3.0.0

I want to change the UI of the wso2 API manager.
I use product-am v3.0.0, carbon-apimgt v6.5.349, and nexus.
I'm add a <h4></h4> tag in /carbon-apimgt-6.5.349/features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/devportal/source/src/app/components/AnonymousView/SignUp.jsx and the change the font size in defaultheme.js file.
I change the default repository to myrepo.com and added configuration below:
<distributionManagement>
<repository>
<id>nexus</id>
<name>nexus-mixed</name>
<url>http://myrepo.com/repository/nexus-mixed/</url>
</repository>
</distributionManagement>
then run the mvn clean deploy command.
but when build in product-am and run only font size changed and <h4></h4> tag not added.
issue in GitHub: this
dh
API Manager 3.x UIs has two levels of customizations, in the basic level, You can change the UI themeing via defaulttheme.js file, which does not require to re-build the web app to make the changes effect. The limitation in this method is, You can only change the theming parameters which are pre-defined in the theme file. But still, there are quite a lot of theming capabilities in it.
The defaultTheme.js file in API Manager 3.0.0 is an extension of the Material-UI default theme file, Hence you can apply any customization which is allowed in material-ui theme structure.
In the second level customization or advanced customization, you can customize the behavior of the web app by overriding the React JS implementation. We have developed a webpack plugin to override the default React component implementation with extended or custom implementation when the user decided to add customization to their app. You can find the documentation for this advance customization here.
And also please note:
Modified the default React component implementation in the web apps are not recommended. By doing so it will be difficult to update the server through wso2 update manager (WUM), So that our recommendation is to use any of the above customization methods to customize the web apps according to your need.

jUDDI Installation and configuration

I have installed the basic jUDDI Server in my machine. I am able to Register the Service and able to read my Service info as a new user. I want to restrict the users who wants to look up my services. I want only my clients to access these information. I want to authenticate them so only my clients can view the business, service, tModel, Binding Template information. How can I achieve this? Can any body help me get through this?
Try turning on the setting the requires authentication for the inquiry API. You can find it in the juddiv3.xml config file for the server. Here's the xpath to get you there.
config/juddi/auth/Inquiry=true
Future readers, the documentation is located here for the current release (as of this time of this post)
https://juddi.apache.org/docs/3.3/juddi-guide/html/ch04.html#_administering_users_and_access_control
but the website https://juddi.apache.org/docs.html will get you to whatever is current. The docs (that website) is also available as part of the distribution and (i think) maven artifacts

How to use the components in Sitecore/Keystone MVC?

I am very new to Sitecore and i am confused between the Sitecore and Keystone component i.e. what is the difference between them and how to use it in the website we build in Sitecore. Please help me to solve this confusion?
I have created a website using Sitecore MVC and i am facing issue in using the existing components such as Breadcrumb, Sitemap in the created website. So will you please explain me how to include Sitecore /Keystone components (example such as Breadcrumb, Sitemap, Search, ..) is Sitecore web application, please provide an example?
Thank You.
Keystone is a 3rd party addition to Sitecore. It contains a set of Sitecore components. You can add your own components to Sitecore as well.
Here is Keystone Manual - Installation & Developer Guid which should give you nice introduction to Keystone.

What program to use to customise or edit Vtiger

I am new to Vtiger CRM. Recently just installed Vtiger 6.0 that comes free from mojo marketplace that comes together in ipage hosting.
But i would like to edit some parts in the vtiger CRM (etc: Login page, add some modules, creating a new customise invoice template).
I went through some advice online in here. But i cannot find the file locations mentioned and don't understand do they do it. Can someone please help to advice me?
have to consider php hardcoding of the system files, and some additional plugin.
To edit the Login page have to modify the Modules/Users/view/login.php
To add modules you can consider the installation of this plugin http://www.technokrafts.com/technokrafts-shop/vtiger-crm-addons/vtiger-module-builder/
it's free
To customize the Invoice template, you have to consider the installation of PDF Maker plugin:
https://marketplace.vtiger.com/app/listings?id=14