How to build wars in <apim-home>/repository/deployment/server/webapps - wso2-api-manager

I have deployed WSO2 API manager4.0.0 All-in-one on the vm.
I found some wars but i don't know where were they from,
Some of the wars could build from carbon-apimgt repo, like api#am#admin, api#am#devportal, api#am#publisher, which could get from carbon-apimgt/components directory by running command "mvn clean install". But I don't know where the other wars build from , like 'api#identity#recovery#v0.9.war'. Any help is appreciated.

You can find api#identity#recovery#v0.9.war in [1].
[1] - https://github.com/wso2-extensions/identity-governance/tree/master/components/org.wso2.carbon.identity.recovery.endpoint

Related

Stryker.NET support for SLN files from the root of the project

Getting different mutation scores each time I run Stryker from the root of the project which has multiple test projects.
Does stryker support running '.sln' files from the root of the project?
Command used from the root of the project:
dotnet stryker --solution-path "Project.sln"
Env: Linux, Windows, .NET core
Any insight is appreciated. Thank you.
Solution mode isn't working properly yet thus it's not really documented. You can use this script for now - a little raw but works.
I have faced the same issue previously and conceded defeat. The path of least resistance for me in terms of unit test code coverage and also stryker mutation testing is to have all unit tests in a single project and execute stryker from the folder where the test.csproj is location. My build pipeline script (running in GitLab on Linux) looks something like this:
- dotnet build
- cp ./resources/stryker/stryker-config.json ./*.Tests
- cd ./*.Tests
- dotnet stryker
It first builds the whole solution, then copies a known config file into the test project folder, then change directory into that folder and execute stryker.

npm install Azure Devops

Please help me set up npm install tall for the project. My project is on the gitlab, I set up the pipeline and release it. I do not understand which folder path I need to specify npm install, since only files from artifacts give me a choice. Perhaps I configured the pipeline incorrectly?
folder1
folder2
To solve this problem, you just need to write a script (npm install)enter image description here in your pipeline for releases

JFrog Pipelines - Artifactory not found error in build step

I am trying to setup JFrog Pipelines. I am new to this so starting small with a pipleline that just has a single npm build step. The source code is taken from github. When I run the pipeline, I get a 404 not found error in the artifactory_configure task. I double checked the Artifactory Integration but the error persists. Any ideas on how to solve it.
Please make sure that you include the Artifactory context as part of the URL when creating the Artifactory integration. For example:
https://xxx.jfrog.io/artifactory

Meteor build not working

"meteor build" not working for me
http://screencast.com/t/iOjtsnA2l
I am on ubuntu 14 - Amazon Web Services (AWS)
And
I used these steps
https://rocket.chat/docs/developer-guides/pre-requisites/
Thanks for your help.
I believe I have found the issue, you need to specify an output directory. e.g. meteor build ../release would put the created tarball in the specified directory.

Karaf cannot install war feature

Recently I need to deploy something on Karaf. I use Karaf 3.0.2 and event try 4.0.0M1. Both are not able to install war feature. Once I type feature:install war in console after Karaf start-up.
3.0.2 gives me:
Error executing command: Error resolving artifact org.apache.servicemix.specs:org.apache.servicemix.specs.activation-api-1.1:jar:2.2.0: Could not find artifact org.apache.servicemix.specs:org.apache.servicemix.specs.activation-api-1.1:jar:2.2.0
4.0.0M! gives me:
Erroe executing command: Error
I try to delete Maven and reinstall it. The issue is still there. It's not happened on other machine.
It's a strange issue. Could anyone meet it ever? Could anyone help me out?
As it works on the other machines, it's something on that certain machine.
Without much more details on the setup I'm using assumptions here.
1) No Network connection to the central repo
2) Using a Proxy wich isn't configured or configured wrong on the server
3) Using a nexus with credentials and those aren't configured or configured wrong
I encountered the same issue and it was because there were mirrors defined in my Maven settings.xml (due to usage in another project). After I commented them out I was able to install the karaf war deployer.

Resources