-
Notifications
You must be signed in to change notification settings - Fork 132
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
[3.0.0] Import Export CLI - PR 4 #7
Conversation
Use it when the backendis implemented
Use placeholders instead of concatentation
Make a copy of main_config.yaml inside 'cmd'
To facilitate testing
update README.md and CONTRIBUTING.md
testing export-api command
For import-api, export-api, and list apis
Total test coverage at 66.4%
test covereage > 70%
Will resolve conflicts and reopen. |
and resolve merge conflicts
Merge conflicts were due to a change of author's email in my local git environment. All fixed! |
Move config files to HOME/.wso2apim-cli directory
import-export-cli/cmd/root.go
Outdated
"https://localhost/publisher", | ||
"http://localhost/register", | ||
"http://localhost/token", | ||
} | ||
utils.WriteConfigFile(mainConfig, utils.MainConfigFilePath) | ||
utils.WriteConfigFile(mainConfig, utils.SampleMainConfigFilePath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #11 for 3.0.0
@@ -84,7 +84,8 @@ fi | |||
#platforms="linux/amd64/linux/x64" | |||
#platforms="darwin/amd64/macosx/x64" | |||
if [ "${full_build}" == "true" ]; then | |||
echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..." | |||
# following line causes an error in MacOS | |||
# echo "Building "$'\e[1m'"${filename^^}:${build_version}"$'\e[0m'" for all platforms..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #10 for 3.0.0
</ul> | ||
<hr> | ||
<ul> | ||
<li><h3 id="adding-environments">Adding Environments</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #13 for 3.0.0
|
||
Created packages will be available at `build/target` directory | ||
|
||
- ### Running | ||
Extract the compressed archive generated to a desired location. | ||
|
||
Then execute `import-export-cli/apimcli` to start the application. | ||
Then execute `./apimcli` to start the application. (Being inside `product-apim-tooling/import-export-cli`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #12 for 3.0.0
Purpose
Related PRs
#1 #2 #3
Test environment