Questions tagged [integration]
12067 questions
0
votes
0
answer
4
Views
Whilst integrating an array of data, an axis error occured. What is the cause and solution of this error?
I have an array of data labelled y_1, for which I want to compute a definite integral of its square value, however an axis error occurs. I'm using scipy.trapz to integrate the array.
I tried to define the axis as zero, however an axis error stating that the 'axis 0 is out of bounds for array of dim...
0
votes
0
answer
3
Views
What is the best practice for using Firefox's geckodriver in a Selenium Automation Framework?
I've started trying out Selenium with Firefox and I've gotten it to work by downloading the gecko driver and referencing the file path in my code (I'm using C#):
FirefoxDriverService service =
FirefoxDriverService.CreateDefaultService(@'C:\mypath\');
IWebDriver driver = new FirefoxDriver(service);...
1
votes
4
answer
112
Views
Set Kettle DB Connection password from Environment Variable
How do I set a database connection's password to use an environment variable. I cannot add these to the kettle.properties file (security policy). When I click control-space on OSX, nothing happens. If I try and paste the string ${PASSWORD} directly into the password field, it does not allow it, due...
0
votes
0
answer
4
Views
Workaround For AWS CodePipeline Source Action Not Allowing Git Submodules
We have 27 independent micro-service repositories in Github with always the potential to add more.
I am working on a re-write of the current deployment process which uses Jenkins to use AWS CodePipeline with a Pull Request driven approach.
I was 'hoping' that I could add the CI repo as a git submodu...
0
votes
1
answer
16
Views
How do I continue to perform aggregation on a single thread that has polling?
I create a flow, which polls rows from database by status, validate them and after that aggregate to collection. After processing the entire flow, each line is set to the appropriate status. But when I use aggregator with release strategy TimeoutCountSequenceSizeReleaseStrategy, and elapsed time is...
0
votes
0
answer
4
Views
Azure DevOps + LibMan + UNPKG Intermittent Error LIB010: Failed to download resource from unpkg.com
I've setup Continuous Integration on Azure DevOps but I keep getting an intermittent issue whereby libman fails to download a resource here's a few examples:
##[error]libman.json(0,0): Error LIB010: Failed to download resource from 'http://unpkg.com/[email protected]/dist/css/icons/dxiconsmaterial.w...
1
votes
1
answer
383
Views
MVC 5 Unit tests vs integration tests
I'm currently working a MVC 5 project using Entity Framework 5 (I may switch to 6 soon). I use database first and MySQL with an existing database (with about 40 tables). This project started as a “proof of concept” and now my company decided to go with the software I'm developing. I am strugglin...
0
votes
0
answer
6
Views
Dynamically set max-messages-per-poll property of pollerMetaData
I need to change the max-messages-per-poll depending on a counter value. This should enable me to fetch a subset of records that are stored in MongoDbMessageStore
I tried adding AroundAdvice on the PollerMetaData. Used DirectFieldAccessor to set the maxMessagesPerPoll value. However, with each poll,...
1
votes
2
answer
1.2k
Views
CircleCI - different value to environment variable according to the branch
I'm trying to set different values for environment variables on CircleCI according to the current $CIRCLE_BRANCH.
I tried setting two different values on CircleCI settings and exporting them accordingly on the deployment phase, but that doesn't work:
deployment:
release:
branch: master
commands:
......
1
votes
1
answer
134
Views
spring-integration SimpleWebServiceInboundGateway
I am working with the SimpleWebServiceInboundGateway, currently I have the gateway putting the requests onto a channel then a flow consuming from the channel. Everything seems to work great.
My question is, if you have multiple distinct soap endpoint services that each operate slightly differently...
1
votes
2
answer
46
Views
spring intergration large connections handling
We have implemented tcp server with spring integration.
Configuration did as
@Bean
TcpNetServerConnectionFactory cf(){
TcpNetServerConnectionFactory connectionFactory=new TcpNetServerConnectionFactory(TCP_PORT);
connectionFactory.setSerializer(new CustomSerializerDeserializer());
connectionFactory...
1
votes
1
answer
29
Views
Spring Integration - How can I have a workflow split off to two channels?
Good morning all, I'm looking for a way to have our workflow split off to two different channels.
-> C1
A -> B ->
-> C2
I am rather new to Spring as a whole and have just been working my way through things and have not been able to Google a solution.
The workflow that I have uses an int-file to read...
1
votes
1
answer
75
Views
Numerical Integration Using Fortran 90
I'm trying to use Simpson's rule to evaluate the integral of sqrt(1-x^2) in the interval from -1 to 1. However, the sum represented by the variable 's', in the code that I developed, doesn't converge at all to pi over 2. I'm an absolute novice to fortran and programming in general, so please bear wi...
1
votes
2
answer
1.3k
Views
How do I run selected modules using parent pom in Maven like I have
APP_1
web_1
service_1
schema_1
APP_2
web_2
service_2
1
votes
1
answer
478
Views
Bitbucket pipelines webpack build and ftp deploy NO JS OUTPUT on the server
I have my pipelines build settings:
branches:
production:
- step:
name: Build and test JS.
image: node:8.9.3
script:
- npm install
- npm test
- npm run-script build
- step:
name: Build and test PHP.
image: php:7-fpm
script:
- echo 'Here will be the Composer build and PHPUnit tests.'
- step:
name:...
1
votes
1
answer
360
Views
Setting multiple inbound-channel-adapter at runtime
Using spring-integration-sftp, what is the recommended way to create an arbitrary number of inbound-channel-adapter objects? My application needs to monitor multiple remote directories (1 to n), which will not be known until runtime.
1
votes
0
answer
273
Views
Unity Cloud Build link with Continuous Integration systems
After a successful build in Unity Cloud Build I would like to send the generated .zip file url to a Continuous Integration system like Travis CI in order to to deploy that file into another server. To do this right now I need to call a custom webhook in my own server that checks (via API) the last b...
1
votes
1
answer
297
Views
Integration testing with spark server
I'm trying to IT my spark server. My intentions are to test all the controller functions.
I have thought about few options:
1. Set up a server that will start when running the tests, and terminate when the tests are over.
The problem with this solution is that I have to rewrite my whole server logi...
1
votes
0
answer
92
Views
Can be integrated jquery textcomplete with tinymce?
I use jquery-textcomplete in my site. It work well with default textarea's but not work with tinymce. Can be integrated jquery-textcomplete with tinymce?
In the official website jquery-textcomplete post or example integration with wysiwyg editor not said.
Thanks for answering!
$('#textcomplete').te...
1
votes
0
answer
233
Views
Azure Node.js Web App (Linux) build & deploy issue
I created an Azure web app which will be where my node.js service will be hosted.
Im trying to setup a Node.js app that runs under Linux (not Windows).
Long story short.... the Continuous Delivery (CI) is failing due to errors:'
Failed to deploy web package to App Service.
Error: Error: Could not fi...
1
votes
1
answer
615
Views
Spring AWS Context Credentials - Not Working
I am having a similar issue to one mentioned here. I am using spring xml configurations. I have my global AWS context credentials specified. I am using S3 outbound channel adapter to download a file from S3. I have my keys specified in my config.properties file. I still get don't see the credentials...
1
votes
0
answer
67
Views
Office 365 Integration / authentication - Server to Server calls
Microsoft graph provides several nice examples of calling Office365 Group/Teams to fetch filenames, file metadata or any other data.
For example:
https://github.com/microsoftgraph/aspnet-snippets-sample
All authentication examples I see is only where webbapplications redirects user to office 365 lo...
1
votes
0
answer
39
Views
Java OpenSMPP - TCP ZeroWindow
We are sending high throughput SUBMIT_SM using OpenSMPP. But TCP ZeroWindow is received most of the times. Deliver_SM and SUBMIT_SM_RESP is getting missed. Please suggest how to resolve this.
Kindly add your suggestions specific to Java OpenSMPP API.
1
votes
1
answer
34
Views
Is there any way to access individual values of a map of <key, value> pairs in karate if we do not know the value of key?
Assume that i have the following structure
Content : {
'Key1' : {
JSON_OBJECT1
}
'Key2' : {
[email protected]
}
}
I need a way to evaluate the schema for all the JSON objects in the content structure and i do not know the value of key at runtime here, is there any way in karate to achieve the same?
1
votes
0
answer
97
Views
solution of mqttlens auto zoom in windows 8.1
I have installed mqttlens from google chorme apps.
It worked quite well for a couple of week, but recently it appears in zoom when I start it.
How can I fix it?
.
1
votes
0
answer
351
Views
Mocking fetch POST
I am writing test case for below function:
handleShare(response, payload) {
ShareUtils.listUsers()
.then((users) => {
users.forEach(user => userList.push({
name: user.name,
id: user.id)
});
return SessionUtils.getSessionData(SESSION_ID));
})
.then((sessionData) => {
//construct share objec...
1
votes
2
answer
542
Views
Bad encoding in GitLab CI output
I am just learning something about GitLab CI. I have GitLab Runner running on my local machine successfully connected to my GitLab project. The commands I have written work well but if there is some output in the console with non asci characters, the output in Gitlab shows � characters.
Win10 Pro...
1
votes
0
answer
282
Views
How to set session attributes using RestAssured for Integration Tests
I have a AbstractClass and this class has following code:
protected long getStudentIdFromSession() {
Object obj = this.httpSession.getAttribute('studentId');
Long formId = (obj instanceof Long ? (Long) obj : null);
LOGGER.info('getStudentIdFromSession studentId {}', studentId);
return formId;
}
I am...
1
votes
1
answer
211
Views
spring boot distributed processing with kafka
I have several apps developed using spring boot. Some apps call another apps, that in time call other apps, it is getting hard to manage and scale. I need to be able to distribute them in a network and also combine the apps in different 'flows' with minimun changes to the apps.
Ideally I would like...
1
votes
1
answer
47
Views
Spring Integration HTTP messageDispatcher for JSON Payload
I am trying to instruct DispatcherServlet to delegate to MessageDispatcher using WebServiceMessageReceiverHandlerAdapter instead of delegating to Controllers.
But the request payload is of JSON . Do we have default messageDispatcher for JSON similar to org.springframework.ws.soap.server.SoapMessageD...
1
votes
0
answer
162
Views
Crystal Reports integration with Hadoop/Hive/HPLSQL
We are migrating data from Oracle to Hadoop and there is a requirement
to continue use the existing reporting tool(Crystal Report) to generate reports from Hadoop (instead of Oracle)
In the current scenario we are using an Oracle Stored PROC to do few aggregations /logic.
Now with the above requir...
1
votes
2
answer
648
Views
How to execute Node .JS APIs test cases using Jenkinsfile
I am new to Jenkins. I have a small Node .JS server and the test cases are written using Mocha(Integration test cases, not unit test cases). I am trying to create a CI Pipeline for this using Jenkins. My Jenkinsfile looks as follows:
#!/usr/bin/env groovy
pipeline {
agent {
docker {
image 'node'
arg...
1
votes
1
answer
344
Views
Named Credential
I want to access the URL of the named credential and want to dynamically add some query parameters to it. Is it possible? Like in case of custom settings I access the value by get values directly. Does the named credential global variable credential provides me any such opportunity?
1
votes
0
answer
31
Views
Building a continuous integration tool
Let's say I'm building a continuous integration tool where the user connects with their GitHub/GitLab account and choose a repository where the tool should be executed at every commit.
The tool consists of some find/replace script so the user code will not be executed.
For each repository enabled I...
1
votes
1
answer
144
Views
How to prevent SpringBootTest stop server before async methods finished?
I have code like this
@RequestMapping(value = '/create', method = RequestMethod.POST)
public Result createModel(DataModel model) {
CompletableFuture.runAsync(() -> doSomeThing(model));
return new Result('your request has been recieved successfully');
}
and i try to write integration test like...
1
votes
0
answer
122
Views
Do we really need a headless browser in running with bitbucket pipelines?
Do we need a headless browser for CI/CD using with bitbucket pipelines?
Although I have used with both the options, with and without headless, and the test ran in both the scenarios.
If its not true then why are we adviced to use a headless browser with CI/CD?
Information: When using without headles...
1
votes
1
answer
284
Views
Does Spring integration provide any monitoring/time performance utility for its components?
We use Spring integration in our project. I wanted to monitor how much time each integration component run is taking. I adopted AOP for this purpose, but with AOP I cannot uniquely identify the components running in parallel.
For ex: I've 4 objects in a queue, and 3 jms consumers running in parallel...
1
votes
0
answer
130
Views
RFC 8058 (email unsubscribe) custom implementation not working on gmail
Gmail suggest email lists to implement RFC 8058: https://support.google.com/mail/answer/81126?hl=en
I'm just testing my implementation and Gmail didn't work for it - it didn't offer Unsubscribe button. Gmail is supposed to support https unsubscribe links.
These are the headers of the actual email f...
1
votes
0
answer
74
Views
Can we log per spring Integration flow?
Spring integration really helps us a lot during application integration, it make us more focus on flow design.
However we have an requirement to have logs per integration flow, any suggestions how to achieve this? Currently we use for logging.
in our case, each integration flow is one spring-contex...
1
votes
1
answer
271
Views
Continuous Integration and Signed Binary Builds (Windows) - Best Practices
The application we have is a C++ Windows application. The project is in Visual Studio 2015.
I'm in the process of helping to move our build process to the cloud. We already have a system in place for our server-side components, built on Jenkins. I am trying to directly use the process in place as mu...