At the moment there are two ways to publish an asset to the ES back-office.
1. Using the UI
Eg: - Browse https://localhost:9443/publisher/asset/ebook
You can find the following UI and add the new asset(ebook in this case)
2. Using the API
This is the subject that I'm going to talk in this post. I'm going to use Postman- REST client for google chrome and CURL to execute this API invocation.
First lets try out with Postman,
Prerequisite :
a) google chrome browser
b) Postman chrome-extension
Steps
i) Browse https://localhost:9443/publisher/ and login in to the back-office.
ii) Browse chrome://apps/ and launch Postman REST client.
iii) Refer following screen-shot and create the POST form-data accordingly.
Note
URL : https://localhost:9443/publisher/api/asset/ebook
Type : POST
iv) Now you can invoke the API :)
You will receive the following output if it works right..
Lets browse the newly added ebook asset.
I will come up with a separate post on the topic POST multipart/form-data using CURL soon. So you can invoke the same above asset add API using CURL.
Showing posts with label publisher. Show all posts
Showing posts with label publisher. Show all posts
Monday, June 30, 2014
Wednesday, November 20, 2013
Deploy your own Enterprise Store [part 1]
Why enterprise store?
We are living in a digital-era where we create and use thousands of digital assets. There are number of tools around us to create assets, but very few resources we have to store, publish, maintain which bring immense value addition to our digital assets. This is the enterprise wide problem solved by the WSO2 Enterprise Store. Organize your assets at one place, access from everywhere !!
ES powered by two major apps, store and publisher. Lets talk about the publisher first. As the back office of the store, publisher is the platform which create, manage life-cycle and monitor statistics of assets. You can provision those published assets though the store front-end.
Lets dive in-to the ES world by running the product, first download the WSO2 ES product from here and unzip the product.You can find following directory structure inside the ES.
Navigate to the bin directory and start the server using following commands within your terminal window.
Store URL : http://localhost:9763/store
Publisher URL : http://localhost:9763/publisher
Mgt Console URL : https://localhost:9443/admin/carbon/
Use the following default user credentials to login, or else you can create your own user.
username : admin
password : admin
By default ES 1.0.0 shipped with provision for gadgets, websites and eBooks, you can browse, search, download or bookmark, manage life-cycle, view stats of those default digital assets in this ES installation.
Few screen-shots from the ES 1.0.0.
Store home
Site-Asset home
Sample- FaceBook asset page
In the following screen-shot you can find out some interesting social features of the WSO2 ES such as commenting, rating and tagging of assets.
Store-My items page
This is where you can see all assets that you have either download or bookmark from the store.
Publisher home
Asset Statistics
This is where you one can get a insight of his/her assets.
Number of bookmarks/downloads per asset, number of bookmarks/downloads during given period of time etc.
Asset Life-cycle management
Add new asset(gadget asset type)
Lets talk about how to install your own digital asset(rather than using gadgets,sites and e-books) in coming blog post.
If you wish to contribute to the WSO2 Enterprise-Store Product, yes its on github. You can clone ES from here and play/contribute with/to the source.
We are living in a digital-era where we create and use thousands of digital assets. There are number of tools around us to create assets, but very few resources we have to store, publish, maintain which bring immense value addition to our digital assets. This is the enterprise wide problem solved by the WSO2 Enterprise Store. Organize your assets at one place, access from everywhere !!
ES powered by two major apps, store and publisher. Lets talk about the publisher first. As the back office of the store, publisher is the platform which create, manage life-cycle and monitor statistics of assets. You can provision those published assets though the store front-end.
Lets dive in-to the ES world by running the product, first download the WSO2 ES product from here and unzip the product.You can find following directory structure inside the ES.
Here I'm working in a linux environment, you can follow official installation guide here if you are using/familiar with any other environment.
├── bin
├── dbscripts
├── INSTALL.txt
├── lib
├── LICENSE.txt
├── modules
├── README.txt
├── release-notes.html
├── repository
├── resources
├── tmp
└── webapp-mode
Navigate to the bin directory and start the server using following commands within your terminal window.
cd bin/Once the server started you can browse,
sh wso2server.sh
Store URL : http://localhost:9763/store
Publisher URL : http://localhost:9763/publisher
Mgt Console URL : https://localhost:9443/admin/carbon/
Use the following default user credentials to login, or else you can create your own user.
username : admin
password : admin
By default ES 1.0.0 shipped with provision for gadgets, websites and eBooks, you can browse, search, download or bookmark, manage life-cycle, view stats of those default digital assets in this ES installation.
Few screen-shots from the ES 1.0.0.
Store home
Site-Asset home
Sample- FaceBook asset page
In the following screen-shot you can find out some interesting social features of the WSO2 ES such as commenting, rating and tagging of assets.
Store-My items page
This is where you can see all assets that you have either download or bookmark from the store.
Publisher home
Asset Statistics
This is where you one can get a insight of his/her assets.
Number of bookmarks/downloads per asset, number of bookmarks/downloads during given period of time etc.
Asset Life-cycle management
Lets talk about how to install your own digital asset(rather than using gadgets,sites and e-books) in coming blog post.
If you wish to contribute to the WSO2 Enterprise-Store Product, yes its on github. You can clone ES from here and play/contribute with/to the source.
Subscribe to:
Comments (Atom)