My Platform: Linux, Repos/Artifacts: Non-Maven. Scripting: only Python,Curl.
Question::
For my company, I need specific information like,
Does Nexus 3.0 & above support rest calls (OSS & PRO)? if Yes, then how?
I need to access md5,sha1 of artifacts.using any way, but Rest is better.How can I perform this?
Does /nexus/service/local/,/nexus/internal/,/nexus/service/siesta/ endpoints have stopped working?
because
https://github.com/sonatype/nexus-presentations/blob/master/labs/rest-api-scripting/rest-api-examples.sh
None of this is working for me.
Related
I know crm utility command has been people's preferred method to manage clusters when it comes to High Availability with corosync & pacemaker. Now, its been deprecated and we are told to work with pcs utility commands which suppose to do all sort of things that we used to do with crm.
Now what I am troubling with is to find the pcs equivalent command to;
crm node attribute <node_name> set <resource_name> <some_parameters>
I am at CentOS 7.2 version & working with Percona master-slave cluster.
This actually can be done with pcs version 0.9.158.
The reason I had trouble of finding the pcs equivalent to crm was I was using older version which is pcs-0.9.143
I'm trying to use socketio on multiple servers, during a whole week I tried different solution, on different platform and all of them are not working.
for my project I'm using nginx load balancing with iphash to keep the clients on the same server, and to broadcast to all sockets I'm using redis socketio adapter.
I tried also these projets in order to see if its working and understand how its working, but this supposed ready to use project are not working too.
https://github.com/h4t0n/socket.io-redis-appsample
and this one
https://github.com/evilstudios/chat-example-cluster
I tried with redis on windows and on linux but no difference.
I read on different questions that we need to use "transports: ['websocket']", some persons said it need to be done on the clients some other on the clients and servers, I tried both solution and its not working.
I'm not getting an error or warnings, the events are simply not sent to the sockets on the other servers.
look it was coming from incompatibility between version or something like that.
I updated socket.io and its working
I started the development of my app around 6 months ago at that time the last version was 1.4.8 so I'm using this version now I updated it to 1.7.2 and its working.
concerning socket.io-redis I installed it just this week so I was using the last version 2.0.1
look like between 1.4.8 and 1.7.2 something important changed.
We have bosun running on Centos 6.4 and many nodes on that OS also. We added some Centos 7.1 nodes and while we get basic metrics like os.cpu, no network-related metrics appear.
I recompiled the latest scollector on 7.1 and pushed that out, but it didn't help. Do I need to recompile the bosun on 6.4 also, or is all backwards compatible?
Thanks
Ken
Right now the interfaces it will collect from is restricted to a regular expression:
https://github.com/bosun-monitor/bosun/blob/master/cmd/scollector/collectors/ifstat_linux.go
var ifstatRE = regexp.MustCompile(`\s+(eth\d+|em\d+_\d+/\d+|em\d+_\d+|em\d+|` +
`bond\d+|team\d+|` + `p\d+p\d+_\d+/\d+|p\d+p\d+_\d+|p\d+p\d+):(.*)`)
The problem is due to aggregation we need to be clear if an interface is a physical interface, a tunnel, a team/bond etc. So we don't want to accidently get virtual interfaces in os.net.bytes as it messes up aggregation.
There are a couple PRs, but they need to address the categorization issue and not have yet. So the immediate workarounds are you can edit the code to have what you need, work on a pr to make that configurable with category, or rename your interfaces.
I am working on Apache Cordova Win 10 Windows-x86 Store app for the data exchanging with the microcomputers collecting measurements, connected entirely to a local network.
I tested this app with capability "PrivateNetworkClientServer" and
deployed it in a form of "*.appx" package. It is working.
But "PrivateNetworkClientServer" capability is forbidden for Windows Store
with the setting in "package.windows10.appxmanifest" as this:
"uap:Rule Match="ms-appx-web:///" Type="include" WindowsRuntimeAccess="all" "
I have tried to change this setting or remove it (by default WindowsRuntimeAccess="none"),
but after running "build" this part of manifest was returned to its initial state.
How to configure my app with capability "PrivateNetworkClientServer" and keep
possibility to pass "WACK" test.
I appreciate any suggestions.
Thank you.
To have access from my Win Store App to web API in the local network I am using the "Fiddler4" exemption for now, but still hope to find more simple solution. The same Cordova app, but built with Visual Studio for Android, works in the same local network without any quirks.
I've been developing tiny BlackBerry applications since OS 5.0 using the BlackBerry JDE software provided by RIM. I did not have issues using the simulator till the Java applet crashed when requesting code signatures. I had to download JDE 7.1 (the latest) in order to get my app's signed.
Now however, the 9900 (OS 7.0) simulator in BlackBerry 7.1 is running together with the MDS. I can visit websites using the simulated browser or use a simulated Twitter application. However all my applications now suddenly don't make any HTTP connection with my servers (no activity in running MDS).
As far as I know the HTTPConnection library is not an deprecated API. What could the cause of this problem be? Anybody had a similar issue after updating their JDE software from BlackBerry?
Thank you for your time
The problem might be exactly there: HttpConnection needs different parameters appended to the URL depending on the transport type, while the newer ConnectionFactory doesn't. MDS simulator is like connecting via BES, so you'll need to append append the correct suffix:
http://supportforums.blackberry.com/t5/Java-Development/Different-ways-to-make-an-HTTP-or-socket-connection/ta-p/445879
Starting with OS 5.0, you can use ConnectionFactory and get rid of this kind of stuff.