Code Monkey home page Code Monkey logo

docs-ei's Introduction

WSO2 Enterprise Integrator Documentation

This is the source documentation for the latest release of the WSO2 Enterprise Integrator 7 family (i.e., 7.1.0).

To see the latest released documentation for the WSO2 Enterprise Integrator 7 family, go to: https://ei.docs.wso2.com/en/latest/. The source code for this can be found in a branch.

Contributing to WSO2 EI documentation

As an open source project, WSO2 EI welcomes contributions from the community. To start contributing, read these contribution guidelines for information on how you should go about contributing to our project.

  1. Accept the Contributor License Agreement (CLA)

    You need to Accept the Contributor License Agreement (CLA) when prompted by a GitHub email notification after sending your first Pull Request (PR). Subsequent PRs will not require CLA acceptance.

    If the CLA gets changed for some (unlikely) reason, you will be presented with the new CLA text after sending your first PR after the change.

  2. Fork this repository, make your changes, and send in a pull request. Make sure you are contributing to the correct branch (for example, if your change is relevant to WSO2 EI 7.1.0 documentation, you should commit your changes to the 7.1.0 branch).

Check the issue tracker for open issues that interest you. We look forward to receiving your contributions.

Building the documentation locally

1. Install Python.

If you are using MacOS, you probably already have a version of Python installed on your machine. You can verify this by running the following command.

python --version Python 2.7.2

If your version of Python is Python 2.x.x, you also need to install Python3. This is because the PDF plugin only supports Python3. Follow the instructions on this guide to install Python3 properly.

Once you are done, you will have two versions of Python on your machine; a version of python2 and a version of python3.

2. Install Pip.

Pip is most likely installed by default. However, you may need to upgrade pip to the latest version:

pip install --upgrade pip

If pip is not already installed on your machine, download get-pip.py to install pip for the first time. Then run the following command to install it:

python get-pip.py

3. Install pip packages

pip install mkdocs

pip install mkdocs-material

pip install markdown-include

pip install pymdown-extensions

4. Run mkdocs

Clone this GitHub repository.

Navigate to the branch you want and the directory you want. For example, cd docs-ei/en/micro-integrator/ in the 7.1.0 branch. Then run the following command:

mkdocs serve --dirtyreload

Open the URL that is generated in a new browser window to view the sample site.

docs-ei's People

Contributors

abeykoon avatar arunans23 avatar chamindi-a avatar chanikag avatar charukak avatar dakshika avatar dilee avatar dilini-muthumala avatar dmadhuranga avatar dnwick avatar drifftr avatar gdlmadushanka avatar isudana avatar isuruuy429 avatar kasunaratthanage avatar nilminiwso2 avatar nirothipan avatar ramindu90 avatar rosensilva avatar rukshiw avatar ruthryi avatar sachithkay avatar sajithaliyanage avatar sajithshn avatar samgnaniah avatar sdkottegoda avatar senthuran16 avatar shakila avatar sybernix avatar vathsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs-ei's Issues

Update build script

Jenkins build: https://wso2.org/jenkins/job/docs/job/docs-ei/configure

Sample script:

#!/bin/bash

set -o xtrace

#install needed versions

export LC_ALL=C.UTF-8
export LANG=C.UTF-8

apt-cache show python3
apt-cache show python3-pip

apt-get install python3 -y
apt-get install python3-pip -y
ls /usr/bin/p*

alias python='python3'
alias pip=pip3
alias python

pip install virtualenv
virtualenv /env --python=/usr/bin/python3
export PATH=/env/bin:$PATH
echo $PATH

which python3
which python

pip install --upgrade pip

pip install --upgrade mkdocs
pip install Pygments
pip install pymdown-extensions

pip install -U --no-deps mkdocs-material==4.1.1

which mkdocs
pip install markdown-include

apt-get install jq 

echo == versions ==

pip --version
python --version
mkdocs --version
pip freeze | grep mkdocs-material

echo ==============


echo == Build Script Start ==

cwd=`pwd`

#use for checkout and build a particular branch

build(){

 git checkout $1  
 version=$1
 echo ${version}
    
#rename master to next

 if [ "$1" == "master" ]; then
   version="next"
   echo master branch
 fi
    
#obtain particular lang folder
#create folder structure
#build a particular branch

 for dir in ${cwd}/*/; do      
  if [ -d ${f} ]; then
   dir=${dir%*/}
   dirName=${dir##*/}
    if [ ${dirName} != "dist" ]; then
     mkdir -p dist/${dirName}       
     cd ${dir}

########
ADD NEW LOGIC

cd ballerina-integrator
mkdocs build

cd ../micro-...
mkdocs build

cd ..
mv -f "${cwd}/${dirName}/ballerina-integrator/site" "${cwd}/dist/${dirName}/${version}/ballerina-integrator" 
...
########

     mkdocs build
     cd ..         
     mv -f "${cwd}/${dirName}/site" "${cwd}/dist/${dirName}/${version}/"    
    fi
  fi
 done
 
}


if [ "$BUILD_ALL" == "true" ]; then #check trigger manually or automatically

   echo build triggered manually
   
#obtain branch names in a git repo       
 for BRANCH in `git branch -a | grep remotes/origin/*` ;
  do   
   git checkout versions
   GIT_BRANCH_NAME="$(cut -d'/' -f3 <<<"$BRANCH")"  
     
#obtain branch names from versions.json and check with the git branches      
   for version in $(cat en/docs/assets/versions.json | jq -r '.all' | jq -r 'keys[]'); do     
    if [ "$GIT_BRANCH_NAME" == "${version}" ]; then 
      build "${version}"
    fi   
   done   
  done 
#these branches must build in each trigger  
      build "versions"
      build "master"
   
else

  echo build triggered automatically 
#obtain committed branch names in a git repo   
  GIT_BRANCH_NAME="$(cut -d'/' -f2 <<<"$GIT_BRANCH")"  
  git checkout versions
    
#obtain branch names from versions.json and check with the git branches            
  for version in $(cat en/docs/assets/versions.json | jq -r '.all' | jq -r 'keys[]'); do
   if [ "$GIT_BRANCH_NAME" == "${version}" ]; then   
   	 build "${version}"   
      
    # else
     # build "$(cat en/docs/assets/versions.json | jq -r '.current')"
   fi      
  done
    
#these branches must build in each trigger     
    build "versions"
    build "master"
     
fi

MI - REFERENCE - CONNECTORS section (Initial drafts and Navigation structure)

This issue is to move the initial drafts of the CONNECTORS docs for the Micro Integrator docs.
** This issue is only for the content that was in the EI 650 space [1]. The remaining connector docs will be tracked through [4]

Move all the related content to github [2].
Update the yaml with the navigation structure [3].

[1] https://docs.wso2.com/display/EI650/Working+with+Connectors
[2] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/references/transports
[3] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/mkdocs.yml
[4] #87

MI - INSTALL AND SETUP section (Keystore topics)

[Documentation] Sending reserved characters without encoding in query params

Description:
As explained in [1] there could be occurrences where characters such as (";", "/", "?", ":", "@", "=" and "&" ) should be able to be passed as reserved characters instead of encoding. In order to do this, we need to add '+' as a prefix when adding {query.param} to a uri-template.

Affected Product Version:
EI-6.1.1

Steps to reproduce:

  1. Enable wire logs in integrator profile.
  2. Create and deploy the API given in [1].
  3. Invoke API as given in [1].
  4. In debug logs, it could be noted that the request sent out from EI has encoded the reserved character. ("GET ?symbol=some%3Avalue HTTP/1.1[\r][\n]")
  5. Update the endpoint of the API as below.
 <endpoint>
       <http method="GET" uri-template="http://abc.com?symbol={+query.param.type}"/>
  </endpoint>
  1. Invoke the API again and it could be noted that the reserved character is not encoded.
    (GET ?symbol=some:value )

Related Issues:
https://wso2.org/jira/browse/ESBJAVA-3435

[1] https://wso2.org/jira/browse/ESBJAVA-3435

Identify initial list of guides

This involves competitor analysis and presenting the findings to the team so that they can make an informed decision and come up with a list.

MI - INSTALL AND SETUP section (Initial drafts and structure)

This issue is for the initial draft docs and the navigation structure of the Install and Setup section in the Micro Integrator docs.

The following [1] includes all the topics that should be under the 'Install and Setup' section in for the Micro Integrator docs. The yaml [2] is updated with the navigation structure [2].

[1] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/setup
[2] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/mkdocs.yml

MI - USE CASES section (Initial drafts and Navigation structure)

This issue is to get started on the 'Use Cases' section [1] of the Micro Integrator docs.

  • Move all the related content (from the previous doc spaces) to github.
  • Organize the content under 'Examples', 'Guides', and 'Tasks'. This content was previously dispersed across the doc space.
  • Update the yaml with the navigation structure [2].

[1] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/use-cases
[2] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/mkdocs.yml

MI - ADMIN AND OBSERVABILITY section (Initial draft and Navigation structure)

This issue is to get started on the 'Administration and Observability' section [1] of the Micro Integrator docs.

  • Move all the related content to github. This content is taken from the EI650 doc space [2][3] and the Admin Guide [4].
  • Update the yaml with the navigation structure [5].

[1] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/administer-and-observe
[2] https://docs.wso2.com/display/EI650/Product+Administration
[3] https://docs.wso2.com/display/EI650/WSO2+Micro+Integrator
[4] https://docs.wso2.com/display/ADMIN44x/Monitoring
[5] https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/mkdocs.yml

MI - REFERENCE - ALL CONNECTORS (Initial drafts and Navigation)

This issue is to track the connector docs that should be brought into the ei git repo. The Connector-related docs that were in EI650 have been added. However, the content in the ESB Connectors page [1] and Connectors Git Docs[2] are still not added.

This issue is the continuation of [3].

[1] https://docs.wso2.com/display/EI650/Working+with+Connectors
[2] https://github.com/wso2-extensions?utf8=%E2%9C%93&q=esb&type=&language=
[3] #65

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.